|
NAMEtrace - enables OpenTracing-based tracing of DNS requests as they go through the plugin chain.DESCRIPTIONWith trace you enable OpenTracing of how a request flows through CoreDNS. Enable the debug plugin to get logs from the trace plugin.SYNTAXThe simplest form is just:trace [ENDPOINT-TYPE] [ENDPOINT]
With this form, all queries will be traced. Additional features can be enabled with this syntax: trace [ENDPOINT-TYPE] [ENDPOINT] { every AMOUNT service NAME client_server datadog_analytics_rate RATE }
ZIPKINYou can run Zipkin on a Docker host like this:docker run -d -p 9411:9411 openzipkin/zipkin Note the zipkin provider does not support the v1 API since coredns 1.7.1. EXAMPLESUse an alternative Zipkin address:trace tracinghost:9253 or . { trace zipkin tracinghost:9253 } If for some reason you are using an API reverse proxy or something and need to remap the standard Zipkin URL you can do something like: trace http://tracinghost:9411/zipkin/api/v1/spans Using DataDog: trace datadog localhost:8126 Trace one query every 10000 queries, rename the service, and enable same span: trace tracinghost:9411 { every 10000 service dnsproxy client_server } SEE ALSOSee the debug plugin for more information about debug logging.
Visit the GSP FreeBSD Man Page Interface. |