Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintConfig ¶
PrintConfig prints the given metrics to the stdout
Types ¶
type AlarmHistoryConfig ¶ added in v0.0.7
type AlarmHistoryConfig struct { Enabled bool `ini:"enabled"` QueryTime int `ini:"max-query-time"` }
AlarmHistoryConfig represents the alarms portion of the config
type ApplicationConfig ¶
type ApplicationConfig struct {
MaxConcurrentRouters int `ini:"max-concurrent-routers"`
}
ApplicationConfig represents the application porition of the config
type Config ¶
type Config struct { Target TargetConfig Application ApplicationConfig Influx InfluxConfig AlarmHistory AlarmHistoryConfig Metrics MetricsConfig }
Config represents the application's configuration
type InfluxConfig ¶
type InfluxConfig struct { Address string `ini:"address"` Username string `ini:"username"` Password string `ini:"password"` Database string `ini:"database"` }
InfluxConfig represents the influx porition of the config
type MetricsConfig ¶ added in v0.0.7
MetricsConfig represents the metric portion of the config
type TargetConfig ¶
TargetConfig represents the target porition of the config
Click to show internal directories.
Click to hide internal directories.