-
Notifications
You must be signed in to change notification settings - Fork 467
Description
Version
4.1
Description
The Azure Monitor team recommends transitioning to APPLICATIONINSIGHTS_CONNECTION_STRING to leverage new features. The ingestion method using APPINSIGHTS_INSTRUMENTATIONKEY reached end of life earlier this year, and the OpenTelemetry-based Azure Monitor exporter no longer supports IKey-based ingestion.
However, when running the following command:
func azure functionapp logstream <appName> --browser
insists on using APPINSIGHTS_INSTRUMENTATIONKEY, even though this is now optional and the majority of customers have migrated to using connection strings.
Expected Behavior:
Log streaming should work seamlessly with just the APPLICATIONINSIGHTS_CONNECTION_STRING, without requiring the deprecated Instrumentation Key.
logstream not working with APPLICATIONINSIGHTS_CONNECTION_STRING
Steps to reproduce
func azure functionapp logstream --browser