telemetry

package
v1.8.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitOTLPExporter

func InitOTLPExporter(ctx context.Context, componentName, componentInstance string, gatherer prometheus.Gatherer) (func(context.Context) error, error)

InitOTLPExporter initializes OpenTelemetry Protocol (OTLP) exporter if OTEL_EXPORTER_OTLP_ENDPOINT environment variable is set. This allows metrics to be exported to an OTLP collector while keeping Prometheus scraping unchanged.

Types

This section is empty.

Jump to

Keyboard shortcuts

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