-
Notifications
You must be signed in to change notification settings - Fork 174
/
config.go
122 lines (121 loc) · 8.7 KB
/
config.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
package veneur
type Config struct {
Aggregates []string `yaml:"aggregates"`
AwsAccessKeyID string `yaml:"aws_access_key_id"`
AwsRegion string `yaml:"aws_region"`
AwsS3Bucket string `yaml:"aws_s3_bucket"`
AwsSecretAccessKey string `yaml:"aws_secret_access_key"`
BlockProfileRate int `yaml:"block_profile_rate"`
CountUniqueTimeseries bool `yaml:"count_unique_timeseries"`
DatadogAPIHostname string `yaml:"datadog_api_hostname"`
DatadogAPIKey string `yaml:"datadog_api_key"`
DatadogExcludeTagsPrefixByPrefixMetric []struct {
MetricPrefix string `yaml:"metric_prefix"`
Tags []string `yaml:"tags"`
} `yaml:"datadog_exclude_tags_prefix_by_prefix_metric"`
DatadogFlushMaxPerBody int `yaml:"datadog_flush_max_per_body"`
DatadogMetricNamePrefixDrops []string `yaml:"datadog_metric_name_prefix_drops"`
DatadogSpanBufferSize int `yaml:"datadog_span_buffer_size"`
DatadogTraceAPIAddress string `yaml:"datadog_trace_api_address"`
Debug bool `yaml:"debug"`
DebugFlushedMetrics bool `yaml:"debug_flushed_metrics"`
DebugIngestedSpans bool `yaml:"debug_ingested_spans"`
EnableProfiling bool `yaml:"enable_profiling"`
FalconerAddress string `yaml:"falconer_address"`
FlushFile string `yaml:"flush_file"`
FlushMaxPerBody int `yaml:"flush_max_per_body"`
FlushWatchdogMissedFlushes int `yaml:"flush_watchdog_missed_flushes"`
ForwardAddress string `yaml:"forward_address"`
ForwardUseGrpc bool `yaml:"forward_use_grpc"`
GrpcAddress string `yaml:"grpc_address"`
Hostname string `yaml:"hostname"`
HTTPAddress string `yaml:"http_address"`
HTTPQuit bool `yaml:"http_quit"`
IndicatorSpanTimerName string `yaml:"indicator_span_timer_name"`
Interval string `yaml:"interval"`
KafkaBroker string `yaml:"kafka_broker"`
KafkaCheckTopic string `yaml:"kafka_check_topic"`
KafkaEventTopic string `yaml:"kafka_event_topic"`
KafkaMetricBufferBytes int `yaml:"kafka_metric_buffer_bytes"`
KafkaMetricBufferFrequency string `yaml:"kafka_metric_buffer_frequency"`
KafkaMetricBufferMessages int `yaml:"kafka_metric_buffer_messages"`
KafkaMetricRequireAcks string `yaml:"kafka_metric_require_acks"`
KafkaMetricTopic string `yaml:"kafka_metric_topic"`
KafkaPartitioner string `yaml:"kafka_partitioner"`
KafkaRetryMax int `yaml:"kafka_retry_max"`
KafkaSpanBufferBytes int `yaml:"kafka_span_buffer_bytes"`
KafkaSpanBufferFrequency string `yaml:"kafka_span_buffer_frequency"`
KafkaSpanBufferMesages int `yaml:"kafka_span_buffer_mesages"`
KafkaSpanRequireAcks string `yaml:"kafka_span_require_acks"`
KafkaSpanSampleRatePercent float64 `yaml:"kafka_span_sample_rate_percent"`
KafkaSpanSampleTag string `yaml:"kafka_span_sample_tag"`
KafkaSpanSerializationFormat string `yaml:"kafka_span_serialization_format"`
KafkaSpanTopic string `yaml:"kafka_span_topic"`
LightstepAccessToken string `yaml:"lightstep_access_token"`
LightstepCollectorHost string `yaml:"lightstep_collector_host"`
LightstepMaximumSpans int `yaml:"lightstep_maximum_spans"`
LightstepNumClients int `yaml:"lightstep_num_clients"`
LightstepReconnectPeriod string `yaml:"lightstep_reconnect_period"`
MetricMaxLength int `yaml:"metric_max_length"`
MutexProfileFraction int `yaml:"mutex_profile_fraction"`
NumReaders int `yaml:"num_readers"`
NumSpanWorkers int `yaml:"num_span_workers"`
NumWorkers int `yaml:"num_workers"`
ObjectiveSpanTimerName string `yaml:"objective_span_timer_name"`
OmitEmptyHostname bool `yaml:"omit_empty_hostname"`
Percentiles []float64 `yaml:"percentiles"`
ReadBufferSizeBytes int `yaml:"read_buffer_size_bytes"`
SentryDsn string `yaml:"sentry_dsn"`
SignalfxAPIKey string `yaml:"signalfx_api_key"`
SignalfxDynamicPerTagAPIKeysEnable bool `yaml:"signalfx_dynamic_per_tag_api_keys_enable"`
SignalfxDynamicPerTagAPIKeysRefreshPeriod string `yaml:"signalfx_dynamic_per_tag_api_keys_refresh_period"`
SignalfxEndpointAPI string `yaml:"signalfx_endpoint_api"`
SignalfxEndpointBase string `yaml:"signalfx_endpoint_base"`
SignalfxFlushMaxPerBody int `yaml:"signalfx_flush_max_per_body"`
SignalfxHostnameTag string `yaml:"signalfx_hostname_tag"`
SignalfxMetricNamePrefixDrops []string `yaml:"signalfx_metric_name_prefix_drops"`
SignalfxMetricTagPrefixDrops []string `yaml:"signalfx_metric_tag_prefix_drops"`
SignalfxPerTagAPIKeys []struct {
APIKey string `yaml:"api_key"`
Name string `yaml:"name"`
} `yaml:"signalfx_per_tag_api_keys"`
SignalfxVaryKeyBy string `yaml:"signalfx_vary_key_by"`
SpanChannelCapacity int `yaml:"span_channel_capacity"`
SplunkHecAddress string `yaml:"splunk_hec_address"`
SplunkHecBatchSize int `yaml:"splunk_hec_batch_size"`
SplunkHecConnectionLifetimeJitter string `yaml:"splunk_hec_connection_lifetime_jitter"`
SplunkHecIngestTimeout string `yaml:"splunk_hec_ingest_timeout"`
SplunkHecMaxConnectionLifetime string `yaml:"splunk_hec_max_connection_lifetime"`
SplunkHecSendTimeout string `yaml:"splunk_hec_send_timeout"`
SplunkHecSubmissionWorkers int `yaml:"splunk_hec_submission_workers"`
SplunkHecTLSValidateHostname string `yaml:"splunk_hec_tls_validate_hostname"`
SplunkHecToken string `yaml:"splunk_hec_token"`
SplunkSpanSampleRate int `yaml:"splunk_span_sample_rate"`
SsfBufferSize int `yaml:"ssf_buffer_size"`
SsfListenAddresses []string `yaml:"ssf_listen_addresses"`
StatsAddress string `yaml:"stats_address"`
StatsdListenAddresses []string `yaml:"statsd_listen_addresses"`
SynchronizeWithInterval bool `yaml:"synchronize_with_interval"`
Tags []string `yaml:"tags"`
TagsExclude []string `yaml:"tags_exclude"`
TLSAuthorityCertificate string `yaml:"tls_authority_certificate"`
TLSCertificate string `yaml:"tls_certificate"`
TLSKey string `yaml:"tls_key"`
TraceLightstepAccessToken string `yaml:"trace_lightstep_access_token"`
TraceLightstepCollectorHost string `yaml:"trace_lightstep_collector_host"`
TraceLightstepMaximumSpans int `yaml:"trace_lightstep_maximum_spans"`
TraceLightstepNumClients int `yaml:"trace_lightstep_num_clients"`
TraceLightstepReconnectPeriod string `yaml:"trace_lightstep_reconnect_period"`
TraceMaxLengthBytes int `yaml:"trace_max_length_bytes"`
VeneurMetricsAdditionalTags []string `yaml:"veneur_metrics_additional_tags"`
VeneurMetricsScopes struct {
Counter string `yaml:"counter"`
Gauge string `yaml:"gauge"`
Histogram string `yaml:"histogram"`
Set string `yaml:"set"`
Status string `yaml:"status"`
} `yaml:"veneur_metrics_scopes"`
XrayAddress string `yaml:"xray_address"`
XrayAnnotationTags []string `yaml:"xray_annotation_tags"`
XraySamplePercentage int `yaml:"xray_sample_percentage"`
}