7

Folks, Can you tell me how to enable application insights in a linux docker application on Azure? Would I have to modify the service plan?

enter image description here

Henrique Mauri
  • 718
  • 6
  • 20
  • 2
    Just use the [SDK for the language of your choice](https://github.com/Microsoft/ApplicationInsights-Home#officially-supported-sdks) and read the instrumentation key from App Settings (exposed as env var to your container). The latter is a manual step as well, you have to add in the key. – evilSnobu Aug 01 '18 at 12:58
  • 2
    @evilSnobu I did this, but even configuring everything correctly application insights does not work !! I tested it with other languages too. – Henrique Mauri Aug 01 '18 at 13:23
  • What does `Does not work` mean? You're not seeing telemetry coming in? – evilSnobu Aug 01 '18 at 15:04
  • Possible duplicate of [Azure 'Web App on Linux' app service Application logging](https://stackoverflow.com/questions/43440681/azure-web-app-on-linux-app-service-application-logging) – Jayendran Aug 01 '18 at 15:48
  • 1
    @evilSnobu Telemetry is not coming! If I create a non-docker application and set up telemetry, it works normally! – Henrique Mauri Aug 01 '18 at 19:14
  • You absolutely sure you're picking up the right telemetry key in that container? – evilSnobu Aug 01 '18 at 19:35

0 Answers0