auto content sync

This commit is contained in:
coredns-auto-sync[bot]
2020-11-19 11:30:48 +00:00
parent 65fae4f470
commit fa6d92cd89
+8 -12
View File
@@ -4,13 +4,13 @@ description = "*trace* enables OpenTracing-based tracing of DNS requests as they
weight = 44
tags = ["plugin", "trace"]
categories = ["plugin"]
date = "2020-11-10T19:13:58.87758811"
date = "2020-11-19T11:30:48.87748811"
+++
## Description
With *trace* you enable OpenTracing of how a request flows through CoreDNS.
Enable *debug* plugin to get logs from the trace plugin.
With *trace* you enable OpenTracing of how a request flows through CoreDNS. Enable the *debug*
plugin to get logs from the trace plugin.
## Syntax
@@ -23,7 +23,7 @@ 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/v1/spans`.
**ENDPOINT** does not begin with `http`, then it will be transformed to `http://ENDPOINT/api/v1/spans`.
With this form, all queries will be traced.
@@ -34,12 +34,6 @@ trace [ENDPOINT-TYPE] [ENDPOINT] {
every AMOUNT
service NAME
client_server
}
~~~
~~~
trace datadog {
every AMOUNT
service NAME
datadog_analytics_rate RATE
}
~~~
@@ -50,16 +44,18 @@ trace datadog {
Default is `coredns`.
* `client_server` will enable the `ClientServerSameSpan` OpenTracing feature.
* `datadog_analytics_rate` **RATE** will enable [trace analytics](https://docs.datadoghq.com/tracing/app_analytics) on the traces sent
from *0* to *1*, *1* being every trace sent will be analyzed. This is a datadog only feature.
from *0* to *1*, *1* being every trace sent will be analyzed. This is a datadog only feature
(**ENDPOINT-TYPE** needs to be `datadog`)
## Zipkin
You can run Zipkin on a Docker host like this:
```
docker run -d -p 9411:9411 openzipkin/zipkin
```
:warning: The zipkin provider does not support the v1 API since coredns 1.7.1
Note the zipkin provider does not support the v1 API since coredns 1.7.1.
## Examples