refactor: hlint
This commit is contained in:
parent
e9fc753a31
commit
6d93e3e8bc
@ -390,7 +390,7 @@ poolMetrics lbl pool = Metric $ return (PoolMetrics, collectPoolMetrics)
|
|||||||
|
|
||||||
{-# NOINLINE databaseConnDuration #-}
|
{-# NOINLINE databaseConnDuration #-}
|
||||||
databaseConnDuration :: Vector Label1 Histogram
|
databaseConnDuration :: Vector Label1 Histogram
|
||||||
databaseConnDuration = unsafeRegister . vector ("label") $ histogram info buckets
|
databaseConnDuration = unsafeRegister . vector "label" $ histogram info buckets
|
||||||
where
|
where
|
||||||
info = Info "uni2work_database_conn_duration_seconds"
|
info = Info "uni2work_database_conn_duration_seconds"
|
||||||
"Duration of use of a database connection from the pool"
|
"Duration of use of a database connection from the pool"
|
||||||
|
|||||||
Reference in New Issue
Block a user