https://slatedb.io logo
Instrumentation documentation
# general
v
We have both tracing and metrics. How would we plug this in with other tools? Could we add something to documentation? I am still new to rust ecosystem, I see how we do it with console, but don't fully understand how it integrates with standard tools.
c
Good call, we should do this
For metrics, we simply expose a struct with counters and gauges in
metrics.rs
. Developers may collect those metrics and report them to whatever they want.
For tracing, we use the tracing library, which can be configured to integre at with the other common logging libraries. For this, I think we should point users to the
tracing
crate docs.
I think both these should be documented on the slatedb.io docs site
We should add an "Operations" dropdown with metrics, configuration, and logs sections
Or something lik ethat