Querying metrics for the External Secrets Operator for Red Hat OpenShift

As a cluster administrator, or as a user with view access to all namespaces, you can query the Operator metrics by using the Red Hat OpenShift Container Platform web console or the command-line interface (CLI). For more information, see "Accessing metrics".

Prerequisites
  • You have access to the cluster as a user with the cluster-admin role.

  • You have installed the External Secrets Operator for Red Hat OpenShift.

  • You have enabled monitoring and metrics collection by creating a ServiceMonitor object.

Procedure
  1. In the Red Hat OpenShift Container Platform web console, navigate to ObserveMetrics.

  2. In the query field, enter the following PromQL expressions to query the External Secrets Operator for Red Hat OpenShift metric:

    {job="external-secrets-operator-controller-manager-metrics-service"}