Skip to content

Deployment

deployment_alert_create

Create a threshold alert rule for a service or managed service

Tool

deployment_alert_create

Create a threshold alert rule for a service or managed service

Create a threshold alert rule for a service or managed service

Behavior

HTTP
POST /deployment/alerts

Arguments

NameTypeRequiredDescription
metricstringNo description in the catalog.
enabledbooleanNo description in the catalog.
targetIdstringNo description in the catalog.
thresholdnumberNo description in the catalog.
comparatorstringNo description in the catalog.
targetKindstringNo description in the catalog.

Response

FieldTypeAlwaysDescription
idstring
statestring
metricstring
enabledboolean
targetIdstring
createdAtstring
productIdstring
thresholdnumber
updatedAtstring
comparatorstring
targetKindstring
environmentIdstring
lastEvaluatedAtstring
lastStateChangeAtstring

Try it

Create a threshold alert rule for a service or managed service.

When to use

Create a threshold alert rule for a service or managed service

Example

Ask your agent something like this:

Create a threshold alert rule for a service or managed service.

The agent will invoke deployment_alert_create with these arguments:

{
  "metric": "<metric>",
  "targetId": "<targetId>",
  "threshold": "<threshold>",
  "comparator": "<comparator>",
  "targetKind": "<targetKind>"
}

Esc

Start typing to search the docs.

navigateselect