DAPE.work

Prometheus: API Performance Monitoring

Track API latency, throughput and errors using Prometheus and Grafana.

Expected time saved: 5 hours/week

Complexity: Intermediate

Steps:

  1. 1 - Instrument API
  2. 2 - Scrape metrics
  3. 3 - Create Grafana dashboards
  4. 4 - Set alerts

Tools:
Prometheus
Grafana

Example

prom-client for HTTP

Tags

prometheus api