We previously used actix-web-prom to give us good baseline metrics:
$ curl 0.0.0.0:8000/metrics
api_http_requests_duration_seconds_bucket{endpoint="/",method="GET",status="200",le="0.005"} 11
...
...
api_http_requests_duration_seconds_bucket{endpoint="/",method="GET",status="200",le="+Inf"} 11
api_http_requests_duration_seconds_sum{endpoint="/",method="GET",status="200"} 0.001559851
api_http_requests_duration_seconds_count{endpoint="/",method="GET",status="200"} 11
# HELP api_http_requests_total Total number of HTTP requests
# TYPE api_http_requests_total counter
api_http_requests_total{endpoint="/",method="GET",status="200"} 11
but this had a lot of upgrade issues through the whole "required actix beta".
So, after the axum port in #6 we should see if there's a way to get good baseline default metrics added.
Probably requires a bit of a wait for metrics ecosystem to evolve though.
We previously used
actix-web-promto give us good baseline metrics:$ curl 0.0.0.0:8000/metrics api_http_requests_duration_seconds_bucket{endpoint="/",method="GET",status="200",le="0.005"} 11 ... ... api_http_requests_duration_seconds_bucket{endpoint="/",method="GET",status="200",le="+Inf"} 11 api_http_requests_duration_seconds_sum{endpoint="/",method="GET",status="200"} 0.001559851 api_http_requests_duration_seconds_count{endpoint="/",method="GET",status="200"} 11 # HELP api_http_requests_total Total number of HTTP requests # TYPE api_http_requests_total counter api_http_requests_total{endpoint="/",method="GET",status="200"} 11but this had a lot of upgrade issues through the whole "required actix beta".
So, after the axum port in #6 we should see if there's a way to get good baseline default metrics added.
Probably requires a bit of a wait for metrics ecosystem to evolve though.