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

Creating a Custom Metric

  • Sign in to your account.
  • Select Public Metrics from the left-hand navigation.
  • Click "Add a Metric" and select "I'll submit my own data for this metric."
  • For the metric name and suffix, we recommend "API Response Time" and "ms"
  • Once created, you'll see some sample code that contains the API key, page ID and metric ID we'll use when adding the integration to Runscope.

Connecting with Runscope

Once you have created the custom metric, return to Runscope to complete the integration.

  • Sign in to your Runscope account.
  • Go to the Connected Services settings for your team.
  • Select "Connect" from the list of services.
  • Enter the API key, page ID and metric ID from values copied from the code sample.
  • 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 at any time by disconnecting the service in your team's settings.

Because of the way 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 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 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.

Need help? We have you covered.

View the docs or contact our support team and we'll get back to you as soon as we're able to respond.