forked from stripe/veneur
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.go
71 lines (70 loc) · 4.63 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
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"`
DatadogAPIHostname string `yaml:"datadog_api_hostname"`
DatadogAPIKey string `yaml:"datadog_api_key"`
DatadogFlushMaxPerBody int `yaml:"datadog_flush_max_per_body"`
DatadogSpanBufferSize int `yaml:"datadog_span_buffer_size"`
DatadogTraceAPIAddress string `yaml:"datadog_trace_api_address"`
Debug bool `yaml:"debug"`
EnableProfiling bool `yaml:"enable_profiling"`
FlushFile string `yaml:"flush_file"`
FlushMaxPerBody int `yaml:"flush_max_per_body"`
ForwardAddress string `yaml:"forward_address"`
Hostname string `yaml:"hostname"`
HTTPAddress string `yaml:"http_address"`
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 int `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"`
NumReaders int `yaml:"num_readers"`
NumWorkers int `yaml:"num_workers"`
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"`
SignalfxEndpointBase string `yaml:"signalfx_endpoint_base"`
SignalfxHostnameTag string `yaml:"signalfx_hostname_tag"`
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"`
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"`
}