otlpgrpc

package module
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 13 Imported by: 4

Documentation

Overview

Package otlpgrpc provides gtrace.Tracer implementation using OpenTelemetry protocol.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(serviceName, endpoint, traceToken string) (func(), error)

Init initializes and registers `otlpgrpc` to global TracerProvider.

The output parameter `Shutdown` is used for waiting exported trace spans to be uploaded, which is useful if your program is ending, and you do not want to lose recent spans.

Types

This section is empty.

Jump to

Keyboard shortcuts

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