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 upPromtool: label not found when not included in group by clause #4946
Comments
This comment has been minimized.
This comment has been minimized.
|
You aggregated away the instance label, this is working as expected. 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
Dec 3, 2018
This comment has been minimized.
This comment has been minimized.
|
Thanks, will do next time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mwalters-workmarket commentedDec 3, 2018
Minimal example:
rules.yaml:
test.yaml:
when I execute
promtool test rules test.yamlI expect to see output:
But the actual output is:
in the annotation.summary, promtool didn't resolve
{{ $labels.instance }}properly