| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
Hydra.Logging.Monitoring.Metrics
Description
Typed handles and bounded label domains for the public metrics interface.
Synopsis
- data Metrics = Metrics {
- headInputs :: Counter
- headRequestedTx :: Counter
- headConfirmedTx :: Counter
- txConfirmationTime :: Histogram
- snapshotConfirmationTime :: Histogram
- snapshots :: Map Text Counter
- evictedTimings :: Counter
- peersConnected :: Gauge
- chainDriftSeconds :: Gauge
- chainLastBlockTimestampSeconds :: Gauge
- chainBackendTimestamp :: Gauge
- broadcastStalled :: Gauge
- broadcastStalledNoProgress :: Gauge
- broadcastStalledBacklogFull :: Gauge
- pendingBroadcasts :: Gauge
- broadcastNoProgressSeconds :: Gauge
- inputsRefusedBroadcastStalled :: Counter
- inputRetries :: Map Text Counter
- inputDrops :: Map Text Counter
- inputProcessing :: Map Text Histogram
- inputQueueWait :: Histogram
- queuedInputs :: Gauge
- parkedInputs :: Gauge
- synced :: Gauge
- phase :: Map Text Gauge
- networkConnected :: Gauge
- snapshotNumber :: Gauge
- snapshotPending :: Gauge
- missingSignatures :: Gauge
- outstandingTransactions :: Gauge
- txOutcomes :: Map Text Counter
- persistentDepth :: Gauge
- persistentAge :: Gauge
- putLatency :: Histogram
- networkEvents :: Map Text Counter
- chainFailures :: Map Text Counter
- chainDuration :: Map Text Histogram
- chainInflight :: Map Text Gauge
- rollbackDepth :: Histogram
- blockfrostRetries :: Counter
- blockfrostRateLimits :: Counter
- deposits :: Map Text Gauge
- decommit :: Map Text Gauge
- fanoutRemaining :: Gauge
- fanoutMode :: Map Text Gauge
- sqliteQueue :: Gauge
- sqliteInflight :: Gauge
- sqliteDuration :: Histogram
- registerMetrics :: Registry -> Text -> IO Metrics
- latencyBuckets :: [Double]
- operationLatencyBuckets :: [Double]
- vector :: [Text] -> (Text -> IO a) -> IO (Map Text a)
- at :: (Ord key, Show key) => Map key a -> key -> a
- inputSources :: [Text]
- waitReasons :: [Text]
- networkEventsValues :: [Text]
- chainOperationsValues :: [Text]
Documentation
Constructors
latencyBuckets :: [Double] Source #
operationLatencyBuckets :: [Double] Source #
Coarser bounds for L1 operations, from construction to long backend waits. Keep protocol latency buckets separate for benchmark consumers.
inputSources :: [Text] Source #
waitReasons :: [Text] Source #
networkEventsValues :: [Text] Source #
chainOperationsValues :: [Text] Source #