prometheus_metrics

package
v2.39.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter struct {
	// contains filtered or unexported fields
}

func NewExporter

func NewExporter(report *proto.MetricsReport) *Exporter

func (*Exporter) Collect

func (e *Exporter) Collect(ch chan<- prometheus.Metric)

func (*Exporter) Describe

func (e *Exporter) Describe(ch chan<- *prometheus.Desc)

func (*Exporter) GetLatestMetricReports added in v2.25.0

func (e *Exporter) GetLatestMetricReports() (reports []*proto.MetricsReport)

func (*Exporter) SetLatestMetricReport

func (e *Exporter) SetLatestMetricReport(latest *metrics.MetricsReportBundle)

func (*Exporter) SetLatestMetricReports added in v2.38.0

func (e *Exporter) SetLatestMetricReports(data []core.Payload)

Jump to

Keyboard shortcuts

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