Gateway metrics with status

I’ve installed the latest version of NGF with helm and all works fine.
Now I’ve attached prometheus to scrape metrics from 9113 gateway pod ports and grafana to plot data.

My question is
How can I create dashboard to see how many http 200 or 400 is processed?

Version of NGF and/or NGINX:
Latest

Deployment environment:
Azure AKS Cluster

Hey @stefano_ze, thanks for opening this post. I’m not sure if you’ve seen our existing guide on Monitoring with Prometheus and Grafana, which should help get you started on creating a dashboard to view metrics from Prometheus.

However, as described in the section detailing available metrics, I don’t think there is NGINX OSS support for viewing the total number of http 200 or 400 responses processed. It is an NGINX Plus metric (nginx_http_response_status_responses_total), meaning it is not accessible when using NGINX OSS. You can learn a little bit more about using NGINX Plus on NGF here.

I’m not too familiar with Prometheus and Grafana, but by examining NGINX logs you may be able to write your own prometheus scripts to achieve the same through OSS, but I wouldn’t be able to help much on that solution. I hope this gives you a bit more information though!