mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-27 16:12:38 +00:00
avoid step effects in summary metrics
reduce the window size from 10 minutes to 1 minute, so that short spikes do not cause a 10 minute long "table" graph.
This commit is contained in:
parent
1fac5ec6d6
commit
03e81153db
2 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||
|
|
|
@ -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']
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue