Update span name recommendation for HTTP Server (#287)

Signed-off-by: Goutham <gouthamve@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Johannes Tax <johannes.tax@grafana.com>
Co-authored-by: Josh Suereth <joshuasuereth@google.com>
This commit is contained in:
Goutham Veeramachaneni 2023-09-25 16:49:20 +02:00 committed by GitHub
parent c7b094d364
commit 1d3d63b3d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -368,10 +368,6 @@ This span type represents an inbound HTTP request.
For an HTTP server span, `SpanKind` MUST be `Server`.
Given an inbound request for a route (e.g. `"/users/:userID?"`) the `name` attribute of the span SHOULD be set to this route.
If the route cannot be determined, the `name` attribute MUST be set as defined in the general semantic conventions for HTTP.
<!-- semconv trace.http.server(full) -->
| Attribute | Type | Description | Examples | Requirement Level |
|---|---|---|---|---|