mirror of
https://github.com/coredns/coredns.git
synced 2026-10-17 15:55:47 -04:00
plugin/trace: recognize Zipkin URL schemes by prefix (#8625)
* plugin/trace: recognize Zipkin URL schemes by prefix Signed-off-by: xinjun.jiang <xinjun.jiang@daocloud.io> * plugin/trace: compare HTTP schemes case insensitively Signed-off-by: xinjun.jiang <xinjun.jiang@daocloud.io> --------- Signed-off-by: xinjun.jiang <xinjun.jiang@daocloud.io>
This commit is contained in:
@@ -20,7 +20,8 @@ trace [ENDPOINT-TYPE] [ENDPOINT]
|
||||
* **ENDPOINT-TYPE** is the type of tracing destination. Currently only `zipkin` and `datadog` are supported.
|
||||
Defaults to `zipkin`.
|
||||
* **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/v2/spans`.
|
||||
**ENDPOINT** does not begin with `http://` or `https://` (case-insensitive), then it will be transformed to
|
||||
`http://ENDPOINT/api/v2/spans`.
|
||||
|
||||
With this form, all queries will be traced.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user