telemetry

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const MetricWaitInterval = time.Second * 2

Variables

This section is empty.

Functions

func Init

func Init(l log.Logger, conf config.TelemetryConfig) (func(), error)

func MetricsServer

func MetricsServer(addr string) *http.Server

func NewCounter added in v0.7.0

func NewCounter(metric string, labels map[string]string) prometheus.Counter

func NewGauge added in v0.7.0

func NewGauge(metric string, labels map[string]string) prometheus.Gauge

Types

This section is empty.

Jump to

Keyboard shortcuts

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