We should decorate spans and records stats to opentelemetry. This will let us track time spent in various bits of our code. Mostly we want to know how long queries take against tantivy, loaded in to memory through rdkit, scoring/ranking.
I think actix-web has annotations for this already so we'll be in good shape: https://github.com/tokio-rs/tracing
We should decorate spans and records stats to opentelemetry. This will let us track time spent in various bits of our code. Mostly we want to know how long queries take against tantivy, loaded in to memory through rdkit, scoring/ranking.
I think actix-web has annotations for this already so we'll be in good shape: https://github.com/tokio-rs/tracing