Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-36380

[release4.14] Insights Operator to collect the 'prometheus' and 'alertmanager' instances

XMLWordPrintable

    • No
    • CCXDEV Sprint 119, CCXDEV Sprint 120, CCXDEV Sprint 121
    • 3
    • False
    • Hide

      None

      Show
      None
    • Hide
      [id="ocp-4-14-34-insights-operator-collecting-prometheus-alertmanager"]
      ===== Collecting Prometheus and AlertManager resources with the Insights Operator
      * The Insights Operator (IO) now collects the `Prometheus` and `AlertManager` resources in addition to the `openshift-monitoring` custom resource. (link:https://issues.redhat.com/browse/OCPBUGS-36380[*OCPBUGS-36380*])
      Show
      [id="ocp-4-14-34-insights-operator-collecting-prometheus-alertmanager"] ===== Collecting Prometheus and AlertManager resources with the Insights Operator * The Insights Operator (IO) now collects the `Prometheus` and `AlertManager` resources in addition to the `openshift-monitoring` custom resource. (link: https://issues.redhat.com/browse/OCPBUGS-36380 [* OCPBUGS-36380 *])
    • Enhancement
    • In Progress

      This is a clone of issue OCPBUGS-35865. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-34784. The following is the description of the original issue:

      INSIGHTOCP-1557 is a rule to check for any custom Prometheus instances that may impact the management of corresponding resources.

      Resource to gather:  Prometheus and Alertmanager in all namespaces

      apiVersion: monitoring.coreos.com/v1
      kind: Prometheus
      
      apiVersion: monitoring.coreos.com/v1
      kind: Alertmanager
      

      Backport:  OCP 4.12.z; 4.13.z; 4.14.z; 4.15.z

      Additional info:
      1) Get the Prometheus and Alertmanager in all namespaces

      $ oc get prometheus -A 
      NAMESPACE              NAME                             VERSION   DESIRED   READY   RECONCILED   AVAILABLE   AGE
      openshift-monitoring   k8s                              2.39.1    2         1       True         Degraded    712d
      test                   custom-prometheus                          1         0       True         False       25d
      $ oc get alertmanager -A 
      NAMESPACE              NAME                             VERSION   DESIRED   READY   RECONCILED   AVAILABLE   AGE
      openshift-monitoring   main                             2.39.1    2         1       True         Degraded    712d
      test                   custom-alertmanager                        1         0       True         False       25d
       

       

              rh-ee-ijimeno Isaac Jimeno
              openshift-crt-jira-prow OpenShift Prow Bot
              baiyang zhou baiyang zhou
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: