Continues integration for Application Insights for Docker image
Перейти к файлу
microsoft-github-policy-service[bot] b525f6f710
Auto merge mandatory file pr
This pr is auto merged as it contains a mandatory file and is opened for more than 10 days.
2023-06-13 17:53:38 +00:00
0.9.0 Updating README file with new Docker article 2015-12-03 09:56:13 +02:00
0.9.1 Updating README 2016-02-08 21:44:42 +02:00
0.9.2 add v0.9.2 tag 2016-05-22 13:57:55 +03:00
README.md Update README.md 2019-08-12 12:22:48 -07:00
SECURITY.md Microsoft mandatory file 2023-06-02 21:25:59 +00:00

README.md

This repo is not currently maintained or supported by Microsoft. Check out our official documentation for the latest investments in container monitoring.

Overview

Visual Studio Application Insights for Docker helps you monitor your containerized applications by collecting telemetry about the performance and activity of your Docker host, Docker containers and the applications running within them. The Application Insights container talks to the Docker agent and sends telemetry data back to Application Insights, providing you with diagnostics and data analysis tools.

What data will I get for my containerized apps?

For applications that are not instrumented with an Application Insights SDK:

  • Performance counters with Docker context (Docker host, image and container). In the Application Insights portal, youll be able to filter and group the counters by context.
  • Container events such as start, stop, kill.
  • Container error information.

For applications that are instrumented with the Application Insights SDK for Java:

  • All the data mentioned above.
  • The Docker context (Docker host, image and container) is added to all telemetry data types collected by the Application Insights SDK (exceptions, http requests, events). This allows you to filter and segment your data by context.

Supported tags

How to use this Image

  1. Obtain the instrumentation key of your Application Insights resource. (Look in the Essentials drop-down.) If you dont have a resource, create a new one.
  2. Run the following command, replacing %app_ikey% with your instrumentation key: docker run -v /var/run/docker.sock:/docker.sock -d microsoft/applicationinsights ikey=%app_ikey%
  3. If your application is instrumented with the Application Insights SDK for Java, add the following line into the ApplicationInsights.xml file in your project, under the element:

Note: Only a single container is required per Docker host. If your application is deployed on multiple Docker hosts, then create an instance of this image on every host.

How to see Docker data

To get full Docker experience in Application Insights portal, please read Monitor Docker applications in Application Insights