Add Histogram collector to prometheus client

Move common functionality between labeled collectors out of
ValueCollector and into a new LabeledCollector class, and use this as
the basis for implementing a Histogram collector.
This commit is contained in:
Hornwitser committed 2020-11-18 21:27:18 +01:00
1 parent e82f849118
commit e5e1851852
4 files changed
+568 -70

No files matched your search

+1 -1
View File
@@ -214,7 +214,7 @@ module.exports = {
"no-useless-rename": "error",
"no-useless-return": "error",
"no-var": "warn",
"no-void": "error",
"no-void": ["error", { "allowAsStatement": true }],
"no-warning-comments": "off",
"no-whitespace-before-property": "error",
"nonblock-statement-body-position": "error",