Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Statistics StatisticsConfig `mapstructure:"statistics"`
MetricAggregation MetricAggregationConfig `mapstructure:"metric_aggregation"`
LogsConfig LogsConfig `mapstructure:"logs"`
TracesConfig TracesConfig `mapstructure:"traces"`
ConfigurationExtension *component.ID `mapstructure:"configuration_extension"`
DropDecorationAttributes bool `mapstructure:"drop_decoration_attributes"`
}
type LogsConfig ¶
type LogsConfig struct {
StatsEnrichments []StatsEnrichment `mapstructure:"stats_enrichment"`
}
func (*LogsConfig) Validate ¶
func (cfg *LogsConfig) Validate() error
Validate function for LogsConfig
type MetricAggregationConfig ¶
func (*MetricAggregationConfig) Validate ¶
func (c *MetricAggregationConfig) Validate() error
type MetricStat ¶
type MetricStat struct {
MetricName string
TagName string
ServiceName string
Phase chqpb.Phase
VendorID string
Count int64
HLL hll.HllSketch
}
func (*MetricStat) Initialize ¶
func (m *MetricStat) Initialize() error
func (*MetricStat) Key ¶
func (m *MetricStat) Key() uint64
func (*MetricStat) Matches ¶
func (m *MetricStat) Matches(other stats.StatsObject) bool
type StatisticsConfig ¶
type StatisticsConfig struct {
confighttp.ClientConfig `mapstructure:",squash"`
Interval time.Duration `mapstructure:"interval"`
Phase string `mapstructure:"phase"`
Vendor string `mapstructure:"vendor"`
}
func (*StatisticsConfig) Validate ¶
func (c *StatisticsConfig) Validate() error
type StatsEnrichment ¶
type TracesConfig ¶
type TracesConfig struct {
StatsEnrichments []StatsEnrichment `mapstructure:"stats_enrichment"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.