Files
coredns/vendor/github.com/prometheus/common
James Hartig 671d170619 plugin/metrics: Switch to using promhttp instead of deprecated Handler (#1312)
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.
2017-12-14 18:19:03 +00:00
..
2017-08-28 08:49:28 -07:00
2017-04-28 09:14:54 -07:00
2017-04-28 09:14:54 -07:00
2017-04-28 09:14:54 -07:00
2017-04-28 09:14:54 -07:00
2017-04-28 09:14:54 -07:00
2017-08-28 08:49:28 -07:00

Common

Build Status

This repository contains Go libraries that are shared across Prometheus components and libraries.

  • config: Common configuration structures
  • expfmt: Decoding and encoding for the exposition format
  • log: A logging wrapper around logrus
  • model: Shared data structures
  • route: A routing wrapper around httprouter using context.Context
  • version: Version informations and metric