Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 6004dac

Browse files
author
JBD
authored
Add http/path and http/route Stackdriver Trace labels (#52)
Stackdriver now support path and route as a first-class label in the UI. As well, as use the new short label keys rather than the fully namespaced ones for HTTP.
1 parent 9d22f48 commit 6004dac

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

trace/HTTPAttributes.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ known attributes/labels.
2525
The following table summarizes how OpenCensus attributes maps to the
2626
known attributes/labels on supported tracing backends.
2727

28-
| OpenCensus attribute | Zipkin | Jaeger | Stackdriver Trace label |
29-
|---------------------------|--------------------|--------------------|--------------------------------------------|
30-
| "http.host" | "http.host" | | "trace.cloud.google.com/http/host" |
31-
| "http.method" | "http.method" | "http.method" | "trace.cloud.google.com/http/method" |
32-
| "http.path" | "http.path" | | |
33-
| "http.route" | "http.route" | | |
34-
| "http.user_agent" | | | "trace.cloud.google.com/http/user_agent" |
35-
| "http.status_code" | "http.status_code" | "http.status_code" | "trace.cloud.google.com/http/status_code" |
28+
| OpenCensus attribute | Zipkin | Jaeger | Stackdriver Trace label |
29+
|---------------------------|--------------------|--------------------|---------------------------|
30+
| "http.host" | "http.host" | | "/http/host" |
31+
| "http.method" | "http.method" | "http.method" | "/http/method" |
32+
| "http.path" | "http.path" | | "/http/path" |
33+
| "http.route" | "http.route" | | "/http/route" |
34+
| "http.user_agent" | | | "/http/user_agent" |
35+
| "http.status_code" | "http.status_code" | "http.status_code" | "/http/status_code" |
3636

3737
Request body and response size of incoming and outgoing requests should be
3838
represented as message events. Each redirect should be represented as a

0 commit comments

Comments
 (0)