mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
make -f Makefile.doc (#1600)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
\fIerratic\fR \- a plugin useful for testing client behavior\.
|
||||
.
|
||||
.SH "DESCRIPTION"
|
||||
\fIerratic\fR returns a static response to all queries, but the responses can be delayed, dropped or truncated\. The \fIerratic\fR plugin will respond to every A or AAAA query\. For any other type it will return a SERVFAIL response\. The reply for A will return 192\.0\.2\.53 (see RFC 5737), for AAAA it returns 2001:DB8::53 (see RFC 3849)\.
|
||||
\fIerratic\fR returns a static response to all queries, but the responses can be delayed, dropped or truncated\. The \fIerratic\fR plugin will respond to every A or AAAA query\. For any other type it will return a SERVFAIL response\. The reply for A will return 192\.0\.2\.53 (see RFC 5737 \fIhttps://tools\.ietf\.org/html/rfc5737\fR, for AAAA it returns 2001:DB8::53 (see RFC 3849 \fIhttps://tools\.ietf\.org/html/rfc3849\fR)\.
|
||||
.
|
||||
.P
|
||||
\fIerratic\fR can also be used in conjunction with the \fIautopath\fR plugin\. This is mostly to aid in testing\.
|
||||
@@ -117,4 +117,6 @@ Drop every second query\.
|
||||
.fi
|
||||
.
|
||||
.IP "" 0
|
||||
|
||||
.
|
||||
.SH "ALSO SEE"
|
||||
RFC 3849 \fIhttps://tools\.ietf\.org/html/rfc3849\fR and RFC 5737 \fIhttps://tools\.ietf\.org/html/rfc5737\fR\.
|
||||
|
||||
@@ -23,7 +23,7 @@ trace [ENDPOINT\-TYPE] [ENDPOINT]
|
||||
.IP "" 0
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBENDPOINT\-TYPE\fR is the type of tracing destination\. Currently only \fBzipkin\fR is supported and that is what it defaults to\.
|
||||
\fBENDPOINT\-TYPE\fR is the type of tracing destination\. Currently only \fBzipkin\fR and \fBdatadog\fR are supported\. Defaults to \fBzipkin\fR\.
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBENDPOINT\fR is the tracing destination, and defaults to \fBlocalhost:9411\fR\. For Zipkin, if ENDPOINT does not begin with \fBhttp\fR, then it will be transformed to \fBhttp://ENDPOINT/api/v1/spans\fR\.
|
||||
@@ -116,6 +116,19 @@ trace http://tracinghost:9411/zipkin/api/v1/spans
|
||||
.IP "" 0
|
||||
.
|
||||
.P
|
||||
Using DataDog:
|
||||
.
|
||||
.IP "" 4
|
||||
.
|
||||
.nf
|
||||
|
||||
trace datadog localhost:8125
|
||||
.
|
||||
.fi
|
||||
.
|
||||
.IP "" 0
|
||||
.
|
||||
.P
|
||||
Trace one query every 10000 queries, rename the service, and enable same span:
|
||||
.
|
||||
.IP "" 4
|
||||
|
||||
Reference in New Issue
Block a user