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:
parent
c7b094d364
commit
1d3d63b3d6
|
|
@ -368,10 +368,6 @@ This span type represents an inbound HTTP request.
|
||||||
|
|
||||||
For an HTTP server span, `SpanKind` MUST be `Server`.
|
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) -->
|
<!-- semconv trace.http.server(full) -->
|
||||||
| Attribute | Type | Description | Examples | Requirement Level |
|
| Attribute | Type | Description | Examples | Requirement Level |
|
||||||
|---|---|---|---|---|
|
|---|---|---|---|---|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue