Introducing the Experimental info() Function
Source: Prometheus Blog
Enriching metrics with metadata labels
Enriching metrics with metadata labels can be surprisingly tricky in Prometheus, even if you’re a PromQL wiz! The PromQL join query traditionally used for this is inherently quite complex because it has to specify the labels to join on, the info metric to join with, and the labels to enrich with.