The `metrics` crate, along with `metrics-exporter-prometheus`, makes it extremely easy to instrument code with metrics and export them to Prometheus. Here, we're adding a few metrics to track how many messages are being processed and monitor the queue depth. |
||
---|---|---|
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
rustfmt.toml |