mountainss Cloud and Datacenter Management Blog

Microsoft SystemCenter blogsite about virtualization on-premises and Cloud

#Microsoft #Azure Application Analytics for #Docker #Container Apps #DevOps #Cloud #MSOMS

Leave a comment



Microsoft Azure Application Analytics for Docker Container Apps

Docker Pull Microsoft/applicationinsights

How to use this Image

  1. Obtain the instrumentation key of your Application Insights resource. (Look in the Essentials drop-down.) If you don’t 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 <TelemetryInitializers> element:<Add type=”com.microsoft.applicationinsights.extensibility.initializer.docker.DockerContextInitializer”/>

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.

Here you find more information on Docker HUB

Docker images

In Microsoft Azure you Create a New Application Insights environment :

Here you find  more information about to Create an Application Insights resource

I have added my Docker for Windows Containers to Azure Application Insights :

Monitor Docker applications in Application Insights

Here you See my two Running Docker for Windows Containers

Docker Container Start information in Azure AppInsights

You can change the Timelines for a better View

You can open Analytics and make your own queries on your Container App

Enjoy #Analytics  😉

Advertisements

Author: James van den Berg

I'm Microsoft Architect and ICT Specialist and Microsoft MVP System Center Cloud and Datacenter Management

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s