Open hcoona opened 1 week ago
It's possible we need to also involve the exporter SDK owner to triage the issue.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @hectorhdzg @jeremydvoss @lzchen.
@hcoona
How are you calling the apis? Are you passing in your custom resource
into configure_azure_monitor()
as shown in the configuration settings?
Yes, and I challenge it because not only my customized resource but also OpenTelemetry SDK default resources were not properly transferred.
@hcoona
Could you paste a code snippet of how you are using the api?
Hi @hcoona. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.
azure-monitor-opentelemetry
Describe the bug
After instrumented my Flask app with
azure-monitor-opentelemetry
, I can find some logs and traces as expected. However, none of them carries my customized resource. Even more, I cannot find any of the default resources from OpenTelemetry Python SDK.C# SDK can emit it correctly.
To Reproduce
Steps to reproduce the behavior:
azure-monitor-opentelemetry
.| where * contains 'opentelemetry'
(it's in default resource).Expected behavior
Each of the logs, traces, requests, etc. should attach the resources.