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 ¶
func (s Settings) ToOtelComponent() component.TelemetrySettings
Click to show internal directories.
Click to hide internal directories.