Statuspage Integration

Statuspage provides service status pages with support for custom metrics. When connected, API response times can be added to your status pages and updated as tests are completed.

Create a Custom Metric

Follow these steps:

  1. Sign in to your Statuspage account.
  2. Select Public Metrics from the left-hand navigation.
  3. Click Add a Metric and select I'll submit my own data for this metric.
  4. For the metric name and suffix, we recommend API Response Time and ms.
    statuspage-metric-add.png
  5. Once created, you will see some sample code that contains the API key, page ID and metric ID that you will use when configuring the integration.

Connect Statuspage

Once you have created the custom metric, return to BlazeMeter API Monitoring to complete the integration.

Follow these steps:

  1. Sign in to your BlazeMeter API Monitoring account.
  2. Click on the Profile & Account Settings icon on top-right, and choose Connected Services.
  3. Find and click on Connect StatusPage.io from the list of services.
  4. Enter the API key, page ID and metric ID from values copied from the Statuspage code sample.
  5. After saving, enable the integration from the test-specific or shared environment settings of the test you'd like to generate the data.

You can disconnect Statuspage at any time by disconnecting the service on the Connected Services page.

Recommended Setup

Because of the way Statuspage interpolates custom metrics, you'll want to make sure to only send metrics from tests running in a single location. If you have an existing test set up that runs from multiple locations, you can add another environment to that test specifically for sending data to Statuspage. Once the environment is created, select a single location in the location settings, enable the integration, and create a 1 or 5 minute schedule using this environment.

Once data is flowing into your Statuspage account, you can configure advanced display settings. For best results, set the "Y-Axis" minimum to 0, "Rollup Display" to Mean, and "Data Display > Decimal Places" to 0.