Analyzing Metrics and Creating Alerts Using Prometheus and Grafana

Prometheus is an open-source API monitoring system that allows you to gather data and analyze a variety of key API performance metrics. For a complete list of the metrics provided by Thriftly, please see Thriftly Metrics.

An example metric graphed within Prometheus

Additionally, you can use Prometheus’s integration with Grafana to create comprehensive metrics dashboards and automatically alert you if your API’s performance hits a certain threshold. For example, you could create an email alert designed to notify you when your API is overtaxed (receiving too many calls or responding to requests too slowly).

An example Grafana dashboard

By connecting your Thriftly API with Prometheus and Grafana, you can monitor your API’s performance, determine whether it’s meeting your performance goals, and receive automatic notification of any irregularities.

In this topic, we’ll walk you through: