Skip to content

Use tokio-trace #3

Description

@xrl

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions