Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrometheusAdapter ¶
type PrometheusAdapter struct { Subsystem string Namespace string // contains filtered or unexported fields }
func NewPrometheusAdapter ¶
func NewPrometheusAdapter(registry *prometheus.Registry, logger logrus.FieldLogger, ns, sub string) *PrometheusAdapter
func (*PrometheusAdapter) AddMetricSamples ¶
func (a *PrometheusAdapter) AddMetricSamples(samples []stats.SampleContainer)
func (*PrometheusAdapter) Handler ¶
func (a *PrometheusAdapter) Handler() http.Handler
Click to show internal directories.
Click to hide internal directories.