# Functions
DefaultRegistry retrieves the default registry.
MakeCounter create a new counter with the provided name and description.
MakeGauge create a new gauge with the provided name and description.
MakeMetricReporter creates a new metrics server at the given endpoint.
MakeMetricService creates a new metrics server at the given endpoint.
MakeRegistry create a new metric registry.
MakeSegment create a new segment with the provided name and description.
MakeStringGauge create a new StringGauge.
# Variables
AgreementMessagesDropped "Number of agreement messages dropped".
AgreementMessagesHandled "Number of agreement messages handled".
CryptoGenSigSecretsTotal Total number of calls to GenerateSignatureSecrets().
CryptoSigSecretsSignBytesTotal Total number of calls to SignatureSecrets.signBytes.
CryptoSigSecretsSignTotal Total number of calls to SignatureSecrets.Sign.
CryptoSigSecretsVerifyBytesTotal Total number of calls to SignatureVerifier.VerifyBytes.
CryptoSigSecretsVerifyTotal Total number of calls to SignatureVerifier.Verify.
CryptoVRFGenerateTotal Total number of calls to GenerateVRFSecrets().
CryptoVRFHashTotal Total number of calls to VRFProof.Hash.
CryptoVRFProveTotal Total number of calls to VRFSecrets.Prove.
CryptoVRFVerifyTotal Total number of calls to VRFVerifier.Verify.
DuplicateNetworkMessageReceivedBytesTotal The total number ,in bytes, of the duplicate messages that were received from the network.
DuplicateNetworkMessageReceivedTotal Total number of duplicate messages that were received from the network.
ErrMetricServiceAlreadyRunning Generated when we call Start and the metric service is already running.
ErrMetricServiceNotRunning is not currently running.
ErrMetricUnableToRegister unable to register.
LedgerRewardClaimsTotal Total number of reward claims written to the ledger.
LedgerRound Last round written to ledger.
LedgerTransactionsTotal Total number of transactions written to the ledger.
NetworkConnectionsDroppedTotal Total number of connections that were dropped before a message.
NetworkIncomingConnections Number of incoming connections.
NetworkMessageReceivedTotal Total number of complete messages that were received from the network.
NetworkMessageSentTotal Total number of complete messages that were sent to the network.
NetworkOutgoingConnections Number of outgoing connections.
NetworkOutgoingUniqueConnections Total number of unique outgoing addresses connections ever seen by node.
NetworkPeersGarbageCollected How many peers were not caught by event-based cleanup but instead polling garbage collection thread.
NetworkReceivedBytesTotal Total number of bytes that were received from the network.
NetworkReceivedDecompressedBytesTotal Total number of bytes that were received from the network after of being decompressed.
NetworkSentBytesTotal Total number of bytes that were sent over the network.
NetworkSentDecompressedBytesTotal Total number of bytes that were sent over the network prior of being compressed.
OutgoingNetworkMessageFilteredOutBytesTotal Total number of bytes saved by not sending messages that were asked not to be sent by peer.
OutgoingNetworkMessageFilteredOutTotal Total number of messages that were not sent per peer request.
TransactionMessagesDroppedFromBacklog "Number of transaction messages dropped from backlog".
TransactionMessagesDroppedFromPool "Number of transaction messages dropped from pool".
TransactionMessagesHandled "Number of transaction messages handled".
# Structs
Counter represent a single counter variable.
Gauge represent a single gauge variable.
MetricName describes the name and description of a single metric.
MetricReporter represent a single running metric server instance.
MetricService represent a single running metric server instance.
Registry represents a single set of metrics registry.
Segment represent a single segment variable.
SegmentInstance is generated once a segments starts.
ServiceConfig would contain all the information we need in order to create a listening server endpoint.
StringGauge represents a map of key value pairs available to be written with the AddMetric.
# Interfaces
Metric represent any collectable metric.