Timm Stelzer
fd5ff1cfe0
feat: respect pruneAgedBuckets, update README
2024-01-06 11:31:26 +01:00
Steve
63b6d89caa
Update prom-client to v15
2024-01-05 23:58:13 +01:00
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
Henrik Karlsson
1171fb5be1
Combined bypass and bypassOnFinish into one option
2022-12-14 17:02:54 +01:00
Henrik Karlsson
ea9f34aa3e
Add new option bypassOnFinish, for when response is required in bypass callback
2022-12-09 17:45:27 +01:00
Asbjørn Dyhrberg Thegler
a1284ec3e5
Add test for typings
2022-06-17 21:01:03 +02:00
Asbjørn Dyhrberg Thegler
5a1efd7fe6
Add typings
2022-06-17 20:42:35 +02:00
Konstantin Pogorelov
c6d2210062
add urlPathReplacement to types, see #75
2021-08-17 10:37:12 +03:00
Ryan Bard
e7c94ff307
closes #92 : Add excludeRoutes to types
...
Signed-off-by: Ryan Bard <john.ryan.bard@gmail.com >
2021-08-15 20:04:26 -04:00
Konstantin Pogorelov
661e7d5092
add types for metricType: summary
2021-04-03 10:39:46 +02:00
Konstantin Pogorelov
2e093bc14d
fix codestyle in types to keep dtslint happy, relates to #80
2021-02-22 15:15:00 +01:00
Oz Weiss
83ee0ce06e
urlValueParser extra and replace masks can be regexp
...
https://github.com/disjunction/url-value-parser/blob/master/src/ValueDetector.js#L39
`replaceMasks` and `extraMasks` which are passed down to `url-value-parser` can be either string or RegExp.
2021-02-22 10:48:58 +02:00
yacine
bffb4cf16e
changed wording + added doc + unit test
2020-11-29 15:13:01 +01:00
yacine
52fdbf030f
ability to exclude incoming request from metrics
2020-11-28 21:42:52 +01:00
Konstantin Pogorelov
c55d5f4862
fix duplicate httpDurationMetricName in types
2020-10-06 13:05:26 +02:00
Konstantin Pogorelov
e2a8869b7f
Merge pull request #43 from GabrielCastro/patch-1
...
update types to correct transformLabels
2020-10-06 12:51:26 +02:00
Konstantin Pogorelov
c64772dfc9
Merge pull request #55 from dpc/dpc-patch-1
...
Add a missing option to `Opts`
2020-10-06 12:49:33 +02:00
Konstantin Pogorelov
c1b1022fb5
Merge pull request #56 from Collaborne/pr/middleware-result
...
Declare that the metricsMiddleware is accessible on the bundle as well
2020-10-06 12:48:39 +02:00
Konstantin Pogorelov
6629c09dfa
Merge pull request #60 from anxolin/add-missing-metric-name-opt
...
Add missing metric name parameter
2020-07-22 18:16:32 +02:00
Konstantin Pogorelov
514745b23a
Merge pull request #46 from aaronleesmith/feature/customizable-prom-registry
...
Allows for customizing promRegistry when creating prom bundle.
2020-07-22 18:10:08 +02:00
Anxo Rodriguez
f1f36f0fb7
Add missing metric name parameter
2020-04-27 19:36:43 +02:00
Andreas Kohn
d2f0088f3c
Declare that the metricsMiddleware is accessible on the bundle as well
...
Related-to: #49
2020-04-09 21:09:38 +02:00
Dawid Ciężarkiewicz
4f89424c79
Add a missing option to Opts
2020-04-09 09:28:22 -07: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
Aaron Smith
0a1fda31de
Fixes lint issue.
2019-09-19 11:39:11 -06:00
Aaron Smith
7654a4ec79
Allows for customizing promRegistry when creating prom bundle.
2019-09-19 11:10:43 -06:00
Gabriel Castro
faeeb7b57b
update types to correct transformLabels returning
...
`transformLabels` should return void as the library expects
the labels object to be modified in place and does not use the return value
2019-07-22 16:38:14 -04:00
KARASZI István
02f3fe9008
Simplify type definition
2019-04-30 22:54:46 +02:00
KARASZI István
2a5e25dd77
Fix line ending
2019-04-30 22:46:49 +02:00
KARASZI István
f770ab800d
Try to fix Node 6 issue
2019-04-30 22:46:03 +02:00
KARASZI István
a92b4cfbe6
Remove unnecessary newline
2019-04-30 22:36:23 +02:00
KARASZI István
8df2778337
Fix types and add tests
2019-04-30 22:26:39 +02:00