AlertTemplate [alerttemplates.aiops.alauda.io/v1beta1]
- Type
object
Specification
.spec
- Description
- spec contains specification parameters for a template resource
- Type
object
.spec.templates
- Description
- templates is a list of alert template
- Type
array
.spec.templates[]
- Description
- template item
- Type
object- Required
comparemetricnamethresholdwait
.spec.templates[].annotations
- Description
- rule annotations
- Type
object
.spec.templates[].labels
- Description
- rule labels
- Type
object
.spec.templates[].metric
- Description
- metric info for this alert
- Type
object
.spec.templates[].metric.queries
- Description
- queries array for this metric
- Type
array
.spec.templates[].metric.queries[]
- Type
object
.spec.templates[].metric.queries[].labels
- Description
- labels for alert object
- Type
array
.spec.templates[].metric.queries[].labels[]
- Type
object
.spec.templates[].notifications
- Description
- notifcations triggered by this alert
- Type
array
.spec.templates[].notifications[]
- Type
object
API Endpoints
The following API endpoints are available:
/apis/aiops.alauda.io/v1beta1/namespaces/{namespace}/alerttemplatesDELETE: delete collection of AlertTemplateGET: list objects of kind AlertTemplatePOST: create a new AlertTemplate
/apis/aiops.alauda.io/v1beta1/namespaces/{namespace}/alerttemplates/{name}DELETE: delete the specified AlertTemplateGET: read the specified AlertTemplatePATCH: partially update the specified AlertTemplatePUT: replace the specified AlertTemplate
/apis/aiops.alauda.io/v1beta1/namespaces/{namespace}/alerttemplates
- HTTP method
DELETE- Description
- delete collection of AlertTemplate
- HTTP responses
- HTTP method
GET- Description
- list objects of kind AlertTemplate
- HTTP responses
- HTTP method
POST- Description
- create a new AlertTemplate
- Query parameters
- Body parameters
- HTTP responses
/apis/aiops.alauda.io/v1beta1/namespaces/{namespace}/alerttemplates/{name}
- HTTP method
DELETE- Description
- delete the specified AlertTemplate
- Query parameters
- HTTP responses
- HTTP method
GET- Description
- read the specified AlertTemplate
- HTTP responses
- HTTP method
PATCH- Description
- partially update the specified AlertTemplate
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace the specified AlertTemplate
- Query parameters
- Body parameters
- HTTP responses