package
0.0.0-20171009231159-a11eda293c5f
Repository: https://github.com/codelingo/kit.git
Documentation: pkg.go.dev
# Functions
NewDiscardProvider returns a provider that will discard all metrics.
NewDogStatsdProvider will return a Provider implementation that is a simple wrapper around a dogstatsd.Emitter.
NewExpvarProvider is a very thin wrapper over the expvar package.
NewGraphiteProvider will return a Provider implementation that is a simple wrapper around a graphite.Emitter.
NewPrometheusProvider returns a Prometheus provider that uses the provided namespace and subsystem for all metrics.
NewStatsdProvider will return a Provider implementation that is a simple wrapper around a statsd.Emitter.
# Interfaces
Provider represents a union set of constructors and lifecycle management functions for each supported metrics backend.