Monitoring with Prometheus and Grafana

1 min read

Authors
banner

Prometheus and Grafana

Nginx Prometheus Exporter

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

Prometheus Config

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

Grafana Dashboard

Import: "Nginx Prometheus" dashboard ID 12708

Visual monitoring!

© 2025 Vijay Rajendran