Félix MARQUET
db8710d5d0
feat: add upMetricName params to allow for up metric name customization
2025-04-25 06:47:26 +00:00
Timm Stelzer
fd5ff1cfe0
feat: respect pruneAgedBuckets, update README
2024-01-06 11:31:26 +01:00
Konstantin Pogorelov
edfb9992ed
update README, add .env to gitignore
2024-01-06 11:17:51 +01:00
Konstantin Pogorelov
5e2b284903
Merge pull request #102 from Cellaryllis/normalize-path-example-3
...
Add another example for normalizePath
2024-01-05 23:46:43 +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
Cellaryllis
c541824657
Move details below example 2
2022-07-12 10:18:11 +01:00
Cellaryllis
7eae5d4b7f
Add another example for normalizePath
2022-07-12 10:15:47 +01:00
Asbjørn Dyhrberg Thegler
bcac9f523a
Add option to README
2022-06-17 13:42:54 +02:00
Diego Ximenes
426e4d4556
Fix cluster example
2021-10-26 01:47:19 -03:00
Konstantin Pogorelov
77b02c7302
add README docs for urlPathReplacement, see #75
2021-08-17 10:11:10 +03:00
Matheus Lucca do Carmo
c95cd1834c
doc: Describes httpDurationMetricName option
...
Changing the name of the metric, you can use an already existent name and see your application in the same metric space.
2021-03-16 17:48:28 -03:00
Konstantin Pogorelov
0205d4cfc8
fix bypass test, minor change to docs, move bypass logic after serving the /metrics route, see MR #70
2020-11-29 15:47:28 +01: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
a5d63925ce
Merge pull request #62 from jonaskello/patch-1
...
Fix spelling
2020-07-22 18:15:30 +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
Jonas Kello
6d9da12d97
Fix spelling
2020-06-06 18:59:44 +02: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
7654a4ec79
Allows for customizing promRegistry when creating prom bundle.
2019-09-19 11:10:43 -06:00
Konstantin Pogorelov
d336165848
extract metricType as a seprate odc section
2019-03-14 13:36:54 +01:00
Konstantin Pogorelov
cfe0065146
minor wording changes
2019-03-14 13:17:47 +01:00
Christian Hennig
389684b426
Documentation for sliding window for summary metrics
2019-03-14 11:58:10 +01:00
Konstantin Pogorelov
68ad108f77
correct sample usage
2018-12-24 12:49:41 +01: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
00b8369329
Merge branch 'develop'
2018-12-23 18:48:10 +01:00
Konstantin Pogorelov
e7d004f0cc
rename metricsType -> metricType, move corresponding readme block 2 paragraphs lower
2018-12-23 16:45:38 +01:00
Chen Li
0dd3116f23
Feature/add metrics type summary ( #24 )
...
* add metric type summary
* add tests for percentile option
* throw errors for unknown metricType
* set histogram as default metrics type
2018-12-23 16:36:47 +01:00
Konstantin Pogorelov
0606bf5f4f
remove a duplicate cluster docs piece, versio 4.2.1
2018-08-26 14:00:25 +02:00
Konstantin Pogorelov
1cf8c86acb
Squashed commit of the following:
...
commit bc65dc45cb
Author: Konstantin Pogorelov <or@pluseq.com >
Date: Sat Aug 25 12:57:15 2018 +0200
#16 fix typo in docs
commit 2003e7743f
Author: Konstantin Pogorelov <or@pluseq.com >
Date: Sat Aug 25 12:44:24 2018 +0200
#16 fix unit test (cluster_metrics/metrics_cluster), cover the error branch
commit 568c87216a
Author: Konstantin Pogorelov <or@pluseq.com >
Date: Sat Aug 25 12:42:53 2018 +0200
#16 remove unnecessary check for existance after new, break on error with 500
commit 98be36244e
Author: Konstantin Pogorelov <or@pluseq.com >
Date: Sat Aug 25 12:40:15 2018 +0200
#16 make the cluster example runnable
2018-08-25 13:07:36 +02:00
Adam Yost
02fcda4721
Add support for clusterMaster option re: #16 ( #17 )
...
* Add support for clusterMaster option re: #16
* Add Cluster instructions to README
* Use the approach recommended in PR
* use console.error for errors
* Update with new method signature
* add code coverage for new clusterMetrics middleware
2018-08-25 12:58:09 +02: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
d292dcab33
remove changelog from readme as it duplicates github releases function
2018-08-08 12:00:29 +02:00
Konstantin Pogorelov
84f99cc49c
add urlValueParser option, update docs accordingly
2018-08-08 11:23:27 +02:00
Konstantin Pogorelov
45b8f373be
include collectDefaultMetrics in kraken example
2018-01-26 17:40:05 +01: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
aed7edc684
remove fixed version of prom-client from readme
2017-10-19 20:25:40 +02:00
Muhammad Saiful Islam
4a840cfce6
minor typo ( #13 )
2017-10-19 20:23:36 +02:00
Konstantin Pogorelov
d12248dcaf
upgrade prom-client, update package-lock.json
2017-09-23 12:31:12 +02:00
Konstantin Pogorelov
bb0e453078
extends docs in regards of: customLabels, transformLabels, httpDurationMetricName
2017-09-23 12:19:56 +02:00
Konstantin Pogorelov
8318e0ec1d
fix typo
2017-09-23 11:49:13 +02:00
Konstantin Pogorelov
313673f16f
inc minor version, update README
2017-07-11 13:21:06 +02:00
Konstantin Pogorelov
b8ba87009e
extend unittests, simplify API, update README, use npm5 and package-lock.json, add node7 to travis config
2017-06-04 16:31:26 +02:00
Konstantin Pogorelov
1cc588c2da
stop supporting node v4 and v5
2017-05-31 16:32:45 +02:00
Konstantin Pogorelov
5b1517ca91
#7 upgrade dependencies, workaround for koa-connect, update docs
2017-05-31 15:27:08 +02:00
Konstantin Pogorelov
7b89690d3b
add missing spaces to readme
2017-01-19 17:17:08 +01:00
Konstantin Pogorelov
40db5cacbd
Merge branch 'master' of github.com:jochen-schweizer/express-prom-bundle
...
Conflicts:
README.md
package.json
2017-01-19 16:54:58 +01:00
Konstantin Pogorelov
43334b923f
deprecate excludeRoutes, use originalUrl when matching own /metrics path, readme adjustments, version 2.1.0
2017-01-19 16:52:15 +01:00
Konstantin Pogorelov
20eb668e36
export and make replaceable normalizePath(), fix/extend readme, version 2.0.2
2017-01-04 23:41:09 +01:00
Konstantin Pogorelov
53c4505378
fix typo in the readme
2016-12-11 20:41:40 +01:00