Versions in this module Expand all Collapse all v0 v0.1.0 Dec 3, 2024 Changes in this version + type AlertConfig struct + Groups []Group + func ReadAlertConfig(filename string) (*AlertConfig, error) + type Alertmanager struct + Scheme string + StaticConfig StaticConfig + type Clickhouse struct + Addresses []string + Database string + Password string + TLS bool + Username string + type Config struct + Alertmanager Alertmanager + Clickhouse Clickhouse + EvaluationInterval int + RuleFiles []string + func ReadConfig(filename string) (*Config, error) + type Group struct + Labels map[string]string + Name string + Rules []Rule + type Rule struct + AlertName string + Annotations map[string]string + Expr string + Labels map[string]string + type StaticConfig struct + Targets []string