#[derive(EncodeLabelSet)]Expand description
Derive the EncodeLabelSet trait for structs.
This macro automatically implements the EncodeLabelSet trait,
which allows the struct to be used as a set of metric labels.
This is useful for creating structured label sets that can be attached to metrics.
ยงExample
#[derive(EncodeLabelSet)]
struct MyLabels {
service: String,
endpoint: String,
}