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

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

      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.

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

                Created:
                Updated:
                Resolved: