Git Product home page Git Product logo

applicationinsights-docker-dockerfile's Introduction

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, you’ll 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 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 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

applicationinsights-docker-dockerfile's People

Contributors

galhag avatar mattmccleary avatar microsoft-github-policy-service[bot] avatar yonisha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

applicationinsights-docker-dockerfile's Issues

No changes/updates for 2 years - is this deprecated ?

Hi
i'm searching for a solution to monitor my docker host (dotnet core containers inside) and i find this
but no changes in the last two years and some comments that the container may not be working...
any plan for updates ?

regards
Werner

Fix markdown syntax

Application Insights for Docker
===============================

this is not standard markdown as far as I know, docker hub cannot render it either (GFM vs CommonMark). Use

# h1
## h2
### h3

format. There are also a few minor issues mostly around code blocks on rendered version of README on Docker Hub.

Can't pull latest docker image microsoft/applicationinsights

Error out when trying to pull latest Microsoft/applicationinsights image. Output below, following that are Environment details

PS C:> docker pull microsoft/applicationinsights
Using default tag: latest
latest: Pulling from microsoft/applicationinsights
03e1855d4f31: Extracting [==================================================>] 51.36 MB/51.36 MB
a3ed95caeb02: Download complete
9269ba3950bb: Download complete
6ecee6444751: Download complete
5b865d39f77d: Download complete
e7e5c0273866: Download complete
6a4effbc4451: Download complete
0ca84c702ddf: Download complete
f65c3d129381: Download complete
ef589ca5832a: Download complete
09284c30e414: Download complete
failed to register layer: re-exec error: exit status 1: output: Failed to OpenForBackup failed in Win32: open \?\C:\ProgramData\docker\windowsfilter\6cab3f48aabaee5d088becd2c75ebe4f6cd0f599b0ef95deb80334f7cebe6314\usr\share\man\man3\Loc
ale::gettext.3pm.gz: The filename, directory name, or volume label syntax is incorrect. (0x1f) \?\C:\ProgramData\docker\windowsfilter\6cab3f48aabaee5d088becd2c75ebe4f6cd0f599b0ef95deb80334f7cebe6314\usr\share\man\man3\Locale::gettext.3p
m.gz

******************* Environment Details **********************

Windows Server 2016 with Containers (OS Build 14393.1358)

PS C:> docker version
Client:
Version: 17.03.1-ee-3
API version: 1.27
Go version: go1.7.5
Git commit: 3fcee33
Built: Thu Mar 30 19:31:22 2017
OS/Arch: windows/amd64

Server:
Version: 17.03.1-ee-3
API version: 1.27 (minimum version 1.24)
Go version: go1.7.5
Git commit: 3fcee33
Built: Thu Mar 30 19:31:22 2017
OS/Arch: windows/amd64
Experimental: false

Open this repo?

Any reasons why this is still private? Ideally people should be able to take a look at each version's dockerfile by visiting this repo.

Please open source this. cc: @Yonisha

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.