Today I learned about label_values(metric, label) in Grafana. It is used to extract label values from a specific metric.

More here