'prometheus recording rule to map the label(instance)
In prometheus looking to map the label(instance) to account id & region name, currently its value is NLB instance=eks**.us_east1.amazonaws.com.
am looking to use something like below in recording rule but not getting there , need suggestion. record:label_values(Kube_node_info,instance) expr: label_replace(label_values(Kube_node_info,instance),"account_id",us_east1)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|