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
@@ -5412,6 +5412,26 @@
}
}
},
"ExtraConfiguration": {
"type": "object",
"properties": {
"alertmanager_config": {
"type": "string"
},
"identifier": {
"type": "string"
},
"merge_matchers": {
"$ref": "#/definitions/Matchers"
},
"template_files": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},
"Failure": {
"$ref": "#/definitions/ResponseDetails"
},
@@ -6144,6 +6164,12 @@
"alertmanager_config": {
"$ref": "#/definitions/GettableApiAlertingConfig"
},
"extra_config": {
"type": "array",
"items": {
"$ref": "#/definitions/ExtraConfiguration"
}
},
"template_file_provenances": {
"type": "object",
"additionalProperties": {
@@ -7348,6 +7374,12 @@
"alertmanager_config": {
"$ref": "#/definitions/PostableApiAlertingConfig"
},
"extra_config": {
"type": "array",
"items": {
"$ref": "#/definitions/ExtraConfiguration"
}
},
"template_files": {
"type": "object",
"additionalProperties": {