aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2018-03-12 10:13:56 +0000
committerGravatar GitHub <noreply@github.com> 2018-03-12 10:13:56 +0000
commit259df3c850f9fc892c11b1e6a2adcd0f633e49ae (patch)
tree623f17c5b669220f94d05cd23ec0bba7e23a3dec
parent27f58d8dc68b77e6ba935dbc3dce8df8cbe5e1a3 (diff)
downloadcoredns-259df3c850f9fc892c11b1e6a2adcd0f633e49ae.tar.gz
coredns-259df3c850f9fc892c11b1e6a2adcd0f633e49ae.tar.zst
coredns-259df3c850f9fc892c11b1e6a2adcd0f633e49ae.zip
make -f Makefile.doc (#1600)
-rw-r--r--man/coredns-erratic.76
-rw-r--r--man/coredns-trace.715
2 files changed, 18 insertions, 3 deletions
diff --git a/man/coredns-erratic.7 b/man/coredns-erratic.7
index e84b8adb7..1ae118bc3 100644
--- a/man/coredns-erratic.7
+++ b/man/coredns-erratic.7
@@ -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\.
diff --git a/man/coredns-trace.7 b/man/coredns-trace.7
index 2ba4be743..fd7163717 100644
--- a/man/coredns-trace.7
+++ b/man/coredns-trace.7
@@ -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