tracing

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TracerProvider

type TracerProvider struct {
	// contains filtered or unexported fields
}

func NewTraceProvider

func NewTraceProvider(serviceName string, configPath *string, logger logrus.FieldLogger) (*TracerProvider, error)

func (*TracerProvider) GetTraceProvider

func (t *TracerProvider) GetTraceProvider() trace2.TracerProvider

func (*TracerProvider) Stop

func (t *TracerProvider) Stop()

type TracingConfig

type TracingConfig struct {
	Enable               bool    `json:"enable"`
	OtelExporterEndpoint string  `json:"otelExporterEndpoint"`
	Ratio                float64 `json:"Ratio"`
}

Jump to

Keyboard shortcuts

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