Monitoring with Prometheus and Grafana

1 min read

Authors
banner
Table of Contents

Prometheus and Grafana

Nginx Prometheus Exporter

bash
docker run -p 9113:9113 nginx/nginx-prometheus-exporter:latest \
  -nginx.scrape-uri http://localhost/nginx_status

Prometheus Config

yaml
scrape_configs:
  - job_name: nginx
    static_configs:
      - targets: ['localhost:9113']

Grafana Dashboard

Import: "Nginx Prometheus" dashboard ID 12708

Visual monitoring!

© 2026 Vijay Rajendranbuilt with Next.js & Tailwind · deployed on Vercel