Merge pull request #25 from overleaf/bg-reduce-step-effects

avoid step effects in summary metrics
This commit is contained in:
Brian Gough 2020-03-11 10:16:25 +00:00 committed by GitHub
commit 372485653e
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "metrics-sharelatex",
"version": "2.5.0",
"version": "2.5.1",
"description": "A drop-in metrics and monitoring module for node.js apps",
"repository": {
"type": "git",

View file

@ -55,7 +55,7 @@ class MetricWrapper
new prom.Summary({
name: name,
help: name,
maxAgeSeconds: 600,
maxAgeSeconds: 60,
ageBuckets: 10,
labelNames: ['app', 'host', 'path', 'status_code', 'method', 'collection', 'query']
})