Publish SIGNL4 oncall and alert information to your Grafana dashboard

Nov 10, 2021 | General

Grafana is as open source analytics and interactive visualization application. You can connect different data sources to display chart and graphs or even trigger alerts.

Wouldn’t it be great to add information about SIGNL4 alerts or about who is on call as part of your dashboard? In this case you immediately get an overview about open, acknowledged, and closed alerts per category. Of course you can see who is currently on duty.

Here is an example with a who-is-on call, and an alert overview panel.

Grafana Dashboard

In order to display SIGNL4 data in Grafana we use the SIGNL4 REST API and the JSON API plugin for Grafana.

How does it work?

First we add the JSON API plugin to Grafana and add new data sources.

For getting the alert overview we use the REST API call to get the alert reports:

GET https://connect.signl4.com/api/v2/alerts/report?userId=<user-id>&teamId=<team-id>
X-S4-Api-Key: <signl4-api-key>

Grafana Date Source

For getting the on-call information we use the REST API call to get the user information:
GET https://connect.signl4.com/api/v2/users
X-S4-Api-Key: <signl4-api-key>
Then we add a new panels for the newly created data sources. You can use JSONPath statements to extract the information you need.
For the alert information the configuration looks like this:

Grafana Edit Panel

That is it and now you can fine tune, add more information or different panels in order to show the respective SIGNL4 information right where you need it.
You can download the sample dashboard here at GitHub.

Discover SIGNL4

SIGNL4 Alerting App

Stay ahead of critical incidents with SIGNL4 and its superpowers. SIGNL4 provides superior and automated mobile alerting, delivers alerts to the right people at the right time and enables operations teams to respond and to manage incidents from anywhere.

Learn more about SIGNL4 and start your free 30-days trial.