exporter

package
v0.37.2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsExporter

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

MetricsExporter exports profiling metrics via Prometheus. It is safe for concurrent use.

func NewExporter

NewExporter validates configuration and creates a new prometheus MetricsExporter. It is safe to initialize MetricsExporter without rules, then registry can be nil, Evaluate call will be a noop.

func (MetricsExporter) Evaluate added in v0.2.1

Jump to

Keyboard shortcuts

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