opentelemetry

package
v0.0.0-...-daa3d23 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildContext

func BuildContext(ctx context.Context) context.Context

func GetTracer

func GetTracer(defaultValue string) tre.Tracer

func InitTracer

func InitTracer() (func(context.Context) error, error)

Types

type Configurations

type Configurations struct {
	ServiceName  string `envconfig:"APPLICATION_NAME" default:"Applications"`
	CollectorURL string `envconfig:"OPTE_URL" default:"otelcollector.awsagent.optimizor.app:80"`
	IsInsecure   bool   `envconfig:"IS_OPTEL_INSECURE" default:"true"`
	IsEnabled    bool   `envconfig:"IS_OPTEL_ENABLED" default:"true"`
}

Jump to

Keyboard shortcuts

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