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

Clicking on an log based alerts redirects to prometheus metrics

XMLWordPrintable

    • No
    • False
    • Hide

      None

      Show
      None
    • Before this fix, clicking on a query for a log based alerts redirected to metrics. After the fix, the link is only enabled for metric based alerts.

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

      Description of problem:

      Version-Release number of selected component (if applicable):

      OCP 4.14

      Logging 5.8

      How reproducible:

      Always

      Steps to Reproduce:

      1. Install CLO and Loki operator with log based alerts enabled
      2. Check on observe -> alerts and select a log based alert
      3. Click on the metric displayed in the alert detail page

      Actual results:

      The user is redirected to Observe -> metrics, and the chart does not display any metrics as they are not stored in prometheus

      Expected results:

      The user should be redirected to Observe -> Logs, and the metric should be displayed instead of the log list: see OU-267 

            gbernal@redhat.com Gabriel Bernal
            openshift-crt-jira-prow OpenShift Prow Bot
            Wenjing Zheng Wenjing Zheng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: