This repository has been archived by the owner on Aug 23, 2022. It is now read-only.
forked from stripe/veneur
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_proxy.go
27 lines (26 loc) · 1.53 KB
/
config_proxy.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
package veneur
type ProxyConfig struct {
ConsulForwardGrpcServiceName string `yaml:"consul_forward_grpc_service_name"`
ConsulForwardServiceName string `yaml:"consul_forward_service_name"`
ConsulRefreshInterval string `yaml:"consul_refresh_interval"`
ConsulTraceServiceName string `yaml:"consul_trace_service_name"`
Debug bool `yaml:"debug"`
EnableProfiling bool `yaml:"enable_profiling"`
ForwardAddress string `yaml:"forward_address"`
ForwardTimeout string `yaml:"forward_timeout"`
GrpcAddress string `yaml:"grpc_address"`
GrpcForwardAddress string `yaml:"grpc_forward_address"`
HTTPAddress string `yaml:"http_address"`
IdleConnectionTimeout string `yaml:"idle_connection_timeout"`
MaxIdleConns int `yaml:"max_idle_conns"`
MaxIdleConnsPerHost int `yaml:"max_idle_conns_per_host"`
RuntimeMetricsInterval string `yaml:"runtime_metrics_interval"`
SentryDsn string `yaml:"sentry_dsn"`
SsfDestinationAddress string `yaml:"ssf_destination_address"`
StatsAddress string `yaml:"stats_address"`
TraceAddress string `yaml:"trace_address"`
TraceAPIAddress string `yaml:"trace_api_address"`
TracingClientCapacity int `yaml:"tracing_client_capacity"`
TracingClientFlushInterval string `yaml:"tracing_client_flush_interval"`
TracingClientMetricsInterval string `yaml:"tracing_client_metrics_interval"`
}