Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigYamlService ¶
type ConfigYamlService interface {
GetMonitorPrometheusYaml(ctx context.Context, ip string) string
GetMonitorAlertManagerYaml(ctx context.Context, ip string) string
GetMonitorPrometheusAlertRuleYaml(ctx context.Context, ip string) string
GetMonitorPrometheusRecordYaml(ctx context.Context, ip string) string
}
func NewPrometheusConfigService ¶
func NewPrometheusConfigService( promCache alertCache.PrometheusConfigCache, alertCache alertCache.AlertManagerConfigCache, ruleCache alertCache.AlertRuleConfigCache, recordCache alertCache.RecordRuleConfigCache, ) ConfigYamlService
Click to show internal directories.
Click to hide internal directories.