prometheus

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package prometheus implements a Prometheus metrics exporter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrometheusCollector

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

PrometheusCollector implemnts the metrics exporter

func Exporter

Exporter creates a Prometheus exporter instance.

func (*PrometheusCollector) MetricDefaultReporting

func (c *PrometheusCollector) MetricDefaultReporting() bool

func (*PrometheusCollector) MetricReader

func (c *PrometheusCollector) MetricReader(_ time.Duration) sdkmetric.Reader

MetricReader implements the interface to exporte metrics.

Jump to

Keyboard shortcuts

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