observability

package
v0.20.4 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const EnvVarOTelCollectorEndpoint = "OTEL_COLLECTOR_ENDPOINT"

EnvVarOTelCollectorEndpoint the env var containing the OpenTelemetry Collector endpoint

Variables

This section is empty.

Functions

func InitOTelTraceProvider

func InitOTelTraceProvider(serviceName string) func()

InitOTelTraceProvider configures the OpenTelemetry SDK to export the spans to collector via OTLP/GRPC

The SDK uses the collector endpoint defined in the environment variable: OTEL_COLLECTOR_ENDPOINT The environment variable can be set by adding it to the values.yaml file and doing a `helm upgrade`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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