Alerting: Support saving extra Mimir configurations (#106721)

This commit is contained in:
Alexander Akhmetov
2025-06-17 23:33:16 +02:00
committed by GitHub
parent 74e800e427
commit 5a78ce8a4b
13 changed files with 583 additions and 99 deletions
@@ -1123,6 +1123,26 @@
},
"type": "object"
},
"ExtraConfiguration": {
"properties": {
"alertmanager_config": {
"type": "string"
},
"identifier": {
"type": "string"
},
"merge_matchers": {
"$ref": "#/definitions/Matchers"
},
"template_files": {
"additionalProperties": {
"type": "string"
},
"type": "object"
}
},
"type": "object"
},
"Failure": {
"$ref": "#/definitions/ResponseDetails"
},
@@ -1854,6 +1874,12 @@
"alertmanager_config": {
"$ref": "#/definitions/GettableApiAlertingConfig"
},
"extra_config": {
"items": {
"$ref": "#/definitions/ExtraConfiguration"
},
"type": "array"
},
"template_file_provenances": {
"additionalProperties": {
"$ref": "#/definitions/Provenance"
@@ -3057,6 +3083,12 @@
"alertmanager_config": {
"$ref": "#/definitions/PostableApiAlertingConfig"
},
"extra_config": {
"items": {
"$ref": "#/definitions/ExtraConfiguration"
},
"type": "array"
},
"template_files": {
"additionalProperties": {
"type": "string"