quickwit-oss / quickwit

Cloud-native search engine for observability. An open-source alternative to Datadog, Elasticsearch, Loki, and Tempo.
https://quickwit.io
Other
8.29k stars 339 forks source link

Enhance metrics on the REST API #4076

Open fmassot opened 1 year ago

fmassot commented 1 year ago

Currently, we have a counter for HTTP requests. But it's the same for all endpoints and we should also provide histogram metrics.

Proposition:

https://github.com/quickwit-oss/quickwit/pull/4354

etolbakov commented 10 months ago

I'd like to give it a try https://docs.rs/tower-trace-metrics/0.1.0/src/tower_trace_metrics/lib.rs.html#14-185 https://docs.rs/tower-http/latest/tower_http/trace/struct.TraceLayer.html

esatterwhite commented 1 month ago

related #5443