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:*
aimee_classification_request_duration_seconds_sum /
aimee_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
aimee_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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/879a0046-5f7c-4ac1-8430-bf6a9b2495edn%40googlegroups.com.