mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-11 19:58:28 +01:00
Merge pull request #241 from kerscher/prometheus-upgrade
Prometheus upgrade
This commit is contained in:
commit
8f7e3514a3
@ -52,16 +52,16 @@ track name inner = do
|
||||
return result
|
||||
where
|
||||
{-# NOINLINE duration #-}
|
||||
duration :: P.Metric (P.Vector P.Label1 P.Summary)
|
||||
duration :: P.Metric (P.Vector P.Label1 P.Histogram)
|
||||
duration =
|
||||
P.unsafeRegisterIO
|
||||
(P.vector
|
||||
"fn"
|
||||
(P.summary
|
||||
(P.histogram
|
||||
(P.Info
|
||||
"stackage_server_fn"
|
||||
"Stackage Server function call (duration in microseconds).")
|
||||
P.defaultQuantiles))
|
||||
P.defaultBuckets))
|
||||
|
||||
dateDiff :: UTCTime -- ^ now
|
||||
-> Day -- ^ target
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
resolver: lts-8.12
|
||||
resolver: lts-9.13
|
||||
packages:
|
||||
- .
|
||||
- location:
|
||||
@ -7,8 +7,8 @@ packages:
|
||||
extra-dep: true
|
||||
- location:
|
||||
git: https://github.com/commercialhaskell/all-cabal-metadata-tool
|
||||
commit: 1a4d8cff4e796ea0049537a38e38ec0a739caf64
|
||||
commit: ea541be73238a5ce14ad26f4e2a94e63981242a4
|
||||
extra-dep: true
|
||||
extra-deps:
|
||||
- aws-0.16
|
||||
- barrier-0.1.1
|
||||
- spoon-0.3.1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user