Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() xprocessor.Factory
NewFactory returns a new factory for the Pitbull processor.
Types ¶
type Config ¶
type Config struct {
MetricAggregation MetricAggregationConfig `mapstructure:"metric_aggregation"`
LogsConfig LogsConfig `mapstructure:"logs"`
TracesConfig TracesConfig `mapstructure:"traces"`
MetricsConfig MetricsConfig `mapstructure:"metrics"`
ConfigurationExtension *component.ID `mapstructure:"configuration_extension"`
}
Config defines configuration for Pitbull processor.
type LogsConfig ¶
type LogsConfig struct {
StatsEnrichments []StatsEnrichment `mapstructure:"stats_enrichments"`
}
func (*LogsConfig) Validate ¶
func (cfg *LogsConfig) Validate() error
Validate function for LogsConfig
type MetricAggregationConfig ¶
func (*MetricAggregationConfig) Validate ¶
func (c *MetricAggregationConfig) Validate() error
type MetricsConfig ¶
type MetricsConfig struct {
StatsEnrichments []StatsEnrichment `mapstructure:"stats_enrichments"`
}
type StatsEnrichment ¶
type TracesConfig ¶
type TracesConfig struct {
StatsEnrichments []StatsEnrichment `mapstructure:"stats_enrichments"`
EstimatorWindowSize int `mapstructure:"estimator_window_size"`
EstimatorInterval int64 `mapstructure:"estimator_interval"`
}
func (*TracesConfig) Validate ¶
func (tc *TracesConfig) Validate() error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.