Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record rule and Alert rule expression needs to take dynamic values for the labels #5391

Closed
yaminisridaran opened this Issue Mar 21, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@yaminisridaran
Copy link

yaminisridaran commented Mar 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.

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Mar 21, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.