-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure Monitor OpenTelemetry Exporter using deprecated semantic conventions #34246
Comments
Hi @dasiths, thank you for opening an issue! I'll get this routed to the appropriate folks; we'll take a look as soon as possible. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jeremydvoss @lzchen. |
This is an issue for upstream OpenTelemetry. We are in the process of adding new semantic conventions to various http instrumentations. See the tracking issue here. Once these are done, the exporters will be changed to allow for those new signals. |
Thanks for the update. Is there a recommended workaround or migration guidance until this is completed? i.e. Do we use EDIT: I've just seen this and assume we keep using existing http semantic conventions. https://github.com/open-telemetry/semantic-conventions/tree/main/docs/http#semantic-conventions-for-http |
@dasiths |
Tracking issue: #35933 |
Tracking issue in OT upstream for implementing migration plan for instrumentations: open-telemetry/opentelemetry-python-contrib#2453 |
Describe the bug
The azure monitor opentelemetry exporter uses deprecated semantic conventions.
azure-sdk-for-python/sdk/monitor/azure-monitor-opentelemetry-exporter/azure/monitor/opentelemetry/exporter/export/trace/_exporter.py
Line 351 in 54e0fa6
Example:
Uses the
SpanAttributes.HTTP_METHOD
which is deprecated as per https://github.com/open-telemetry/opentelemetry-python/blob/d03a62245357eb40cac81d5e671fc2df83aef767/opentelemetry-semantic-conventions/src/opentelemetry/semconv/trace/__init__.py#L49When using a span with
SpanKind.Client
you have to rely on the deprecated semantic conventions for Azure Monitor to pick it up.The text was updated successfully, but these errors were encountered: