Scrape one integration's alert counters
Returns this integration's alert counters as a Prometheus text exposition (text/plain; version=0.0.4), not JSON. Intended as a scrape target for the customer's own Prometheus, and usable as a cheap check of whether an integration has ever received anything.
Authentication is the integration secret, exactly as on the alert endpoint — Authorization: Bearer <secret>, X-WardenPoint-Secret, or ?secret= for CloudWatch integrations. No API key is involved. If the integration has hmac_enabled, this GET must be signed the same way an alert POST is: X-WardenPoint-Timestamp plus X-WardenPoint-Signature over "<timestamp>." and the (empty) body, each signature usable once. A stock Prometheus scrape config cannot produce that, so keep HMAC off on integrations you intend to scrape.
Three metric families are exposed, all scoped to this integration and all counted over its whole lifetime — there is no time-range parameter:
- wardenpoint_external_alerts_total{integration,type} — alerts ever created.
- wardenpoint_external_alert_events_total{integration,action} — occurrences, one series per accumulation action (suppress, message, escalate). An action with no occurrences yet has no series at all rather than a zero.
- wardenpoint_external_alerts_active{integration} — alerts currently firing.
These count what the source system sent, not what was delivered: an integration whose alerts are all suppressed still shows a rising events total. Unlike the alert endpoint, this one does not care whether the integration is active, and it works for email integrations too.
Request
- Base URL: https://wardenpoint.com (the document declares no server; this is the origin it was published from)
- URL: https://wardenpoint.com/api/v1/observability/metrics/{integration}
- Auth: HTTP bearer
Path parameters
UUID of the observability integration — the same one in endpoint_url and metrics_url.
Response
Prometheus text exposition. Not JSON — parse it as metrics, or hand the URL to a scraper.
Changes
No recorded changes to this operation across all 1 revision of this API.