Documentation ¶
Index ¶
Constants ¶
View Source
const (
LogsStability = component.StabilityLevelAlpha
)
Variables ¶
View Source
var ( Type = component.MustNewType("logdedup") ScopeName = "github.com/open-telemetry/opentelemetry-collector-contrib/processor/logdedupprocessor" )
Functions ¶
func WithLevel ¶
func WithLevel(lvl configtelemetry.Level) telemetryBuilderOption
WithLevel sets the current telemetry level for the component.
Types ¶
type TelemetryBuilder ¶
type TelemetryBuilder struct { DedupProcessorAggregatedLogs metric.Int64Histogram // 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
Click to show internal directories.
Click to hide internal directories.