Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-9248

UI shows an incorrect number of logs in log viewer

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.1
    • Component/s: UI
    • Labels:
    • Sprint:
      UP2 Sprint 2
    • Release Notes:
      Fixed bug where the "Total Messages/Errors/Warnings" at the top of logviewer was showing incorrect values.
    • Rank:
      1|hzzz27:

      Description

      For most time, the total number of log messages is incorrect in log viewer. Did some research on this and found that UI is querying metrics using resolution to 1m, so if program execution time is short, the query result returned may not include the correct number of log messages.
      One way to fix this is not make resolution as auto to let backend figure out which resolution to use and figure out the total number based on the query result.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tbach Tony Bach
                Reporter:
                yaojie Yaojie Feng
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: