<p>I want to monitor the Nginx requests (5xx, 4xx, 3xx, 2xx) where multiple applications are running with multiple domain urls, Nginx is deployed as kind: Deployment on GKE cluster.
Is there a way to get the real time monitoring ?</p>

Sai Anjan
<p>The monitoring module for Cloud shifts time from time. Right now, the most common way to monitor the application is Prometheus with Grafana.</p>
<p>Prometheus is the app to define how to collect the metric from the application. On the NGINX side, you will need to deploy the <a href="https://github.com/nginxinc/nginx-prometheus-exporter" rel="nofollow noreferrer">exporter</a>. Then, you can instruct the prometheus to get the metric from the endpoint released by the exporter.</p>
<p>Once you have confirmed the Prometheus getting all the metrics, you can hook the Prometheus with Grafana. There are a lot predefined dashboard in the community. An official one from NGINX inc. can be found in this <a href="https://grafana.com/grafana/dashboards/5063" rel="nofollow noreferrer">link</a>. You can import the dashboard to your Grafana instance.</p>
<p>All the grafana and prometheus can be installed with helm. Please refer to these two repositories, <a href="https://github.com/grafana/helm-charts" rel="nofollow noreferrer">https://github.com/grafana/helm-charts</a> and <a href="https://github.com/prometheus-community/helm-charts" rel="nofollow noreferrer">https://github.com/prometheus-community/helm-charts</a>.</p>
