Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type HeaderMetricsTracer m = Tracer ( STM m) ( SlotNo , Time )
- type FetchedMetricsTracer m = Tracer ( STM m) ( SizeInBytes , SlotNo , Time )
-
data
ReportPeerMetrics
m peerAddr =
ReportPeerMetrics
{
- reportHeader :: Tracer ( STM m) ( TraceLabelPeer peerAddr ( SlotNo , Time ))
- reportFetch :: Tracer ( STM m) ( TraceLabelPeer peerAddr ( SizeInBytes , SlotNo , Time ))
- data TraceLabelPeer peerid a = TraceLabelPeer peerid a
Documentation
type HeaderMetricsTracer m = Tracer ( STM m) ( SlotNo , Time ) Source #
Report arrival time of a header for a given slot.
type FetchedMetricsTracer m = Tracer ( STM m) ( SizeInBytes , SlotNo , Time ) Source #
Report block arrival of given size for some slot at a given time.
data ReportPeerMetrics m peerAddr Source #
ReportPeerMetrics | |
|
data TraceLabelPeer peerid a Source #
A peer label for use in
Tracer
s. This annotates tracer output as being
associated with a given peer identifier.
TraceLabelPeer peerid a |
Instances
Functor ( TraceLabelPeer peerid) | |
Defined in Network.Mux.Trace fmap :: (a -> b) -> TraceLabelPeer peerid a -> TraceLabelPeer peerid b Source # (<$) :: a -> TraceLabelPeer peerid b -> TraceLabelPeer peerid a Source # |
|
( Eq peerid, Eq a) => Eq ( TraceLabelPeer peerid a) | |
Defined in Network.Mux.Trace (==) :: TraceLabelPeer peerid a -> TraceLabelPeer peerid a -> Bool Source # (/=) :: TraceLabelPeer peerid a -> TraceLabelPeer peerid a -> Bool Source # |
|
( Show peerid, Show a) => Show ( TraceLabelPeer peerid a) | |
Defined in Network.Mux.Trace |