uri = root in Prometheus metrics

17 views
Skip to first unread message

Jyotin Ranpura

unread,
Jun 10, 2020, 7:05:17 AM6/10/20
to promethe...@googlegroups.com
Hi Users,

I hope you all are doing well. I have a query similar to this post on StackOverflow. 

We have an "Angular JS 8 - Spring Boot 2" Web application. And implementing a Prometheus/Grafana based monitoring dashboards.
While exporting the Prometheus metrics using - http://localhost:9981/actuator/prometheus, I am getting a few requests as follows:

# HELP http_server_requests_seconds  
# TYPE http_server_requests_seconds summary
http_server_requests_seconds_count{exception="None",method="OPTIONS",outcome="SUCCESS",status="200",uri="root",} 6.0
http_server_requests_seconds_sum{exception="None",method="OPTIONS",outcome="SUCCESS",status="200",uri="root",} 0.858430836
http_server_requests_seconds_count{exception="None",method="POST",outcome="SUCCESS",status="200",uri="root",} 1.0
http_server_requests_seconds_sum{exception="None",method="POST",outcome="SUCCESS",status="200",uri="root",} 8.894341675

Can you please help to understand the fuss around the "root" URI? What is meant by "root" URI in the logs and when it is invoked for which requests?
Basically, my aim is to calculate the Transactions Per Second (TPS) of the Web Application and thought that I may calculate it by summing all the incoming requests using http_server_requests_seconds_count.

I am a newbie here and any hints will be appreciated.
Kind regards,
Jyotin Ranpura

STL - Sterlite Technologies Limited Disclaimer:
The content of this message may be legally privileged and confidential and are for the use of the intended recipient(s) only. It should not be read, copied and used by anyone other than the intended recipient(s). If you have received this message in error, please immediately notify the sender, preserve its confidentiality and delete it. Before opening any attachments please check them for viruses and defects. No employee or agent is authorised to conclude any binding agreement on behalf of Sterlite Technologies Limited with another party by email without express written confirmation by authorised personVisit us at www.stl.tech
 Please consider environment before printing this email !

Registered office: E 1, MIDC Industrial Area, Waluj, Aurangabad, Maharashtra – 431 136 CIN – L31300MH2000PLC269261

Reply all
Reply to author
Forward
0 new messages