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.
- blocks
-
MC-945 Migrate to using Prometheus recording rules for the default, out-of-the-box ReportDatasource custom resources
- Obsolete