[azure-core-tracing-opentelemetry] Adopt OpenTelemetry HTTP semconv 1.23.0 #32803
Labels
Client
This issue points to a problem in the data-plane of the library.
OpenTelemetry
OpenTelemetry instrumentation (not Monitor-specific)
Update HTTP attributes to comply with HTTP semconv vTBD (likely 1.23.0 will declare them as stable):
http.method
->http.request.method
http.status_code
->http.response.status_code
net.peer.name
->server.address
net.peer.port
->server.port
http.url
->url.full
http.user_agent
-> removeerror.type
- some error-code or a full exception name if exception happens. Also includes status code (as string) for responses we consider to be an error. Maybe we can steal something from .NET - https://github.com/dotnet/runtime/blob/main/src/libraries/System.Net.Http/src/System/Net/Http/Metrics/MetricsHandler.cs#L157http.request.resend_count
- try countThe text was updated successfully, but these errors were encountered: