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

Update for replset member ping time and last heartbeat in "MongoDB Replset Summary" dashboard

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: MongoDB_Exporter
    • Labels:
      None

      Description

      It looks as though we don't have compatibility mappings for the metrics behind "Max Member Ping Time", "Max Heartbeat Time" graph panels in the MongoDB Replset Summary dashboard, so they're showing empty in PMM 2.11 and 2.12 which uses the new v0.20 mongodb_exporter.

      I suggest we update the graph panel's equations to use the new-style metric names.

      The prometheus equations that work for me in a quick test are:

      mongodb_rs_members_pingMs{service_name=~"$service_name"}
      
      time() - mongodb_members_lastHeartbeat{service_name=~"$service_name"}/1000
      

      This is before any grouping to get max(), but I don't see why we need to only show max for these particular ones. The context is already reduced down to one replicaset in the first place.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            akira.kurogane Akira Kurogane
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Smart Checklist