telemetry

package
v1.65.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HCAdapter

func HCAdapter(hc *healthcheck.HealthCheck) func(*componentstatus.Event)

Types

type Settings

type Settings struct {
	Logger         *zap.Logger
	Metrics        metrics.Factory
	MeterProvider  metric.MeterProvider
	TracerProvider trace.TracerProvider
	ReportStatus   func(*componentstatus.Event) // TODO remove this
	Host           component.Host
}

func FromOtelComponent

func FromOtelComponent(telset component.TelemetrySettings, host component.Host) Settings

func NoopSettings

func NoopSettings() Settings

func (Settings) ToOtelComponent added in v1.65.0

func (s Settings) ToOtelComponent() component.TelemetrySettings

Jump to

Keyboard shortcuts

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