fix(trace): correct Zipkin v2 endpoint docs (#8202)

This commit is contained in:
Immanuel Tikhonov
2026-06-27 14:21:26 +04:00
committed by GitHub
parent 1539f9b7d6
commit 69e7a4be73
2 changed files with 4 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ trace [ENDPOINT\-TYPE] [ENDPOINT]
Defaults to \fB\fCzipkin\fR. Defaults to \fB\fCzipkin\fR.
.IP \(bu 4 .IP \(bu 4
\fBENDPOINT\fP is the tracing destination, and defaults to \fB\fClocalhost:9411\fR. For Zipkin, if \fBENDPOINT\fP is the tracing destination, and defaults to \fB\fClocalhost:9411\fR. For Zipkin, if
\fBENDPOINT\fP does not begin with \fB\fChttp\fR, then it will be transformed to \fB\fChttp://ENDPOINT/api/v1/spans\fR. \fBENDPOINT\fP does not begin with \fB\fChttp\fR, then it will be transformed to \fB\fChttp://ENDPOINT/api/v2/spans\fR.
.PP .PP
@@ -128,7 +128,7 @@ the standard Zipkin URL you can do something like:
.RS .RS
.nf .nf
trace http://tracinghost:9411/zipkin/api/v1/spans trace http://tracinghost:9411/zipkin/api/v2/spans
.fi .fi
.RE .RE
@@ -173,4 +173,3 @@ plugin is also enabled:
.SH "SEE ALSO" .SH "SEE ALSO"
.PP .PP
See the \fIdebug\fP plugin for more information about debug logging. See the \fIdebug\fP plugin for more information about debug logging.

View File

@@ -20,7 +20,7 @@ trace [ENDPOINT-TYPE] [ENDPOINT]
* **ENDPOINT-TYPE** is the type of tracing destination. Currently only `zipkin` and `datadog` are supported. * **ENDPOINT-TYPE** is the type of tracing destination. Currently only `zipkin` and `datadog` are supported.
Defaults to `zipkin`. Defaults to `zipkin`.
* **ENDPOINT** is the tracing destination, and defaults to `localhost:9411`. For Zipkin, if * **ENDPOINT** is the tracing destination, and defaults to `localhost:9411`. For Zipkin, if
**ENDPOINT** does not begin with `http`, then it will be transformed to `http://ENDPOINT/api/v1/spans`. **ENDPOINT** does not begin with `http`, then it will be transformed to `http://ENDPOINT/api/v2/spans`.
With this form, all queries will be traced. With this form, all queries will be traced.
@@ -82,7 +82,7 @@ If for some reason you are using an API reverse proxy or something and need to r
the standard Zipkin URL you can do something like: the standard Zipkin URL you can do something like:
~~~ ~~~
trace http://tracinghost:9411/zipkin/api/v1/spans trace http://tracinghost:9411/zipkin/api/v2/spans
~~~ ~~~
Using DataDog: Using DataDog: