archivista icon indicating copy to clipboard operation
archivista copied to clipboard

Metrics

Open colek42 opened this issue 2 years ago • 4 comments

We should add a Prometheus metrics export endpoint to Archivist. I'd like to start recording how long queries take and set up some alerts.

colek42 avatar Sep 26 '22 14:09 colek42

https://entgo.io/blog/2021/08/12/building-observable-ent-application-with-prometheus

colek42 avatar Oct 14 '22 23:10 colek42

We should evaluate other options as well. Prometheus is the most probable choice.

jkjell avatar Sep 13 '23 19:09 jkjell

We should also consider OpenTelemetry (OTel) here. https://opentelemetry.io/docs/instrumentation/go/getting-started/

In the CNCF Slack, we have the channel #otel-go

kairoaraujo avatar Dec 08 '23 11:12 kairoaraujo

Found this today looking for metrics endpoint for archivista. Anything new to discuss here? Would it be reasonable to enable prometheus metrics via entgo as @colek42 mentioned above? That comment is a couple years old now so not sure what context may have changed on Archivista side.

ericwyles avatar Sep 17 '24 14:09 ericwyles