metrics
metrics copied to clipboard
We need examples!
We have the benchmark example, but it's a poor example, to be honest. We also have no examples of the full spectrum usage: creating the receiver/sinks, logging metrics, setting up an exporter/recorder, etc.
This could be a single-file example, it could be a toy example app in a separate repo under the metrics-rs organization, anything really.
I also came to this a little frustrated by not finding a "simple example" of how to implement the recorder. But front page of the metrics.rs site had what I was looking for, so sharing that here in case it helps anyone.
https://crates.io/crates/metrics_cloudwatch and https://crates.io/crates/metrics_cloudwatch_embedded are both pretty simple. I used the first to build that latter.