Align Server Observation with OTel semantic convention #34829
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: waiting-for-internal-feedback
An issue that needs input from a member or another Spring Team
status: waiting-for-triage
An issue we've not yet triaged or decided on
theme: observability
An issue related to observability and tracing
Hello,
There seems to be a divergence between https://opentelemetry.io/docs/specs/semconv/http/http-spans/#http-server-semantic-conventions and what Spring offers by default in ServerHttpObservationDocumentation.
For example :
method
should behttp.request.method
status
should behttp.response.status_code
and should be an int and not a Stringuri
should behttp.route
I haven't listed all the differences, but these are the main ones I happened to notice.
I'd be happy to contribute if necessary.
The text was updated successfully, but these errors were encountered: