otel

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package otel provides functions to configure, start and shutdown gRPC open telemetry

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTraceSampler

func GetTraceSampler(mode string) sdktrace.Sampler

GetTraceSampler determines what level of trace sampling to run.

func InitTelemetryProviders

func InitTelemetryProviders(serviceName, serviceNamespace, version, oltpExporter string, traceSampler sdktrace.Sampler) (func(), error)

InitTelemetryProviders sets up the OLTP Meter and Trace providers and the OLTP gRPC exporter.

Types

This section is empty.

Jump to

Keyboard shortcuts

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