In addition to integrated services such as Pingdom and New Relic, StatusCast allows you to post and display custom metrics. To create a custom metric log into your StatusCast admin portal, [yourapp].statuscast.com/admin and navigate to the Layout section. Once there drag the Metric wizard on your right and drop it into your page layout.
Select New Metric.
Enter a Display name, choose a Custom provider, and enter your metric type. The metric type will be the unit of measurement that displays on your graph.
Select the the Save button, you will now be returned to your list of Metrics. You will notice an API Key displaying next to your newly created custom metric. You will need this key to post metrics to the system through the REST API.
Now your statuspage will have a graph representing the custom metric data you send to StatusCast.
First, you will need to understand authentication for our REST API. To post a new metric to the system, send a POST request (with your basic authentication credentials) to [yourapp] statuscast.com//v1/metrics/custom with the following JSON:
The timestamp field can be sent in any of the following formats:
If you refresh the status page, you will see a representation of the new datapoint on the graph. Keep in mind that graph data is cached, so graphs will not immediately present metrics upon posting. It may take up to 10 minutes for the new datapoint to display on the graph.