Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultGatherer = legacyregistry.DefaultGatherer
DefaultGatherer is the implementation of the prometheus Gatherere interface that all metrics operations will use.
View Source
var DefaultMetrics = &Config{ Router: func(context.Context, *config.Node) (*mux.Router, error) { return nil, errors.New("not implemented") }, }
DefaultMetrics is the default instance of a Metrics server
View Source
var DefaultRegisterer = legacyregistry.Registerer()
DefaultRegisterer is the implementation of the prometheus Registerer interface that all metrics operations will use.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Router will be called to add the metrics API handler to an existing router. Router https.RouterFunc }
Config holds fields for the metrics listener
Click to show internal directories.
Click to hide internal directories.