rust-prometheus
rust-prometheus copied to clipboard
Use Generic Tuples to type labels
trafficstars
variable_labels can be expressed by generic tuples (variables in tuple length).
This brings several benifits:
- Runtime cost of checking the length of
variable_labelscan be eliminated. - Label length can be checked in compile time.
can you support this?
@siddontang Ok. When I'm free I will handle this. By the way this will change interface signatures, which will be a breaking change.