-
Epic
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
observabilityclient needs to cache metric names
-
False
-
-
False
-
-
Not Selected
-
Proposed
-
Proposed
-
Done
-
RHOSSTRAT-625 - Implement multi-tenancy telemetry control
-
Proposed
-
Proposed
-
0% To Do, 0% In Progress, 100% Done
-
-
Goal:
- The observabilityclient sends a request to Prometheus to figure out the metric names every time a "query modification to add tenancy labels" is done. Some parts of Aetos have multiple of these queries (amount depends on user and is theoretically unlimited), which must be modified and so runs the modification in a loop. Currently this results in the same Prometheus API call with the same result being sent over and over.
- We need to cache the result at least for the duration of the life of each PromQLRbac object.
Acceptance Criteria:
- Change is proposed and merged