Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func OrgIdFromResource ¶
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"` }
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
Click to show internal directories.
Click to hide internal directories.