Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsExporter ¶
type MetricsExporter interface {
Export() error
}
type MetricsPublisher ¶
type MetricsPublisher struct { BindAddress string Path string Port string ExportInterval time.Duration MetricsExporters []MetricsExporter }
func NewMetricsPublisher ¶
func (*MetricsPublisher) Export ¶
func (mp *MetricsPublisher) Export()
func (*MetricsPublisher) Register ¶
func (mp *MetricsPublisher) Register(metricsExporter MetricsExporter)
func (*MetricsPublisher) Run ¶
func (mp *MetricsPublisher) Run(stopc <-chan struct{})
Click to show internal directories.
Click to hide internal directories.