microsoft / ApplicationInsights-Profiler-AspNetCore

Application Insights Profiler sample and documentation
MIT License
66 stars 24 forks source link

Please Update Examples To Use APPLICATIONINSIGHTS_CONNECTION_STRING Instead of APPINSIGHTS_INSTRUMENTATIONKEY #210

Closed bbrandt closed 7 months ago

bbrandt commented 8 months ago

Describe the bug There seems to be a push towards migrating from Application Insights instrumentation keys to connection strings. Please update the examples here to use APPLICATIONINSIGHTS_CONNECTION_STRING instead of APPINSIGHTS_INSTRUMENTATIONKEY.

To Reproduce Steps to reproduce the behavior:

  1. Use APPLICATIONINSIGHTS_CONNECTION_STRING instead of APPINSIGHTS_INSTRUMENTATIONKEY

Expected behavior APPLICATIONINSIGHTS_CONNECTION_STRING is referenced in these examples.

Screenshots n/a

Desktop (please complete the following information):

Additional context n/a