[BUGFIX] prometheus: check for length of filters before adding braces#611
[BUGFIX] prometheus: check for length of filters before adding braces#611coleenquadros wants to merge 4 commits intoperses:mainfrom
Conversation
|
Hello @coleenquadros can you add some context for this change in PR description please? Also the second commit doesn't seem related at all |
|
Could you move the changes related to the PieChart Go SDK to a separate PR please? |
f319946 to
d875a36
Compare
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
This reverts commit cd6e479. Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
d875a36 to
954f40f
Compare
|
Sorry I don't understand the issue you are trying to fix. The fact Thus please precise
|
|
@coleenquadros would be better to adjust the dashboard to use the label matchers like: https://github.com/rhobs/observability-operator/pull/1043/changes#diff-f0c52146637600f6ae740e23e9c7ccff866a1b45820f4171687689b3394c274dR154 ? In that case we won't need this patch that might be inconsistent with what is supported in the prometheus API. WDYT? |
|
In Grafana, the query is this But when I use the plugin would equate to in the CR |
Description
When metadata is used as a label matcher, it gets interpreted as a timeseries and does not return data since we dont add label matchers when defining the variable and forces the braces {} in the query.
Checklist
[<catalog_entry>] <commit message>naming convention using one of thefollowing
catalog_entryvalues:FEATURE,ENHANCEMENT,BUGFIX,BREAKINGCHANGE,DOC,IGNORE.