Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LogLevel string `json:"log_level" validate:"required"` AWS AWSConfig `json:"aws"` RDSBrokerInfo RDSBrokerInfoConfig `json:"rds_broker"` Scheduler SchedulerConfig `json:"scheduler"` LoggregatorEmitter LoggregatorEmitterConfig `json:"loggregator_emitter"` locket.ClientLocketConfig }
func LoadConfig ¶
type RDSBrokerInfoConfig ¶
type SchedulerConfig ¶
type SchedulerConfig struct { InstanceRefreshInterval int `json:"instance_refresh_interval" validate:"required,gte=1,lte=3600"` CollectorTimeoutMs *int `json:"collector_timeout_ms" validate:"isdefault,gte=0,lte=15000"` CollectorRetryIntervalMs *int `json:"collector_retry_interval_ms" validate:"isdefault,gte=0,lte=10000"` CollectorMaxRetries *int `json:"collector_max_retries" validate:"isdefault,gte=0,lte=10"` SQLMetricCollectorInterval int `json:"sql_metrics_collector_interval" validate:"required,gte=0,lte=3600"` CWMetricCollectorInterval int `json:"cloudwatch_metrics_collector_interval" validate:"required,gte=0,lte=3600"` }
Click to show internal directories.
Click to hide internal directories.