reduce the window size from 10 minutes to 1 minute, so that short spikes do not cause a 10 minute long "table" graph.
@@ -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']
})