internal

package
v0.1.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2022 License: MIT Imports: 6 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL