tracing

package
v1.3.12 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package tracing provides utilities for working with open telemetry tracing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TracePropagation

func TracePropagation()

TracePropagation enables trace propagation.

func TracerProvider

func TracerProvider(defaultService, url string) (*tracesdk.TracerProvider, error)

TracerProvider creates a trace provider. Service name precedence from higher to lower: 1. OTEL_SERVICE_NAME=mysrv 2. OTEL_RESOURCE_ATTRIBUTES=service.name=mysrv 3. defaultService="mysrv"

Types

This section is empty.

Jump to

Keyboard shortcuts

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