mirror of
https://github.com/BreizhHardware/express-prom-bundle.git
synced 2026-01-18 16:27:28 +01:00
Update to prom-client v12, requiring Node >=10
v12 drops support for versions of Node.js that are no longer supported (as-of January, 2020), and also removes the timeout option from collectDefaultMetrics(). Remove 6 and 8 from Travis, and add 12 and 13 (so all the non-EOL versions of Node.js are tested).
This commit is contained in:
@@ -14,7 +14,6 @@ const bundle = promBundle({
|
||||
metricsPath: '/prometheus',
|
||||
promClient: {
|
||||
collectDefaultMetrics: {
|
||||
timeout: 1000
|
||||
}
|
||||
},
|
||||
urlValueParser: {
|
||||
|
||||
Reference in New Issue
Block a user