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

Create IDL types for ElectionMetrics, ElectionCandidateMetrics and ElectionParticipant Metrics

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.11, 4.2.1, 4.3.1
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
    • Fully Compatible
    • v4.2, v4.0
    • Repl 2019-06-17, Repl 2019-07-01

      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.

            medha.potluri@mongodb.com Medha Potluri (Inactive)
            steven.vannelli@mongodb.com Steven Vannelli
            0 Vote for this issue
            4 Start watching this issue