Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
C = new(Config)
)
Functions ¶
Types ¶
type Alerting ¶
type Alerting struct { TemplatesDir string NotifyConcurrency int NotifyBuiltinChannels []string CallScript CallScript CallPlugin CallPlugin RedisPub RedisPub Webhook Webhook }
type CallPlugin ¶ added in v5.5.0
type CallScript ¶ added in v5.4.0
type Config ¶
type Config struct { RunMode string ClusterName string BusiGroupLabelKey string EngineDelay int64 Log logx.Config HTTP httpx.Config BasicAuth gin.Accounts SMTP SMTPConfig Heartbeat HeartbeatConfig Alerting Alerting NoData NoData Redis storage.RedisConfig Gorm storage.Gorm MySQL storage.MySQL Postgres storage.Postgres WriterOpt writer.GlobalOpt Writers []writer.Options Reader reader.Options Ibex Ibex }
func (*Config) IsDebugMode ¶
type HeartbeatConfig ¶
type SMTPConfig ¶ added in v5.4.0
Click to show internal directories.
Click to hide internal directories.