Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TelemetryBuilder ¶
type TelemetryBuilder struct { ScraperErroredMetricPoints metric.Int64Counter ScraperScrapedMetricPoints metric.Int64Counter // contains filtered or unexported fields }
TelemetryBuilder provides an interface for components to report telemetry as defined in metadata and user config.
func NewTelemetryBuilder ¶
func NewTelemetryBuilder(settings component.TelemetrySettings, options ...TelemetryBuilderOption) (*TelemetryBuilder, error)
NewTelemetryBuilder provides a struct with methods to update all internal telemetry for a component
type TelemetryBuilderOption ¶
type TelemetryBuilderOption interface {
// contains filtered or unexported methods
}
TelemetryBuilderOption applies changes to default builder.
Click to show internal directories.
Click to hide internal directories.