package
0.20.4
Repository: https://github.com/keptn/go-utils.git
Documentation: pkg.go.dev

# Functions

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`.

# Constants

EnvVarOTelCollectorEndpoint the env var containing the OpenTelemetry Collector endpoint.