Integration health
How Wardn tells you whether GitHub, Slack, Microsoft Teams, Discord, Prometheus, PagerDuty, ServiceNow and Jira are working, what waits when one is not, who is told when one goes down, and how to test, pause and disconnect them.
The Integrations page (Settings › Integrations) shows every system Wardn depends on with one kind of health, so you can see at a glance which rules are about to wait and why. Open an integration for the detail: its state, what uses it, what happens if it fails, and what Wardn sent to it or received from it lately.
The five states
| State | Means |
|---|---|
| Connected | It answers, at about the speed it usually does. |
| Degraded | It still answers, but something is off, and the page says what: slow responses, 4.2s, usually 0.6s, the last 3 calls failed, recovering after failures, or the last webhook delivery failed. Rules keep using it. |
| Down | Five calls in a row failed. The page says how long it has been down and when Wardn tries again. While it is down Wardn sends it nothing, so a slow outage does not hold anything else up. |
| Paused | A person paused it. Wardn does not use it. |
| Not connected | There is nothing to use. |
The state comes from what Wardn's own calls have seen: how long they take compared with how long they usually take, and whether they fail. It is not a status page's word. For Prometheus, which Wardn asks a one-line question every ten seconds, a stopped server reads Down within about a minute even when no release is running. For the others the state follows real traffic. PagerDuty is also judged by how recently its account was read: when the mirror of its incidents and schedules has not been refreshed lately the page says PagerDuty has not been read lately, so incidents and who is on call are not believed, shows it as Degraded, and the rules that count incidents wait.
Down, Paused and Not connected all mean the same to a rule that needs the integration: it waits, and never passes. A wave check that needs Prometheus or Datadog reads unknown and the wave pauses. A change-ticket rule that cannot read its ticket waits. A rule that counts incidents waits, and the on-call groups PagerDuty fills are emptied. A release that is already running keeps going: its rules were decided when it started.
Which integrations are on the page
| Integration | Connected how | Used by |
|---|---|---|
| GitHub | The GitHub App, installed on GitHub (GitHub) | Snapshot commits and PRs, CODEOWNERS as approvers, remediation PRs |
| Slack | PUT /integrations/slack/connection (Slack) | Approval and bypass requests, release updates and break-glass restores in channels |
| Microsoft Teams and Discord | Channels added on the integration's page, each with its own incoming webhook (Microsoft Teams, Discord) | Approval and bypass requests, release updates and break-glass restores in channels, as links to Wardn |
| Okta and Vault | Set up in single sign-on settings (Single sign-on) and in secret stores (Secret stores); the card has no connect flow of its own and links there | Sign-in and SCIM teams; secret references |
| Prometheus | The server's configuration (Prometheus) | Wave verify checks |
| PagerDuty | PUT /pagerduty (PagerDuty) | Incidents, rules that need no open incident, on-call groups |
| GitLab, Bitbucket, Azure DevOps, GitHub Enterprise Server, Gitea / Forgejo | Connect on the page, or POST /git-hosts (Git hosts) | Snapshot commits, previews, wardn/sync and wardn/release statuses, merge request comments. Releases never wait on a post |
| Webhooks | Add endpoint on the page, or POST /outbound-webhooks (Webhooks) | Release and approval events sent to your own systems. Nothing waits on it |
| Opsgenie | PUT /opsgenie (Opsgenie) | Incidents opened from alerts, on-call groups |
| Datadog | PUT /deploy-markers/datadog (Datadog) | Wave checks that read monitors and metrics, deploy markers |
| Grafana | PUT /deploy-markers/grafana (Grafana) | Deploy markers as annotations |
| Sentry | PUT /sentry (Sentry) | Releases recorded in Sentry, error spikes as a signal and a wave check, incidents from new issues in production |
| ServiceNow and Jira | PUT /change-systems/{system} (ServiceNow and Jira) | Change-ticket guardrails and stage gate ticket checks |
What the page shows for each
- Used by. The features and rules that depend on it, each marked ok or wait. Where Wardn can count them it does: Prometheus shows how many release waves still to run have a check.
- When it fails. In a sentence, what happens meanwhile. For Slack: messages wait in a queue and post once when it is back.
- Recent deliveries. What Wardn sent to the provider (each attempt, and whether it was delivered, will be retried or gave up) and what the provider sent to Wardn (webhooks and button clicks, accepted or refused). The last 24 hours are counted above the list, with how many events are still queued. Two weeks are kept.
Test, pause, disconnect
You need integration:manage (Owners and Admins).
- Test connection makes one real call and says how long it took, or why it failed. It changes nothing.
- Pause stops Wardn using the integration; rules that need it wait. Resume starts again. Nothing is uninstalled. Webhooks are paused and tested one endpoint at a time, on the endpoint's own page.
- Disconnect removes the connection and its credentials from the secret store; for Webhooks it deletes every endpoint. The GitHub App is removed on GitHub, and Prometheus is set up by the server's configuration, so neither can be disconnected from the page.
curl -fsS "$WARDN_API_URL/api/v1/integrations" -H "Authorization: Bearer $WARDN_TOKEN" # every integration and its health
curl -fsS -X POST "$WARDN_API_URL/api/v1/integrations/prometheus/test" -H "Authorization: Bearer $WARDN_TOKEN"
curl -fsS -X POST "$WARDN_API_URL/api/v1/integrations/prometheus/pause" -H "Authorization: Bearer $WARDN_TOKEN"Who is told when one goes down
When an integration goes Down, the people who hold integration:manage get an Integration down notice in their inbox, once for that outage: going down again while the first notice is unread adds nothing. It says which integration and why, and opens Settings › Integrations. You can turn it off in Settings › Notifications; a notice that is not in-app is never made.
Dead letters
When Slack refuses something that trying again cannot fix, such as a revoked token or a channel the bot is not in, the message is not retried: it is kept as a dead letter and counted on the page. Messages that only failed because Slack was slow or down are retried with growing waits, up to eight tries.
Integrations Wardn has no connection for yet (Datadog) are listed on the page as cards that are not connected; connecting them is planned. The connect form on the page starts only the GitHub App today, and Teams and Discord channels are added on their own pages. Slack, PagerDuty, ServiceNow and Jira are connected with the API calls on their own pages, and the page then shows their health.
Okta and Vault are not connected here at all. Their cards show health read from the settings they link to: Okta from the organization's sign-in domains (a domain whose DNS proof lapsed makes the card degraded), Vault from the result of each secret store's last test (a store that failed makes it degraded and its rules wait). Their buttons open single sign-on settings and secret stores. The model gateway and sandbox engine are not integrations on this page: they are set up on the server.