Metrics

Enable or disable metric collection for an external service.

Changed on

When enabled=true, seeds the default alert rules for the service's engine via [temps_alarms::seed_default_rules] (idempotent).

patch/external-services/{id}/metrics/enable

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

idinteger required

External service ID

Request body

enabledboolean required

Whether to enable (true) or disable (false) metric collection.

Response

Metrics toggle applied

Changes