"description":"Override the labels by which incoming alerts are grouped together. For example, multiple alerts coming in for\ncluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels\nuse the special value '...' as the sole label name.\nThis effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what\nyou want, unless you have a very low alert volume or your upstream notification system performs its own grouping.\nMust include 'alertname' and 'grafana_folder' if not using '...'.",
"example":[
"alertname",
"grafana_folder",
"cluster"
],
"items":{
"type":"string"
},
"type":"array"
},
"group_interval":{
"description":"Override how long to wait before sending a notification about new alerts that are added to a group of alerts for\nwhich an initial notification has already been sent. (Usually ~5m or more.)",
"example":"5m",
"type":"string"
},
"group_wait":{
"description":"Override how long to initially wait to send a notification for a group of alerts. Allows to wait for an\ninhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.)",
"example":"30s",
"type":"string"
},
"mute_time_intervals":{
"description":"Override the times when notifications should be muted. These must match the name of a mute time interval defined\nin the alertmanager configuration mute_time_intervals section. When muted it will not send any notifications, but\notherwise acts normally.",
"example":[
"maintenance"
],
"items":{
"type":"string"
},
"type":"array"
},
"receiver":{
"description":"Name of the receiver to send notifications to.",
"example":"grafana-default-email",
"type":"string"
},
"repeat_interval":{
"description":"Override how long to wait before sending a notification again if it has already been sent successfully for an\nalert. (Usually ~3h or more).\nNote that this parameter is implicitly bound by Alertmanager's `--data.retention` configuration flag.\nNotifications will be resent after either repeat_interval or the data retention period have passed, whichever\noccurs first. `repeat_interval` should not be less than `group_interval`.",
"example":"4h",
"type":"string"
}
},
"required":[
"receiver"
],
"type":"object"
},
"AlertRuleNotificationSettingsExport":{
"properties":{
"group_by":{
"items":{
"type":"string"
},
"type":"array"
},
"group_interval":{
"type":"string"
},
"group_wait":{
"type":"string"
},
"mute_time_intervals":{
"items":{
"type":"string"
},
"type":"array"
},
"receiver":{
"type":"string"
},
"repeat_interval":{
"type":"string"
}
},
"title":"AlertRuleNotificationSettingsExport is the provisioned export of models.NotificationSettings.",
"type":"object"
},
"AlertRuleUpgrade":{
"properties":{
"sendsTo":{
@ -311,6 +398,9 @@
},
"type":"object"
},
"AlertStateType":{
"type":"string"
},
"AlertingFileExport":{
"properties":{
"apiVersion":{
@ -438,6 +528,80 @@
},
"type":"object"
},
"Annotation":{
"properties":{
"alertId":{
"format":"int64",
"type":"integer"
},
"alertName":{
"type":"string"
},
"avatarUrl":{
"type":"string"
},
"created":{
"format":"int64",
"type":"integer"
},
"dashboardId":{
"format":"int64",
"type":"integer"
},
"dashboardUID":{
"type":"string"
},
"data":{
"$ref":"#/definitions/Json"
},
"email":{
"type":"string"
},
"id":{
"format":"int64",
"type":"integer"
},
"login":{
"type":"string"
},
"newState":{
"type":"string"
},
"panelId":{
"format":"int64",
"type":"integer"
},
"prevState":{
"type":"string"
},
"tags":{
"items":{
"type":"string"
},
"type":"array"
},
"text":{
"type":"string"
},
"time":{
"format":"int64",
"type":"integer"
},
"timeEnd":{
"format":"int64",
"type":"integer"
},
"updated":{
"format":"int64",
"type":"integer"
},
"userId":{
"format":"int64",
"type":"integer"
}
},
"type":"object"
},
"ApiRuleNode":{
"properties":{
"alert":{
@ -574,6 +738,7 @@
"type":"array"
},
"mute_time_intervals":{
"description":"MuteTimeIntervals is deprecated and will be removed before Alertmanager 1.0.",
"items":{
"$ref":"#/definitions/MuteTimeInterval"
},
@ -587,6 +752,12 @@
"type":"string"
},
"type":"array"
},
"time_intervals":{
"items":{
"$ref":"#/definitions/TimeInterval"
},
"type":"array"
}
},
"title":"Config is the top-level configuration for Alertmanager's config files.",
@ -645,12 +816,75 @@
},
"type":"array"
},
"CookieType":{
"type":"string"
},
"CounterResetHint":{
"description":"or alternatively that we are dealing with a gauge histogram, where counter resets do not apply.",
"format":"uint8",
"title":"CounterResetHint contains the known information about a counter reset,",
"type":"integer"
},
"CreateLibraryElementCommand":{
"description":"CreateLibraryElementCommand is the command for adding a LibraryElement",
"properties":{
"folderId":{
"description":"ID of the folder where the library element is stored.\n\nDeprecated: use FolderUID instead",
"format":"int64",
"type":"integer"
},
"folderUid":{
"description":"UID of the folder where the library element is stored.",
"type":"string"
},
"kind":{
"description":"Kind of element to create, Use 1 for library panels or 2 for c.\nDescription:\n1 - library panels\n2 - library variables",
"enum":[
1,
2
],
"format":"int64",
"type":"integer"
},
"model":{
"description":"The JSON model for the library element.",
"type":"object"
},
"name":{
"description":"Name of the library element.",
"type":"string"
},
"uid":{
"type":"string"
}
},
"type":"object"
},
"DashboardACLUpdateItem":{
"properties":{
"permission":{
"$ref":"#/definitions/PermissionType"
},
"role":{
"enum":[
"None",
"Viewer",
"Editor",
"Admin"
],
"type":"string"
},
"teamId":{
"format":"int64",
"type":"integer"
},
"userId":{
"format":"int64",
"type":"integer"
}
},
"type":"object"
},
"DashboardUpgrade":{
"properties":{
"dashboardId":{
@ -752,6 +986,9 @@
},
"webhook_url":{
"$ref":"#/definitions/SecretURL"
},
"webhook_url_file":{
"type":"string"
}
},
"title":"DiscordConfig configures notifications via Discord.",
@ -1327,6 +1564,7 @@
"type":"object"
},
"mute_time_intervals":{
"description":"MuteTimeIntervals is deprecated and will be removed before Alertmanager 1.0.",
"description":"From Start time in epoch timestamps in milliseconds or relative using Grafana time units.",
"example":"now-1h",
"type":"string"
},
"queries":{
"description":"queries.refId – Specifies an identifier of the query. Is optional and default to “A”.\nqueries.datasourceId – Specifies the data source to be queried. Each query in the request must have an unique datasourceId.\nqueries.maxDataPoints - Species maximum amount of data points that dashboard panel can render. Is optional and default to 100.\nqueries.intervalMs - Specifies the time interval in milliseconds of time series. Is optional and defaults to 1000.",
"example":[
{
"datasource":{
"uid":"PD8C576611E62080A"
},
"format":"table",
"intervalMs":86400000,
"maxDataPoints":1092,
"rawSql":"SELECT 1 as valueOne, 2 as valueTwo",
"refId":"A"
}
],
"items":{
"$ref":"#/definitions/Json"
},
"type":"array"
},
"to":{
"description":"To End time in epoch timestamps in milliseconds or relative using Grafana time units.",
"description":"The embedded FieldConfig's display name must be set.\nIt corresponds to the QueryResultMetaStat on the frontend (https://github.com/grafana/grafana/blob/master/packages/grafana-data/src/types/data.ts#L53).",
"properties":{
@ -3358,6 +3741,53 @@
"title":"Responses is a map of RefIDs (Unique Query ID) to DataResponses.",
"type":"object"
},
"RoleDTO":{
"properties":{
"created":{
"format":"date-time",
"type":"string"
},
"delegatable":{
"type":"boolean"
},
"description":{
"type":"string"
},
"displayName":{
"type":"string"
},
"global":{
"type":"boolean"
},
"group":{
"type":"string"
},
"hidden":{
"type":"boolean"
},
"name":{
"type":"string"
},
"permissions":{
"items":{
"$ref":"#/definitions/Permission"
},
"type":"array"
},
"uid":{
"type":"string"
},
"updated":{
"format":"date-time",
"type":"string"
},
"version":{
"format":"int64",
"type":"integer"
}
},
"type":"object"
},
"Route":{
"description":"A Route is a node that contains definitions of how to handle alerts. This is modified\nfrom the upstream alertmanager in that it adds the ObjectMatchers property.",
"properties":{
@ -3659,7 +4089,12 @@
"type":"object"
},
"Sample":{
"description":"Sample is a single sample belonging to a metric. It represents either a float\nsample or a histogram sample. If H is nil, it is a float sample. Otherwise,\nit is a histogram sample.",
"properties":{
"F":{
"format":"double",
"type":"number"
},
"H":{
"$ref":"#/definitions/FloatHistogram"
},
@ -3669,13 +4104,8 @@
"T":{
"format":"int64",
"type":"integer"
},
"V":{
"format":"double",
"type":"number"
}
},
"title":"Sample is a single sample belonging to a metric.",
"type":"object"
},
"Secret":{
@ -4168,42 +4598,18 @@
"type":"string"
},
"TimeInterval":{
"description":"TimeInterval describes intervals of time. ContainsTime will tell you if a golang time is contained\nwithin the interval.",
"properties":{
"days_of_month":{
"items":{
"type":"string"
},
"type":"array"
},
"location":{
"name":{
"type":"string"
},
"months":{
"items":{
"type":"string"
},
"type":"array"
},
"times":{
"items":{
"$ref":"#/definitions/TimeRange"
},
"type":"array"
},
"weekdays":{
"items":{
"type":"string"
},
"type":"array"
},
"years":{
"time_intervals":{
"items":{
"type":"string"
"$ref":"#/definitions/TimeInterval"
},
"type":"array"
}
},
"title":"TimeInterval represents a named set of time intervals for which a route should be muted.",
"type":"object"
},
"TimeIntervalItem":{
@ -4308,6 +4714,61 @@
"title":"URL is a custom URL type that allows validation at configuration load time.",
"type":"object"
},
"UpdateDashboardACLCommand":{
"properties":{
"items":{
"items":{
"$ref":"#/definitions/DashboardACLUpdateItem"
},
"type":"array"
}
},
"type":"object"
},
"UpdatePrefsCmd":{
"properties":{
"cookies":{
"items":{
"$ref":"#/definitions/CookieType"
},
"type":"array"
},
"homeDashboardId":{
"default":0,
"description":"The numerical :id of a favorited dashboard",
"format":"int64",
"type":"integer"
},
"homeDashboardUID":{
"type":"string"
},
"language":{
"type":"string"
},
"queryHistory":{
"$ref":"#/definitions/QueryHistoryPreference"
},
"theme":{
"enum":[
"light",
"dark",
"system"
],
"type":"string"
},
"timezone":{
"enum":[
"utc",
"browser"
],
"type":"string"
},
"weekStart":{
"type":"string"
}
},
"type":"object"
},
"UpdateRuleGroupResponse":{
"properties":{
"created":{
@ -4358,7 +4819,7 @@
"type":"array"
},
"Vector":{
"description":"Vector is basically only an alias for model.Samples, but the\ncontract is that in a Vector, all Samples have the same timestamp.",
"description":"Vector is basically only an alias for []Sample, but the contract is that\nin a Vector, all Samples have the same timestamp.",
"description":"Override the labels by which incoming alerts are grouped together. For example, multiple alerts coming in for\ncluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels\nuse the special value '...' as the sole label name.\nThis effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what\nyou want, unless you have a very low alert volume or your upstream notification system performs its own grouping.\nMust include 'alertname' and 'grafana_folder' if not using '...'.",
"example":[
"alertname",
"grafana_folder",
"cluster"
],
"items":{
"type":"string"
},
"type":"array"
},
"group_interval":{
"description":"Override how long to wait before sending a notification about new alerts that are added to a group of alerts for\nwhich an initial notification has already been sent. (Usually ~5m or more.)",
"example":"5m",
"type":"string"
},
"group_wait":{
"description":"Override how long to initially wait to send a notification for a group of alerts. Allows to wait for an\ninhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.)",
"example":"30s",
"type":"string"
},
"mute_time_intervals":{
"description":"Override the times when notifications should be muted. These must match the name of a mute time interval defined\nin the alertmanager configuration mute_time_intervals section. When muted it will not send any notifications, but\notherwise acts normally.",
"example":[
"maintenance"
],
"items":{
"type":"string"
},
"type":"array"
},
"receiver":{
"description":"Name of the receiver to send notifications to.",
"example":"grafana-default-email",
"type":"string"
},
"repeat_interval":{
"description":"Override how long to wait before sending a notification again if it has already been sent successfully for an\nalert. (Usually ~3h or more).\nNote that this parameter is implicitly bound by Alertmanager's `--data.retention` configuration flag.\nNotifications will be resent after either repeat_interval or the data retention period have passed, whichever\noccurs first. `repeat_interval` should not be less than `group_interval`.",
"example":"4h",
"type":"string"
}
},
"required":[
"receiver"
],
"type":"object"
},
"AlertRuleNotificationSettingsExport":{
"properties":{
"group_by":{
"items":{
"type":"string"
},
"type":"array"
},
"group_interval":{
"type":"string"
},
"group_wait":{
"type":"string"
},
"mute_time_intervals":{
"items":{
"type":"string"
},
"type":"array"
},
"receiver":{
"type":"string"
},
"repeat_interval":{
"type":"string"
}
},
"title":"AlertRuleNotificationSettingsExport is the provisioned export of models.NotificationSettings.",
"type":"object"
},
"AlertRuleUpgrade":{
"properties":{
"sendsTo":{
@ -574,6 +661,7 @@
"type":"array"
},
"mute_time_intervals":{
"description":"MuteTimeIntervals is deprecated and will be removed before Alertmanager 1.0.",
"items":{
"$ref":"#/definitions/MuteTimeInterval"
},
@ -587,6 +675,12 @@
"type":"string"
},
"type":"array"
},
"time_intervals":{
"items":{
"$ref":"#/definitions/TimeInterval"
},
"type":"array"
}
},
"title":"Config is the top-level configuration for Alertmanager's config files.",
@ -752,6 +846,9 @@
},
"webhook_url":{
"$ref":"#/definitions/SecretURL"
},
"webhook_url_file":{
"type":"string"
}
},
"title":"DiscordConfig configures notifications via Discord.",
@ -1327,6 +1424,7 @@
"type":"object"
},
"mute_time_intervals":{
"description":"MuteTimeIntervals is deprecated and will be removed before Alertmanager 1.0.",
"description":"Sample is a single sample belonging to a metric. It represents either a float\nsample or a histogram sample. If H is nil, it is a float sample. Otherwise,\nit is a histogram sample.",
"properties":{
"F":{
"format":"double",
"type":"number"
},
"H":{
"$ref":"#/definitions/FloatHistogram"
},
@ -3669,13 +3782,8 @@
"T":{
"format":"int64",
"type":"integer"
},
"V":{
"format":"double",
"type":"number"
}
},
"title":"Sample is a single sample belonging to a metric.",
"type":"object"
},
"Secret":{
@ -4168,42 +4276,18 @@
"type":"string"
},
"TimeInterval":{
"description":"TimeInterval describes intervals of time. ContainsTime will tell you if a golang time is contained\nwithin the interval.",
"properties":{
"days_of_month":{
"items":{
"type":"string"
},
"type":"array"
},
"location":{
"name":{
"type":"string"
},
"months":{
"items":{
"type":"string"
},
"type":"array"
},
"times":{
"items":{
"$ref":"#/definitions/TimeRange"
},
"type":"array"
},
"weekdays":{
"items":{
"type":"string"
},
"type":"array"
},
"years":{
"time_intervals":{
"items":{
"type":"string"
"$ref":"#/definitions/TimeInterval"
},
"type":"array"
}
},
"title":"TimeInterval represents a named set of time intervals for which a route should be muted.",
"type":"object"
},
"TimeIntervalItem":{
@ -4270,7 +4354,6 @@
"type":"object"
},
"URL":{
"description":"The general form represented is:\n\n[scheme:][//[userinfo@]host][/]path[?query][#fragment]\n\nURLs that do not start with a slash after the scheme are interpreted as:\n\nscheme:opaque[?query][#fragment]\n\nNote that the Path field is stored in decoded form: /%47%6f%2f becomes /Go/.\nA consequence is that it is impossible to tell which slashes in the Path were\nslashes in the raw URL and which were %2f. This distinction is rarely important,\nbut when it is, the code should use the EscapedPath method, which preserves\nthe original encoding of Path.\n\nThe RawPath field is an optional field which is only set when the default\nencoding of Path is different from the escaped path. See the EscapedPath method\nfor more details.\n\nURL's String method uses the EscapedPath method to obtain the path.",
"properties":{
"ForceQuery":{
"type":"boolean"
@ -4306,7 +4389,7 @@
"$ref":"#/definitions/Userinfo"
}
},
"title":"A URL represents a parsed URL (technically, a URI reference).",
"title":"URL is a custom URL type that allows validation at configuration load time.",
"type":"object"
},
"UpdateRuleGroupResponse":{
@ -4359,7 +4442,7 @@
"type":"array"
},
"Vector":{
"description":"Vector is basically only an alias for model.Samples, but the\ncontract is that in a Vector, all Samples have the same timestamp.",
"description":"Vector is basically only an alias for []Sample, but the contract is that\nin a Vector, all Samples have the same timestamp.",
"description":"Override the labels by which incoming alerts are grouped together. For example, multiple alerts coming in for\ncluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels\nuse the special value '...' as the sole label name.\nThis effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what\nyou want, unless you have a very low alert volume or your upstream notification system performs its own grouping.\nMust include 'alertname' and 'grafana_folder' if not using '...'.",
"type":"array",
"default":[
"alertname",
"grafana_folder"
],
"items":{
"type":"string"
},
"example":[
"alertname",
"grafana_folder",
"cluster"
]
},
"group_interval":{
"description":"Override how long to wait before sending a notification about new alerts that are added to a group of alerts for\nwhich an initial notification has already been sent. (Usually ~5m or more.)",
"type":"string",
"example":"5m"
},
"group_wait":{
"description":"Override how long to initially wait to send a notification for a group of alerts. Allows to wait for an\ninhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.)",
"type":"string",
"example":"30s"
},
"mute_time_intervals":{
"description":"Override the times when notifications should be muted. These must match the name of a mute time interval defined\nin the alertmanager configuration mute_time_intervals section. When muted it will not send any notifications, but\notherwise acts normally.",
"type":"array",
"items":{
"type":"string"
},
"example":[
"maintenance"
]
},
"receiver":{
"description":"Name of the receiver to send notifications to.",
"type":"string",
"example":"grafana-default-email"
},
"repeat_interval":{
"description":"Override how long to wait before sending a notification again if it has already been sent successfully for an\nalert. (Usually ~3h or more).\nNote that this parameter is implicitly bound by Alertmanager's `--data.retention` configuration flag.\nNotifications will be resent after either repeat_interval or the data retention period have passed, whichever\noccurs first. `repeat_interval` should not be less than `group_interval`.",
"type":"string",
"example":"4h"
}
}
},
"AlertRuleNotificationSettingsExport":{
"type":"object",
"title":"AlertRuleNotificationSettingsExport is the provisioned export of models.NotificationSettings.",
"properties":{
"group_by":{
"type":"array",
"items":{
"type":"string"
}
},
"group_interval":{
"type":"string"
},
"group_wait":{
"type":"string"
},
"mute_time_intervals":{
"type":"array",
"items":{
"type":"string"
}
},
"receiver":{
"type":"string"
},
"repeat_interval":{
"type":"string"
}
}
},
"AlertRuleUpgrade":{
"type":"object",
"properties":{
@ -4132,6 +4225,7 @@
}
},
"mute_time_intervals":{
"description":"MuteTimeIntervals is deprecated and will be removed before Alertmanager 1.0.",
"type":"array",
"items":{
"$ref":"#/definitions/MuteTimeInterval"
@ -4145,6 +4239,12 @@
"items":{
"type":"string"
}
},
"time_intervals":{
"type":"array",
"items":{
"$ref":"#/definitions/TimeInterval"
}
}
}
},
@ -4310,6 +4410,9 @@
},
"webhook_url":{
"$ref":"#/definitions/SecretURL"
},
"webhook_url_file":{
"type":"string"
}
}
},
@ -4887,6 +4990,7 @@
}
},
"mute_time_intervals":{
"description":"MuteTimeIntervals is deprecated and will be removed before Alertmanager 1.0.",
"description":"Sample is a single sample belonging to a metric. It represents either a float\nsample or a histogram sample. If H is nil, it is a float sample. Otherwise,\nit is a histogram sample.",
"type":"object",
"title":"Sample is a single sample belonging to a metric.",
"properties":{
"F":{
"type":"number",
"format":"double"
},
"H":{
"$ref":"#/definitions/FloatHistogram"
},
@ -7231,10 +7349,6 @@
"T":{
"type":"integer",
"format":"int64"
},
"V":{
"type":"number",
"format":"double"
}
}
},
@ -7728,40 +7842,16 @@
"type":"string"
},
"TimeInterval":{
"description":"TimeInterval describes intervals of time. ContainsTime will tell you if a golang time is contained\nwithin the interval.",
"type":"object",
"title":"TimeInterval represents a named set of time intervals for which a route should be muted.",
"properties":{
"days_of_month":{
"type":"array",
"items":{
"type":"string"
}
},
"location":{
"name":{
"type":"string"
},
"months":{
"type":"array",
"items":{
"type":"string"
}
},
"times":{
"type":"array",
"items":{
"$ref":"#/definitions/TimeRange"
}
},
"weekdays":{
"type":"array",
"items":{
"type":"string"
}
},
"years":{
"time_intervals":{
"type":"array",
"items":{
"type":"string"
"$ref":"#/definitions/TimeInterval"
}
}
}
@ -7830,9 +7920,8 @@
}
},
"URL":{
"description":"The general form represented is:\n\n[scheme:][//[userinfo@]host][/]path[?query][#fragment]\n\nURLs that do not start with a slash after the scheme are interpreted as:\n\nscheme:opaque[?query][#fragment]\n\nNote that the Path field is stored in decoded form: /%47%6f%2f becomes /Go/.\nA consequence is that it is impossible to tell which slashes in the Path were\nslashes in the raw URL and which were %2f. This distinction is rarely important,\nbut when it is, the code should use the EscapedPath method, which preserves\nthe original encoding of Path.\n\nThe RawPath field is an optional field which is only set when the default\nencoding of Path is different from the escaped path. See the EscapedPath method\nfor more details.\n\nURL's String method uses the EscapedPath method to obtain the path.",
"type":"object",
"title":"A URL represents a parsed URL (technically, a URI reference).",
"title":"URL is a custom URL type that allows validation at configuration load time.",
"properties":{
"ForceQuery":{
"type":"boolean"
@ -7919,7 +8008,7 @@
}
},
"Vector":{
"description":"Vector is basically only an alias for model.Samples, but the\ncontract is that in a Vector, all Samples have the same timestamp.",
"description":"Vector is basically only an alias for []Sample, but the contract is that\nin a Vector, all Samples have the same timestamp.",
"description":"Override the labels by which incoming alerts are grouped together. For example, multiple alerts coming in for\ncluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels\nuse the special value '...' as the sole label name.\nThis effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what\nyou want, unless you have a very low alert volume or your upstream notification system performs its own grouping.\nMust include 'alertname' and 'grafana_folder' if not using '...'.",
"type":"array",
"default":[
"alertname",
"grafana_folder"
],
"items":{
"type":"string"
},
"example":[
"alertname",
"grafana_folder",
"cluster"
]
},
"group_interval":{
"description":"Override how long to wait before sending a notification about new alerts that are added to a group of alerts for\nwhich an initial notification has already been sent. (Usually ~5m or more.)",
"type":"string",
"example":"5m"
},
"group_wait":{
"description":"Override how long to initially wait to send a notification for a group of alerts. Allows to wait for an\ninhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.)",
"type":"string",
"example":"30s"
},
"mute_time_intervals":{
"description":"Override the times when notifications should be muted. These must match the name of a mute time interval defined\nin the alertmanager configuration mute_time_intervals section. When muted it will not send any notifications, but\notherwise acts normally.",
"type":"array",
"items":{
"type":"string"
},
"example":[
"maintenance"
]
},
"receiver":{
"description":"Name of the receiver to send notifications to.",
"type":"string",
"example":"grafana-default-email"
},
"repeat_interval":{
"description":"Override how long to wait before sending a notification again if it has already been sent successfully for an\nalert. (Usually ~3h or more).\nNote that this parameter is implicitly bound by Alertmanager's `--data.retention` configuration flag.\nNotifications will be resent after either repeat_interval or the data retention period have passed, whichever\noccurs first. `repeat_interval` should not be less than `group_interval`.",
"type":"string",
"example":"4h"
}
}
},
"AlertRuleNotificationSettingsExport":{
"type":"object",
"title":"AlertRuleNotificationSettingsExport is the provisioned export of models.NotificationSettings.",
"properties":{
"group_by":{
"type":"array",
"items":{
"type":"string"
}
},
"group_interval":{
"type":"string"
},
"group_wait":{
"type":"string"
},
"mute_time_intervals":{
"type":"array",
"items":{
"type":"string"
}
},
"receiver":{
"type":"string"
},
"repeat_interval":{
"type":"string"
}
}
},
"AlertRuleUpgrade":{
"type":"object",
"properties":{
@ -13243,6 +13330,7 @@
}
},
"mute_time_intervals":{
"description":"MuteTimeIntervals is deprecated and will be removed before Alertmanager 1.0.",
"type":"array",
"items":{
"$ref":"#/definitions/MuteTimeInterval"
@ -13256,6 +13344,12 @@
"items":{
"type":"string"
}
},
"time_intervals":{
"type":"array",
"items":{
"$ref":"#/definitions/TimeInterval"
}
}
}
},
@ -14442,6 +14536,9 @@
},
"webhook_url":{
"$ref":"#/definitions/SecretURL"
},
"webhook_url_file":{
"type":"string"
}
}
},
@ -15242,6 +15339,7 @@
}
},
"mute_time_intervals":{
"description":"MuteTimeIntervals is deprecated and will be removed before Alertmanager 1.0.",
"description":"Sample is a single sample belonging to a metric. It represents either a float\nsample or a histogram sample. If H is nil, it is a float sample. Otherwise,\nit is a histogram sample.",
"type":"object",
"title":"Sample is a single sample belonging to a metric.",
"properties":{
"F":{
"type":"number",
"format":"double"
},
"H":{
"$ref":"#/definitions/FloatHistogram"
},
@ -19384,10 +19496,6 @@
"T":{
"type":"integer",
"format":"int64"
},
"V":{
"type":"number",
"format":"double"
}
}
},
@ -20501,40 +20609,16 @@
"type":"string"
},
"TimeInterval":{
"description":"TimeInterval describes intervals of time. ContainsTime will tell you if a golang time is contained\nwithin the interval.",
"type":"object",
"title":"TimeInterval represents a named set of time intervals for which a route should be muted.",
"properties":{
"days_of_month":{
"type":"array",
"items":{
"type":"string"
}
},
"location":{
"name":{
"type":"string"
},
"months":{
"type":"array",
"items":{
"type":"string"
}
},
"times":{
"type":"array",
"items":{
"$ref":"#/definitions/TimeRange"
}
},
"weekdays":{
"type":"array",
"items":{
"type":"string"
}
},
"years":{
"time_intervals":{
"type":"array",
"items":{
"type":"string"
"$ref":"#/definitions/TimeInterval"
}
}
}
@ -21520,7 +21604,7 @@
}
},
"Vector":{
"description":"Vector is basically only an alias for model.Samples, but the\ncontract is that in a Vector, all Samples have the same timestamp.",
"description":"Vector is basically only an alias for []Sample, but the contract is that\nin a Vector, all Samples have the same timestamp.",
"description":"Override the labels by which incoming alerts are grouped together. For example, multiple alerts coming in for\ncluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels\nuse the special value '...' as the sole label name.\nThis effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what\nyou want, unless you have a very low alert volume or your upstream notification system performs its own grouping.\nMust include 'alertname' and 'grafana_folder' if not using '...'.",
"example":[
"alertname",
"grafana_folder",
"cluster"
],
"items":{
"type":"string"
},
"type":"array"
},
"group_interval":{
"description":"Override how long to wait before sending a notification about new alerts that are added to a group of alerts for\nwhich an initial notification has already been sent. (Usually ~5m or more.)",
"example":"5m",
"type":"string"
},
"group_wait":{
"description":"Override how long to initially wait to send a notification for a group of alerts. Allows to wait for an\ninhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.)",
"example":"30s",
"type":"string"
},
"mute_time_intervals":{
"description":"Override the times when notifications should be muted. These must match the name of a mute time interval defined\nin the alertmanager configuration mute_time_intervals section. When muted it will not send any notifications, but\notherwise acts normally.",
"example":[
"maintenance"
],
"items":{
"type":"string"
},
"type":"array"
},
"receiver":{
"description":"Name of the receiver to send notifications to.",
"example":"grafana-default-email",
"type":"string"
},
"repeat_interval":{
"description":"Override how long to wait before sending a notification again if it has already been sent successfully for an\nalert. (Usually ~3h or more).\nNote that this parameter is implicitly bound by Alertmanager's `--data.retention` configuration flag.\nNotifications will be resent after either repeat_interval or the data retention period have passed, whichever\noccurs first. `repeat_interval` should not be less than `group_interval`.",
"example":"4h",
"type":"string"
}
},
"required":[
"receiver"
],
"type":"object"
},
"AlertRuleNotificationSettingsExport":{
"properties":{
"group_by":{
"items":{
"type":"string"
},
"type":"array"
},
"group_interval":{
"type":"string"
},
"group_wait":{
"type":"string"
},
"mute_time_intervals":{
"items":{
"type":"string"
},
"type":"array"
},
"receiver":{
"type":"string"
},
"repeat_interval":{
"type":"string"
}
},
"title":"AlertRuleNotificationSettingsExport is the provisioned export of models.NotificationSettings.",
"type":"object"
},
"AlertRuleUpgrade":{
"properties":{
"sendsTo":{
@ -3789,6 +3876,7 @@
"type":"array"
},
"mute_time_intervals":{
"description":"MuteTimeIntervals is deprecated and will be removed before Alertmanager 1.0.",
"items":{
"$ref":"#/components/schemas/MuteTimeInterval"
},
@ -3802,6 +3890,12 @@
"type":"string"
},
"type":"array"
},
"time_intervals":{
"items":{
"$ref":"#/components/schemas/TimeInterval"
},
"type":"array"
}
},
"title":"Config is the top-level configuration for Alertmanager's config files.",
@ -4988,6 +5082,9 @@
},
"webhook_url":{
"$ref":"#/components/schemas/SecretURL"
},
"webhook_url_file":{
"type":"string"
}
},
"title":"DiscordConfig configures notifications via Discord.",
@ -5789,6 +5886,7 @@
"type":"object"
},
"mute_time_intervals":{
"description":"MuteTimeIntervals is deprecated and will be removed before Alertmanager 1.0.",
"description":"Sample is a single sample belonging to a metric. It represents either a float\nsample or a histogram sample. If H is nil, it is a float sample. Otherwise,\nit is a histogram sample.",
"properties":{
"F":{
"format":"double",
"type":"number"
},
"H":{
"$ref":"#/components/schemas/FloatHistogram"
},
@ -9930,13 +10043,8 @@
"T":{
"format":"int64",
"type":"integer"
},
"V":{
"format":"double",
"type":"number"
}
},
"title":"Sample is a single sample belonging to a metric.",
"type":"object"
},
"SaveDashboardCommand":{
@ -11048,42 +11156,18 @@
"type":"string"
},
"TimeInterval":{
"description":"TimeInterval describes intervals of time. ContainsTime will tell you if a golang time is contained\nwithin the interval.",
"properties":{
"days_of_month":{
"items":{
"type":"string"
},
"type":"array"
},
"location":{
"name":{
"type":"string"
},
"months":{
"items":{
"type":"string"
},
"type":"array"
},
"times":{
"items":{
"$ref":"#/components/schemas/TimeRange"
},
"type":"array"
},
"weekdays":{
"items":{
"type":"string"
},
"type":"array"
},
"years":{
"time_intervals":{
"items":{
"type":"string"
"$ref":"#/components/schemas/TimeInterval"
},
"type":"array"
}
},
"title":"TimeInterval represents a named set of time intervals for which a route should be muted.",
"type":"object"
},
"TimeIntervalItem":{
@ -12067,7 +12151,7 @@
"type":"array"
},
"Vector":{
"description":"Vector is basically only an alias for model.Samples, but the\ncontract is that in a Vector, all Samples have the same timestamp.",
"description":"Vector is basically only an alias for []Sample, but the contract is that\nin a Vector, all Samples have the same timestamp.",