Atlassian Statuspage an uptime and incident communication tools. You can use Statuspage to create a home page for your customers so they can monitor if subsystems or services within your site are operational, and find out more information on system outages or failures. A great example of a Statuspage home page is Postman's status page, located at status.postman.com.
The Statuspage integration enables you to send metrics like response times to Statuspage and create and communicate incidents in case of a failure. When a Postman monitor test run fails, this integration can then send updates to Statuspage.
Setting up a Statuspage integration requires you to get an API key from Statuspage, and configure if a monitor is linked to a Statuspage component, if a monitoring run failure creates a Statuspage incident, or both.
Make sure to create your Statuspage account and create a page and components before you begin. For more information, visit Atlassian's Statuspage page.
- Log in to Statuspage.
- Click your avatar icon in the bottom left of the page.
- On the user menu, select API info.
- Click Create key to create a new key, or find an existing key you want to use.
- Copy the API key for later use.
- On your Home page, navigate to Integrations, click Browse All Integrations, and click Statuspage in the list of third-party integrations.
- Click Add Integration.
- In the Authenticate tab, enter the Statuspage API key you copied above.
- Click Authenticate and Proceed. The Configure tab is shown.
- Enter a nickname for the integration.
- Select a workspace from the list which contains the monitor you would like to use.
- Select the monitor you wish to use from the list.
- Select a Statuspage page where the monitor updates will be sent. This list will be populated with the pages you have created in Statuspage.
- Select one or both Statuspage actions. See Link monitor to component and Create incident when monitoring run fails for information on how to fill in these sections.
- Click the Add Integration button.
When this action is configured, if the specified monitor fails a test run, it will change the status of the linked component.
If you select the Link a monitor to a component action, enter the following:
- Select a component from the list. The list will be populated with the components you have created in Statuspage.
- Select a component success status from the list. This status will be displayed in Statuspage when the linked monitor is running normally.
- Select a component failure status from the list. This status will be displayed in Statuspage when the linked monitor fails a test run.
When the monitor fails, the linked component's status will change on your status page:
When a component's status is changed due to a failed test run, it will remain in that state until there is a successful test run in the monitor. After a successful run, the component status will return to the successful state.
When this action is configured, if the specified monitor fails a test run, a Statuspage incident is created. The incident provides context to customers on why the failure happened, and what will be done to address it.
If you select the Create incident when monitoring run fails action, enter the following:
- Enter a name for the incident name. This is the text shown to customers when they see the incident.
- Select an Incident status from the list.
- Select an Incident impact from the list. You can set this according to the importance of the service you are monitoring. For example, the failure of an optional, seldom-used API could trigger a minor incident, but the failure of your main authentication API would have critical impact.
When the monitor fails, an incident will be created on your status page:
When an incident is created by a failed test run, if a successive test run finishes successfully, the incident will be closed.