MCPcopy Create free account
hub / github.com/cortexproject/cortex / SetAlertConfig

Method SetAlertConfig

pkg/alertmanager/alertstore/store.go:39–39  ·  view source on GitHub ↗

SetAlertConfig stores the alertmanager configuration for an user.

(ctx context.Context, cfg alertspb.AlertConfigDesc)

Source from the content-addressed store, hash-verified

37
38 // SetAlertConfig stores the alertmanager configuration for an user.
39 SetAlertConfig(ctx context.Context, cfg alertspb.AlertConfigDesc) error
40
41 // DeleteAlertConfig deletes the alertmanager configuration for an user.
42 // If configuration for the user doesn't exist, no error is reported.

Implementers 3

BucketAlertStorepkg/alertmanager/alertstore/bucketclie
Storepkg/alertmanager/alertstore/local/stor
Storepkg/alertmanager/alertstore/configdb/s

Calls

no outgoing calls