Documentation ¶
Index ¶
- type Exporter
- func (e *Exporter) Collect(ch chan<- prometheus.Metric)
- func (e *Exporter) Describe(ch chan<- *prometheus.Desc)
- func (e *Exporter) GetLatestMetricReports() (reports []*proto.MetricsReport)
- func (e *Exporter) SetLatestMetricReport(latest *metrics.MetricsReportBundle)
- func (e *Exporter) SetLatestMetricReports(data []core.Payload)
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
Click to show internal directories.
Click to hide internal directories.