Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-17725

observabilityclient needs to cache metric names

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • observabilityclient needs to cache metric names
    • False
    • Hide

      None

      Show
      None
    • False
    • RHOSSTRAT-625Implement multi-tenancy telemetry control
    • 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

              rh-ee-jwysogla Jaromir Wysoglad
              rh-ee-jwysogla Jaromir Wysoglad
              rhos-conplat-observability
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: