Fetch alert counters
GET {{base_url}}/api/alert_manager/v1/count
Fetches the alert counters that may be grouped by optional parameters.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
embed_tenants | boolean | (Optional) If true, alert counters will be grouped by tenants. |
Type: Boolean |
| embed_types
| boolean | | (Optional) If true, alert counters will be grouped by alert types. When combined with embed_severities
alert counters will be grouped first by severities and then by types. This parameter is mutually exclusive with the embed_categories
parameter.
Type: Boolean |
| embed_severities
| boolean | | (Optional) If true, alert counters will be grouped by alert severities. When combined with embed_types
alert counters will be grouped first by severities and then by types. This parameter is mutually exclusive with the embed_categories
parameter.
Type: Boolean |
| embed_categories
| boolean | | (Optional) If true, alert counters will be grouped by alert categories. This parameter is mutually exclusive with the embed_types
and embed_severities
parameters.
Type: Boolean |
RESPONSES
status: OK
{"total":2,"categories":{"Backup":2},"tenants":[{"total":1,"categories":{"Backup":1},"id":"2","locator":"/1/2/"},{"total":1,"categories":{"Backup":1},"id":"3","locator":"/1/3/"}]}