Bug 1969409
| Summary: | Grafana template variables fail | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Tobias Derksen <tderksen> | ||||
| Component: | Monitoring | Assignee: | Bartek Plotka <bplotka> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Junqi Zhao <juzhao> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.7 | CC: | ableisch, afurbach, alegrand, anpicker, aos-bugs, bplotka, cvogel, erooth, kakkoyun, pkrupa, rbohne, spasquie, sthaha | ||||
| Target Milestone: | --- | Flags: | ableisch:
needinfo-
|
||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2021-06-11 08:38:38 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Tobias Derksen
2021-06-08 11:43:18 UTC
Thanks for reporting. Just for awareness, this is "expected" because we don't enable label APIs on ur tenancy isolation proxy. The mitigation is to use `/api/v1/series` endpoint (if I am not wrong `metrics(metric)` and `query_result(query)`). We are right now discussing how hard would be to enable labels values API on this proxy. We never saw the need for that yet. What I mean by using "series" is that some of the functions are using different APIs behind. What is actually used is a "hidden" domain knowledge, unfortunately. I asked Grafana for better documentation (https://github.com/grafana/grafana/issues/35437) on this front. Mitigation is using `query_result(query)` and trying to get that label using regex. Quite complex, but might work similarly for now. In the mean time looks like we are scheduling enabling Labels API through isolated endpoint to our backlog. Hope that helps! *** Bug 1969407 has been marked as a duplicate of this bug. *** We don't consider this to be a bug but we've added an item [1] in our backlog to tackle it. [1] https://issues.redhat.com/browse/MON-1695 |