Merge pull request #241 from kerscher/prometheus-upgrade

Prometheus upgrade
This commit is contained in:
Michael Snoyman 2017-11-20 19:24:53 +02:00 committed by GitHub
commit 8f7e3514a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -52,16 +52,16 @@ track name inner = do
return result return result
where where
{-# NOINLINE duration #-} {-# NOINLINE duration #-}
duration :: P.Metric (P.Vector P.Label1 P.Summary) duration :: P.Metric (P.Vector P.Label1 P.Histogram)
duration = duration =
P.unsafeRegisterIO P.unsafeRegisterIO
(P.vector (P.vector
"fn" "fn"
(P.summary (P.histogram
(P.Info (P.Info
"stackage_server_fn" "stackage_server_fn"
"Stackage Server function call (duration in microseconds).") "Stackage Server function call (duration in microseconds).")
P.defaultQuantiles)) P.defaultBuckets))
dateDiff :: UTCTime -- ^ now dateDiff :: UTCTime -- ^ now
-> Day -- ^ target -> Day -- ^ target

View File

@ -1,4 +1,4 @@
resolver: lts-8.12 resolver: lts-9.13
packages: packages:
- . - .
- location: - location:
@ -7,8 +7,8 @@ packages:
extra-dep: true extra-dep: true
- location: - location:
git: https://github.com/commercialhaskell/all-cabal-metadata-tool git: https://github.com/commercialhaskell/all-cabal-metadata-tool
commit: 1a4d8cff4e796ea0049537a38e38ec0a739caf64 commit: ea541be73238a5ce14ad26f4e2a94e63981242a4
extra-dep: true extra-dep: true
extra-deps: extra-deps:
- aws-0.16
- barrier-0.1.1 - barrier-0.1.1
- spoon-0.3.1