15 Commits

Author SHA1 Message Date
Konstantin Pogorelov
a0eef5d0e2 switch from dtslint to tsd, update required node to >=18, bump version to 7.0.0 2024-01-05 22:04:31 +01:00
Konstantin Pogorelov
ccb74f99b0 add an a sample with actual RegExp in advanced-example.js, relates to #80 2021-02-22 15:15:37 +01:00
Sam Roberts
20c6a7de24 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).
2020-03-06 16:39:47 -08:00
Konstantin Pogorelov
c6d5964768 add metricPath and includeUp options, make whitelist/blacklist obsolete, simnplify code, update unit tests and code, add node10 to .travis.yml 2018-12-24 02:06:16 +01:00
Konstantin Pogorelov
5e0cd75673 add normalizePath option as tuple array, improve docs and advanced example, version to 4.1.0 2018-08-09 11:27:04 +02:00
Konstantin Pogorelov
84f99cc49c add urlValueParser option, update docs accordingly 2018-08-08 11:23:27 +02:00
Konstantin Pogorelov
06341c227a wip: 4.0.0, prom-client to v11, url-value-parser to v2 2018-08-07 17:55:25 +02:00
Konstantin Pogorelov
06f55c9ab8 add promClient option for smuggling collectDefaultMetrics, upgrade prom-client to ~10.2.2, version 3.3.0 2018-01-23 16:43:38 +01:00
Konstantin Pogorelov
26f9f5ca10 add customLabels and transformLabels to advanced example 2017-09-23 12:13:14 +02:00
Konstantin Pogorelov
5b1517ca91 #7 upgrade dependencies, workaround for koa-connect, update docs 2017-05-31 15:27:08 +02:00
Konstantin Pogorelov
b0aa05d42b fixes, polishing, docs update, bump to 2.0.0 2016-12-11 20:22:55 +01:00
Konstantin Pogorelov
1e9300ebf3 niterim state for 2.0 development 2016-12-08 18:13:13 +01:00
Konstantin Pogorelov
08d98b450c upgrade prom-client to v6, add options: includeMethod, includePath, keepDefaultMetrics, bump 1.2.0 2016-11-26 21:00:58 +01:00
Konstantin Pogorelov
06727dfe5f update deps, fix sumary factory method, add buckets param, extend unit tests, add coverage 2016-07-28 02:09:27 +02:00
Konstantin Pogorelov
5ead531a59 added whie-black-listing, http counter is a histogram now 2016-04-19 00:48:23 +02:00