Prometheus.labels — MethodPrometheus.labels(family::Family{C}, labelvalues::Tuple{String, ...}) where CReturn the collector of type C from the family corresponding to the labels given by labelvalues.
This method does an acquire/release of a lock, and a dictionary lookup, to find the collector matching the label names. For typical applications this overhead does not matter (below 100ns for some basic benchmarks) but it is safe to cache the returned collector if required.