Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-5340

The Scraping Time Drift graph on the Prometheus dashboard was showing wrong values because the actual metrics resolution wasn't taken into account

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.2
    • Component/s: Grafana Dashboards
    • Labels:
    • Story Points:
      2
    • Sprint:
      Platform Sprint 8, Platform Sprint 9
    • Needs Review:
      Yes
    • Needs QA:
      Yes
    • Needs Doc:
      No

      Description

      The chart is shown wrong values due to changed scraping interval of the metric node_time_seconds.

      The initial formula is designed for 1s scraping interval and can't show correct values for other intervals.
      time() - node_time_seconds

        Attachments

        1. image.png
          image.png
          110 kB
        2. Screenshot_20200119_183933.png
          Screenshot_20200119_183933.png
          152 kB
        3. Screenshot_20200119_184120.png
          Screenshot_20200119_184120.png
          61 kB
        4. Screenshot_20200119_184518.png
          Screenshot_20200119_184518.png
          15 kB
        5. Screenshot_20200130_233008.png
          Screenshot_20200130_233008.png
          38 kB
        6. Screenshot_20200131_002209.png
          Screenshot_20200131_002209.png
          35 kB
        7. Screenshot 2020-01-29 at 15.02.04.png
          Screenshot 2020-01-29 at 15.02.04.png
          244 kB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              vadim.yalovets Vadim Yalovets
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 1 day, 2 hours, 50 minutes
                  1d 2h 50m

                    Smart Checklist