Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertConfig ¶
type AlertConfig struct {
Groups []Group `yaml:"groups"`
}
func ReadAlertConfig ¶
func ReadAlertConfig(filename string) (*AlertConfig, error)
type Alertmanager ¶
type Alertmanager struct { Scheme string `yaml:"scheme"` StaticConfig StaticConfig `yaml:"static_config"` }
type Clickhouse ¶
type Config ¶
type Config struct { Clickhouse Clickhouse `yaml:"clickhouse"` Alertmanager Alertmanager `yaml:"alertmanager"` RuleFiles []string `yaml:"rule_files"` EvaluationInterval int `yaml:"evaluation_interval"` }
func ReadConfig ¶
type StaticConfig ¶
type StaticConfig struct {
Targets []string `yaml:"targets"`
}
Click to show internal directories.
Click to hide internal directories.