Alerting: improve provisioning docs (#50347)

* Alerting: improve provisioning docs

* add new provisioning page

* add api docs

* fix formatting and add better descriptions

* fix typo
This commit is contained in:
Jean-Philippe Quéméner
2022-06-10 16:25:15 +02:00
committed by GitHub
parent 56a9994a13
commit 862f51216b
8 changed files with 1382 additions and 76 deletions

View File

@@ -24,6 +24,7 @@ var (
ErrAlertRuleUniqueConstraintViolation = errors.New("a conflicting alert rule is found: rule title under the same organisation and folder should be unique")
)
// swagger:enum NoDataState
type NoDataState string
func (noDataState NoDataState) String() string {
@@ -49,6 +50,7 @@ const (
OK NoDataState = "OK"
)
// swagger:enum ExecutionErrorState
type ExecutionErrorState string
func (executionErrorState ExecutionErrorState) String() string {