v7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-013764062.2 MB
Metrics

Set the external impact-metrics source.

Enterprise feature

Updates the configuration of the external impact-metrics source (any Prometheus-compatible endpoint).

post/api/admin/impact-metrics/external-source

Request body

enabledboolean required

Whether the external impact-metrics source is active. When true, url must be a valid non-empty URL.

urlstring

Base URL of the external impact-metrics source. Basic-Auth credentials may be embedded in the URL (e.g. https://user:pass@metrics.example.com); they are extracted into an Authorization header on outbound requests. Required (non-empty, valid URL) when enabled is true; an empty string is discarded when enabled is false.

Example request

{
  "enabled": true,
  "url": "https://metrics.example.com"
}

Response

This response has no body.