Skip to content
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #25 from overleaf/bg-reduce-step-effects
Browse files Browse the repository at this point in the history
avoid step effects in summary metrics
  • Loading branch information
briangough authored Mar 11, 2020
2 parents bfdb96e + 7e89077 commit dd0bae5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion prom_wrapper.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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']
})
Expand Down

0 comments on commit dd0bae5

Please sign in to comment.