This is a cache of https://docs.openshift.com/rosa/operators/operator_sdk/osdk-monitoring-prometheus.html. It is a snapshot of the page at 2024-11-25T03:15:55.994+0000.
Configuring built-in monitoring with Prometheus - Developing Operators | Operators | Red Hat OpenShift <strong>service</strong> on AWS
×

The Operator SDK provides built-in monitoring support using the Prometheus Operator, which you can use to expose custom metrics for your Operator.

The Red Hat-supported version of the Operator SDK CLI tool, including the related scaffolding and testing tools for Operator projects, is deprecated and is planned to be removed in a future release of Red Hat OpenShift service on AWS. Red Hat will provide bug fixes and support for this feature during the current release lifecycle, but this feature will no longer receive enhancements and will be removed from future Red Hat OpenShift service on AWS releases.

The Red Hat-supported version of the Operator SDK is not recommended for creating new Operator projects. Operator authors with existing Operator projects can use the version of the Operator SDK CLI tool released with Red Hat OpenShift service on AWS to maintain their projects and create Operator releases targeting newer versions of Red Hat OpenShift service on AWS.

The following related base images for Operator projects are not deprecated. The runtime functionality and configuration APIs for these base images are still supported for bug fixes and for addressing CVEs.

  • The base image for Ansible-based Operator projects

  • The base image for Helm-based Operator projects

For information about the unsupported, community-maintained, version of the Operator SDK, see Operator SDK (Operator Framework).

By default, Red Hat OpenShift service on AWS provides a Prometheus Operator in the openshift-user-workload-monitoring project. You should use this Prometheus instance to monitor user workloads in Red Hat OpenShift service on AWS.

Do not use the Prometheus Operator in the openshift-monitoring project. Red Hat Site Reliability Engineers (SRE) use this Prometheus instance to monitor core cluster components.

Additional resources