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

Clicking on an log based alerts redirects to prometheus metrics

    XMLWordPrintable

Details

    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, if you clicked a query for a log-based alert, you were incorrectly redirected to the *Metrics* page. With this update, links are only enabled for metrics-based alerts, which resolves the issue. (link:https://issues.redhat.com/browse/OCPBUGS-22104[*OCPBUGS-22104*])

      ********
      Original: 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.
      Show
      * Previously, if you clicked a query for a log-based alert, you were incorrectly redirected to the *Metrics* page. With this update, links are only enabled for metrics-based alerts, which resolves the issue. (link: https://issues.redhat.com/browse/OCPBUGS-22104 [* OCPBUGS-22104 *]) ******** Original: 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.
    • Bug Fix
    • Done

    Description

      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 

      Attachments

        Issue Links

          Activity

            People

              gbernal@redhat.com Gabriel Bernal
              gbernal@redhat.com Gabriel Bernal
              Anping Li Anping Li
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: