package
4.0.2-stable+incompatible
Repository: https://github.com/algorand/go-algorand.git
Documentation: pkg.go.dev

# 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.
NewCounter is a shortcut to MakeCounter in one shorter line.
NewRuntimeMetrics creates a RuntimeMetrics object, provided a list of metric names matching names in Go's metrics.All().
NewTagCounter makes a set of metrics under rootName for tagged counting.
NewTagCounterFiltered makes a set of metrics under rootName for tagged counting.

# Variables

AgreementMessagesDropped "Number of agreement messages dropped".
AgreementMessagesHandled "Number of agreement messages handled".
BroadcastSignedTxGroupFailed "Number of failed broadcasts of local signed transaction groups".
BroadcastSignedTxGroupSucceeded "Number of successful broadcasts of local signed transaction groups".
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.
DuplicateNetworkFilterReceivedTotal Total number of duplicate filter messages (tag MsgDigestSkipTag) that were received from the network.
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.
LedgerDBRound Last round written to ledger.
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.
NetDevMetrics is a netdev gatherer implementing the Metric interface.
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.
NetworkP2PMessageReceivedTotal Total number of complete messages that were received from the p2p network.
NetworkP2PMessageSentTotal Total number of complete messages that were sent to the p2p network.
NetworkP2PReceivedBytesTotal Total number of bytes that were received from the p2p network.
NetworkP2PSentBytesTotal Total number of bytes that were sent over the p2p network.
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.
OpencensusDefaultMetrics is the default prometheus gatherer implementing the Metric interface.
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.
PrometheusDefaultMetrics is the default prometheus gatherer implementing the Metric interface.
TransactionGroupTxSyncAlreadyCommitted "Number of duplicate or error transaction groups received via txsync".
TransactionGroupTxSyncHandled "Number of transaction groups handled via txsync".
TransactionGroupTxSyncRemember "Number of transaction groups remembered via txsync".
TransactionMessagesAlreadyCommitted "Number of duplicate or error transaction messages before placing into a backlog".
TransactionMessagesAppLimiterDrop "Number of transaction messages dropped after app limits check".
TransactionMessagesBacklogErr "Number of transaction messages with some validation error".
TransactionMessagesBacklogSize "Number of transaction messages in the TX handler backlog queue".
TransactionMessagesDroppedFromBacklog "Number of transaction messages dropped from backlog".
TransactionMessagesDroppedFromPool "Number of transaction messages dropped from pool".
TransactionMessagesDupCanonical "Number of transaction messages dropped after canonical re-encoding".
TransactionMessagesDupRawMsg "Number of dupe raw transaction messages dropped".
TransactionMessagesHandled "Number of transaction messages handled".
TransactionMessagesP2PDeliverMessage "Number of delivered p2p pubsub transaction messages".
TransactionMessagesP2PDuplicateMessage "Number of duplicate p2p pubsub transaction messages"}.
TransactionMessagesP2PRejectMessage "Number of rejected p2p pubsub transaction messages".
TransactionMessagesP2PUndeliverableMessage "Number of undeliverable p2p pubsub transaction messages".
TransactionMessagesP2PValidateMessage "Number of p2p pubsub transaction messages received for validation".
TransactionMessagesRemember "Number of transaction messages remembered in TX handler".
TransactionMessagesTxGroupInvalidFee "Number of transaction messages with invalid txgroup fee".
TransactionMessagesTxnDroppedCongestionManagement "Number of transaction messages dropped because the tx backlog is under congestion management".
TransactionMessagesTxnLogicSig "Number of transaction messages with invalid logic sig".
TransactionMessagesTxnMsigNotWellFormed "Number of transaction messages with bad formed multisig".
TransactionMessagesTxnNotWellFormed "Number of transaction messages not well formed".
TransactionMessagesTxnSigNotWellFormed "Number of transaction messages with bad formed signature".
TransactionMessagesTxnSigVerificationFailed "Number of transaction messages with signature verification failed".
TransactionMessageTxGroupExcessive "Number of transaction messages with greater than max allowed txns".
TransactionMessageTxGroupFull "Number of transaction messages with max txns allowed".
UnknownProtocolTagMessagesTotal Total number of out-of-protocol tag messages received from the network.

# 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.
RuntimeMetrics gathers selected metrics from Go's builtin runtime.metrics package and makes them available as Prometheus metrics.
ServiceConfig would contain all the information we need in order to create a listening server endpoint.
TagCounter holds a set of counters.

# Interfaces

Metric represent any collectable metric.