Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() component.ProcessorFactory
NewFactory returns a new factory for the Filter processor.
Types ¶
type Config ¶
type Config struct { configmodels.ProcessorSettings `mapstructure:",squash"` // NumTraces is the max number of traces to keep in memory waiting for the duration. // Default: 1_000_000. NumTraces int `mapstructure:"num_traces"` // WaitDuration tells the processor to wait for the specified duration for the trace to be complete. // Default: 1s. WaitDuration time.Duration `mapstructure:"wait_duration"` // DiscardOrphans instructs the processor to discard traces without the root span. // This typically indicates that the trace is incomplete. // Default: false. // Not yet implemented, and an error will be returned when this option is used. DiscardOrphans bool `mapstructure:"discard_orphans"` // StoreOnDisk tells the processor to keep only the trace ID in memory, serializing the trace spans to disk. // Useful when the duration to wait for traces to complete is high. // Default: false. // Not yet implemented, and an error will be returned when this option is used. StoreOnDisk bool `mapstructure:"store_on_disk"` }
Config is the configuration for the processor.
Click to show internal directories.
Click to hide internal directories.