I am using aws managed prometheus and I have configured this to scrape metrics for EKS cluster setup in AWS.
When I run the api call to the below URL I see a lot of labels. I want to use these labels as part of the alerts that is sent to slack channel
GET /api/v1/labels
For example above API query has the label label_cluster_name, I want to use this in the alert for different EKS clusters. I do not want to hard code the cluster name in each alert. It should automatically pick the cluster name and mention it in the alert description or alert title . How do I do this ?