Uploaded image for project: 'OpenShift Metering'
  1. OpenShift Metering
  2. MC-945

Migrate to using Prometheus recording rules for the default, out-of-the-box ReportDatasource custom resources

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Normal
    • None
    • None
    • None
    • 2
    • False
    • False
    • MC-854 - Reduced Metering resource consumption
    • ToDo
    • Undefined

    Description

      Recording rules are a way to precompute frequent promQL queries, spreading the compute overhead over time, which increases Metering performance at query-time and reduces the query-time load on Prometheus.

      In the case of Metering, we're periodically importing and storing a subset of Prometheus metric data based on a list of defined promQL queries here: https://github.com/kube-reporting/metering-operator/blob/master/charts/openshift-metering/values.yaml#L165-L257

      This would involve updating that list of promQL queries to use the recording rules we define in the metering group.

      Attachments

        Issue Links

          Activity

            People

              tflannag@redhat.com Tim Flannagan
              tflannag@redhat.com Tim Flannagan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: