create alerts
create alerts
Path Parameters
provider_type string required
provider_id uint64 required
application/json
Request Body required
object
Responses
- 200
- default
A successful response.
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
alerts object[]
id uint64
provider_id uint64
resource_name string
metric_name string
metric_value string
severity string
rule string
triggered_at date-time
namespace_id uint64
silence_status string
created_at date-time
updated_at date-time
group_key string
status string
annotations object
property name* string
labels object
property name* string
generator_url string
fingerprint string
{
"alerts": [
{
"id": "string",
"provider_id": "string",
"resource_name": "string",
"metric_name": "string",
"metric_value": "string",
"severity": "string",
"rule": "string",
"triggered_at": "2024-07-09T13:51:06.053Z",
"namespace_id": "string",
"silence_status": "string",
"created_at": "2024-07-09T13:51:06.053Z",
"updated_at": "2024-07-09T13:51:06.053Z",
"group_key": "string",
"status": "string",
"annotations": {},
"labels": {},
"generator_url": "string",
"fingerprint": "string"
}
]
}
An unexpected error response.
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
code int32
message string
details object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...