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

Add a PrometheusRules custom resource to the metering-ansible-operator bundle

XMLWordPrintable

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

      The PrometheusRules custom resources is a monitoring-related CRD that helps define a list of Prometheus rules (recording and alerting). This would involve creating a PrometheusRules custom resource for the metering group and in that group, adding recording rules per-default-ReportDataSource promQL query we define.

      Support for Operator bundles can include Prometheus-related custom resource objects was added in the 0.14.1 OLM release: https://github.com/operator-framework/operator-lifecycle-manager/pull/1253.

      Once that PrometheusRules custom resource has been built up, introduce that manifest to the list of 4.7 YAML manifests.

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

              Created:
              Updated:
              Resolved: