- upgrade to ghc 8.2.2, lts-11.7, tests building
- Add
resetYesodMetricsCounters
function.
-
Add
Yesod.Routes.Stats
to calculate a percentile value for aVector Double
. -
Collect new metrics for each Yesod routes:
routesTotalRequests
,routeMaxLatencies
,routeMinLatencies
,routeAverageLatencies
,route50thPercentiles
,route75thPercentiles
,route90thPercentiles
,route99thPercentiles
. -
Add tests for new metrics.
-
registerYesodMetricsMkMetricsFunction
now returnsIO (YesodMetrics, Middleware)
in case you want to monitor the values inYesodMetrics
manually.
-
Add
YesodMetricsConfig
to allow control over certain features of the route names. -
Add
defaultYesodMetricsConfig
,spacedYesodMetricsConfig
,addSpacesToRoute
functions. -
Alter various functions to require
YesodMetricsConfig
. -
Add
registerYesodMetricsMkMetricsFunction
to simplify initialization and make sureregisterYesodMetrics
andmetrics
use the same data. -
Create app in tests to make sure route names and store work as expected with different options.