mirror of
https://github.com/coredns/coredns.git
synced 2025-11-18 18:02:16 -05:00
prometheus.Handler is deprecated according to the godoc for the package so instead we're using promhttp. Additionally, we are exposing the Registry that metrics is using so other plugins that are not inside of coredns can read the registry. Otherwise, if we kept using the Default one, there's no way to access that from outside of the coredns repo since it is vendored.
zipkin-go-opentracing
OpenTracing Tracer implementation for Zipkin in Go.
Notes
This package is a low level tracing "driver" to allow OpenTracing API consumers to use Zipkin as their tracing backend. For details on how to work with spans and traces we suggest looking at the documentation and README from the OpenTracing API.
For developers interested in adding Zipkin tracing to their Go services we suggest looking at Go kit which is an excellent toolkit to instrument your distributed system with Zipkin and much more with clean separation of domains like transport, middleware / instrumentation and business logic.
Examples
For more information on zipkin-go-opentracing, please see the examples directory for usage examples as well as documentation at go doc.