jaeger

package module
v2.7.7 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package jaeger provides OpenTelemetry provider using jaeger.

Deprecated: Please use `github.com/joy12825/gf/contrib/trace/otlphttp/v2` instead. As dependent package `go.opentelemetry.io/otel/exporters/jaeger` is deprecated in otel, this package will be never be maintained from goframe v2.6.0.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(serviceName, endpoint string) (*trace.TracerProvider, error)

Init initializes and registers jaeger to global TracerProvider.

The output parameter `flush` 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