Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upRecord rule and Alert rule expression needs to take dynamic values for the labels #5391
Comments
This comment has been minimized.
This comment has been minimized.
|
This sounds more like a usage question, PromQL is already powerful enough for any label handling you should need. It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided. |
brian-brazil
closed this
Mar 21, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yaminisridaran commentedMar 21, 2019
Record rule and Alert rule expression needs to take dynamic values for the labels
Example:
MetricName{"labels"=}
runtime generated value is not known during deployment time.
Required a promQL expression dynamic value for labels of metric
sum(MetricName{"labels"=})
Same for Alert Rules expression.