tracing

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: Apache-2.0 Imports: 16 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitTracer

func InitTracer(ctx context.Context, config OtelGoTracingConfig) error

The `InitTracer` function initializes an OpenTelemetry tracer with a specified configuration, exporter, and resource.

Types

type OtelGoTracingConfig added in v1.0.0

type OtelGoTracingConfig struct {
	HostMetricsEnabled bool
}

The OtelGoTracingConfig type is used to configure whether host metrics are enabled or not. @property {bool} HostMetricsEnabled - A boolean value that indicates whether host metrics are enabled or not.

Jump to

Keyboard shortcuts

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