PingDirectory

Monitor data for the topology

Each server has a monitor that exposes that server’s view of the topology in its monitor backend, so that peer servers can periodically read this information to identify changes in the topology.

Topology data includes the following:

  • The server ID of the current primary, if the primary is not known

  • The instance name of the current primary or if a primary is not set, a description stating why a primary is not set

  • A flag indicating which server thinks that it should be the primary

  • A flag indicating which server is the current primary

  • A flag indicating a server that was forced as primary

  • The total number of configured peers in the topology group

  • The peers connected to this server

  • The current availability of this server

  • A flag indicating that a server is not synchronized with its primary or another node in the topology if the primary is unknown

  • The amount of time in milliseconds that multiple primaries were detected by this server

  • The amount of time in milliseconds that no suitable server is found to act as primary

  • A SHA-256 digest encoded as a base-64 string for the current subtree contents

The following metrics are included if this server has processed any operations as primary:

  • The number of operations processed by this server as primary

  • The number of successful operations processed by this server as primary

  • The number of operations processed by this server as primary that failed to validate

  • The number of operations processed by this server as primary that failed to apply

  • The average amount of time taken in milliseconds by this server to process operations as the primary

  • The maximum amount of time taken in milliseconds by this server to process an operation as the primary