package
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Dec 5, 2024
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package otel provides functions to configure, start and shutdown gRPC open telemetry
GetTraceSampler determines what level of trace sampling to run.
func InitTelemetryProviders(serviceName, serviceNamespace, version, oltpExporter string, traceSampler sdktrace.Sampler, extraAttributes bool) (func(), error)
InitTelemetryProviders sets up the OLTP Meter and Trace providers and the OLTP gRPC exporter.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.