mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-06-05 08:31:33 +00:00
smp server: prometheus histogram for message confirmation times (ACK) (#1575)
* time buckets * split max time metric * histogram * histogram for confirmed delivery times * gaugehistogram * fix created, _ in gauge_histogram * remove comments * fix metrics
This commit is contained in:
@@ -412,7 +412,7 @@ data SubscriptionThread = NoSub | SubPending | SubThread (Weak ThreadId)
|
||||
|
||||
data Sub = Sub
|
||||
{ subThread :: ServerSub, -- Nothing value indicates that sub
|
||||
delivered :: TMVar MsgId
|
||||
delivered :: TMVar (MsgId, RoundedSystemTime)
|
||||
}
|
||||
|
||||
newServer :: IO (Server s)
|
||||
|
||||
Reference in New Issue
Block a user