You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any idea on how to disable this logs being sent to AI?
Current status:
User wanted more control over which logs are sent to the traces table. @WaterKnight1998
These additional logs are appearing in the "traces" table in your Application Insights resource correct? We have recently implemented a #32192 to define the specific logger that you want to collect traces telemetry. This should allow you to define the logger to your application logger instead of the default which is the root logger. This is why you are seeing logs collected from the SDK itself. This feature should be available soon in the next release.
The text was updated successfully, but these errors were encountered:
Migrated from microsoft/ApplicationInsights-Python#317
I have the following function code:
With this code I removed the duplicated logs and I can see custom dimensions. However I am seeing 3 taces each 5s creating too much logs:
I tried the following env vars:
However, I am still seeing this. I have seen that your sdk calls this endpoint.
azure-sdk-for-python/sdk/monitor/azure-monitor-opentelemetry-exporter/azure/monitor/opentelemetry/exporter/_generated/operations/_azure_monitor_client_operations.py
Line 39 in 11437bb
But i don't know which library you use for http requests, probably this one:
azure-sdk-for-python/sdk/core/azure-core/azure/core/utils/_pipeline_transport_rest_shared.py
Line 27 in 11437bb
Any idea on how to disable this logs being sent to AI?
Current status:
User wanted more control over which logs are sent to the traces table.
@WaterKnight1998
These additional logs are appearing in the "traces" table in your Application Insights resource correct? We have recently implemented a #32192 to define the specific logger that you want to collect traces telemetry. This should allow you to define the logger to your application logger instead of the default which is the root logger. This is why you are seeing logs collected from the SDK itself. This feature should be available soon in the next release.
The text was updated successfully, but these errors were encountered: