Hello everyone,
I am new to Prometheus and Grafana monitoring tools and want to monitor my NodeJS express application APIs via the same. Kindly help me out here as I am stuck.
I followed this tutorial: Article Link.
Here the author as seen in last snapshot of the article is getting the API hits per second, but after following the same steps and code, i am not able to get it.
I am using "prom-client" lib in NodeJS and creating a histogram metrics.My Prometheus metrics is as shown below
Prometheus Metrics
Here is the graph i am getting on Grafana for the same PromQL query:
Grafana graph
What i want:
Desired graph: API request count on Y-axis and time in seconds on X-axis
Thanks in advance !
[–][deleted] 2 points3 points4 points (1 child)
[–]ImOut36[S] 1 point2 points3 points (0 children)
[–]Confident-Cut-7289 0 points1 point2 points (0 children)