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.
Click to show internal directories.
Click to hide internal directories.