Hi all!
I have to optimize request duration. As you can guess for that I need to 
how it was before optimization and how it goes now.
At this moment I divide *classification_request_duration_seconds_sum *on 
*classification_request_duration_seconds_count:*

classification_request_duration_seconds_sum / 
classification_request_duration_seconds_count

I'm here to ask if it is proper way for my task or there is maybe another 
(better) way?

Buckets example:

classification_request_duration_seconds_bucket{app_name="starlette",le="0.005",method="GET",path="/",status_code="200"}
 
0.0 
classification_request_duration_seconds_bucket{app_name="starlette",le="0.01",method="GET",path="/",status_code="200"}
 
0.0 
classification_request_duration_seconds_bucket{app_name="starlette",le="0.025",method="GET",path="/",status_code="200"}
 
0.0 
classification_request_duration_seconds_bucket{app_name="starlette",le="0.05",method="GET",path="/",status_code="200"}
 
0.0 
classification_request_duration_seconds_bucket{app_name="starlette",le="0.075",method="GET",path="/",status_code="200"}
 
0.0 
classification_request_duration_seconds_bucket{app_name="starlette",le="0.1",method="GET",path="/",status_code="200"}
 
0.0 
classification_request_duration_seconds_bucket{app_name="starlette",le="0.25",method="GET",path="/",status_code="200"}
 
0.0 
classification_request_duration_seconds_bucket{app_name="starlette",le="0.5",method="GET",path="/",status_code="200"}
 
3.0 
classification_request_duration_seconds_bucket{app_name="starlette",le="0.75",method="GET",path="/",status_code="200"}
 
3.0 
classification_request_duration_seconds_bucket{app_name="starlette",le="1.0",method="GET",path="/",status_code="200"}
 
3.0 
classification_request_duration_seconds_bucket{app_name="starlette",le="2.5",method="GET",path="/",status_code="200"}
 
3.0 
classification_request_duration_seconds_bucket{app_name="starlette",le="5.0",method="GET",path="/",status_code="200"}
 
3.0 
classification_request_duration_seconds_bucket{app_name="starlette",le="7.5",method="GET",path="/",status_code="200"}
 
3.0 
classification_request_duration_seconds_bucket{app_name="starlette",le="10.0",method="GET",path="/",status_code="200"}
 
3.0 
classification_request_duration_seconds_bucket{app_name="starlette",le="+Inf",method="GET",path="/",status_code="200"}
 
3.0 
classification_request_duration_seconds_count{app_name="starlette",method="GET",path="/",status_code="200"}
 
3.0 
classification_request_duration_seconds_sum{app_name="starlette",method="GET",path="/",status_code="200"}
 
1.119510999999875

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/f1800760-53f0-4510-b4a1-f05cb0211511n%40googlegroups.com.

Reply via email to