Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-41497

Create IDL types for ElectionMetrics, ElectionCandidateMetrics and ElectionParticipant Metrics

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.11, 4.2.1, 4.3.1
    • Component/s: Replication
    • Labels:
      None

      Description

      The metrics that we plan to gather naturally group into three types: metrics for all elections that the node has seen, metrics tracking the last election that the node was a candidate in, and metrics tracking the last election that the node voted in. We should use IDL types to be able to both easily update each of these metrics and easily report them in serverStatus or replSetGetStatus (without having to do any manual serialization). These IDL types should initially be skeletons, until we add more fields to track various metrics.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: