archivista
archivista copied to clipboard
Metrics
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.
https://entgo.io/blog/2021/08/12/building-observable-ent-application-with-prometheus
We should evaluate other options as well. Prometheus is the most probable choice.
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
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.