Commit Graph

255 Commits

Author SHA1 Message Date
Konstantin Pogorelov
fd33d98c15 bump v7.0.2 7.0.2 2024-10-12 13:54:58 +02:00
Konstantin Pogorelov
5978ea7b73 Merge remote-tracking branch 'remotes/origin/dependabot/npm_and_yarn/multi-092c445592' 2024-10-12 13:51:57 +02:00
Konstantin Pogorelov
71467e6a17 Merge remote-tracking branch 'remotes/origin/dependabot/npm_and_yarn/multi-6b7e5c81f3' 2024-10-12 13:51:45 +02:00
Konstantin Pogorelov
c6b24f6eca Merge remote-tracking branch 'remotes/origin/dependabot/npm_and_yarn/multi-9f37c16f8f' 2024-10-12 13:51:31 +02:00
Konstantin Pogorelov
1ac5fba5c4 Merge remote-tracking branch 'remotes/origin/dependabot/npm_and_yarn/multi-41ee8087b2' 2024-10-12 13:51:11 +02:00
dependabot[bot]
ca8b0ba1e0 Bump body-parser and express
Bumps [body-parser](https://github.com/expressjs/body-parser) to 1.20.3 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `body-parser` from 1.20.2 to 1.20.3
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/body-parser/compare/1.20.2...1.20.3)

Updates `express` from 4.19.2 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.1)

---
updated-dependencies:
- dependency-name: body-parser
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-12 11:48:55 +00:00
dependabot[bot]
2ebc2618de Bump path-to-regexp and express
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) to 0.1.10 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `path-to-regexp` from 0.1.7 to 0.1.10
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v0.1.7...v0.1.10)

Updates `express` from 4.19.2 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.1)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-12 11:48:51 +00:00
dependabot[bot]
df46ecaa9a Bump cookie and express
Bumps [cookie](https://github.com/jshttp/cookie) to 0.7.1 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1)

Updates `express` from 4.19.2 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-12 11:48:01 +00:00
dependabot[bot]
abdfe2d93a Bump serve-static and express
Bumps [serve-static](https://github.com/expressjs/serve-static) to 1.16.2 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `serve-static` from 1.15.0 to 1.16.2
- [Release notes](https://github.com/expressjs/serve-static/releases)
- [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md)
- [Commits](https://github.com/expressjs/serve-static/compare/v1.15.0...v1.16.2)

Updates `express` from 4.19.2 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.1)

---
updated-dependencies:
- dependency-name: serve-static
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-12 11:48:00 +00:00
dependabot[bot]
33ab388106 Bump send and express
Bumps [send](https://github.com/pillarjs/send) to 0.19.0 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0)

Updates `express` from 4.19.2 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.1)

---
updated-dependencies:
- dependency-name: send
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-12 11:47:58 +00:00
Konstantin Pogorelov
02865e531d bump v7.0.1 7.0.1 2024-10-12 13:44:03 +02:00
Konstantin Pogorelov
1a1d8e0b54 Merge pull request #126 from jochen-schweizer/dependabot/npm_and_yarn/express-4.19.2
Bump express from 4.18.2 to 4.19.2
2024-10-12 13:38:00 +02:00
Konstantin Pogorelov
8371c551d5 Merge pull request #127 from jochen-schweizer/dependabot/npm_and_yarn/braces-3.0.3
Bump braces from 3.0.2 to 3.0.3
2024-10-12 13:37:44 +02:00
dependabot[bot]
10a58635e1 Bump braces from 3.0.2 to 3.0.3
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-21 06:23:20 +00:00
dependabot[bot]
5f44228f69 Bump express from 4.18.2 to 4.19.2
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-29 15:28:24 +00:00
Timm Stelzer
fd5ff1cfe0 feat: respect pruneAgedBuckets, update README 7.0.0 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
0ce44722a5 use collectDefaultMetrics.prefix for up metric 2024-01-06 10:48:57 +01:00
Konstantin Pogorelov
407ea4b0d7 fix unittest for prom-client 15 2024-01-06 10:26:33 +01:00
Steve
63b6d89caa Update prom-client to v15 2024-01-05 23:58:13 +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
Konstantin Pogorelov
c693affcac Merge pull request #120 from petuomin/statuscode-for-request-closed-prematurely
Use statuscode 499 for requests that are closed before response is sent
2024-01-05 23:45:10 +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
Pasi Tuominen
efbab7dcdb Use statuscode 499 for requests that are closed before response is sent
This happens, for example, when a http proxy in front of the application is configured with a timeout and the node server is too slow to respond.

Currently such timeouts are counted as 200s by express-prom-bundle. This PR changes that to 499 "Client Closed Request". This way it's possible to tell them apart.
2023-05-05 14:49:02 +03:00
Konstantin Pogorelov
0bda9934c1 bump 6.6.0 6.6.0 2022-12-15 09:18:12 +01:00
Konstantin Pogorelov
5bf6b153e6 Merge pull request #110 from ineentho/bypass-on-finish
Add new option bypassOnFinish, for when response is required in bypass callback
2022-12-15 09:14:12 +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
Konstantin Pogorelov
93b0e8fafe bump 6.5.0 6.5.0 2022-06-18 12:24:50 +02:00
Konstantin Pogorelov
2d2b253567 minor codestyle fixes, turn async/await in metricsApp into a conventional promise 2022-06-18 12:23:59 +02:00
Konstantin Pogorelov
1b52c6f46e Merge pull request #101 from derangeddk/add-metricsapp-option
Add metricsapp option
2022-06-18 12:08:49 +02:00
Asbjørn Dyhrberg Thegler
2293d1cd40 Remove exclusive test running
Silly me
2022-06-17 21:19:53 +02:00
Asbjørn Dyhrberg Thegler
1ee094eb04 Add jasmine test 2022-06-17 21:01:14 +02: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
Asbjørn Dyhrberg Thegler
bcac9f523a Add option to README 2022-06-17 13:42:54 +02:00
Asbjørn Dyhrberg Thegler
c4be86b651 Add metricsApp option
Lets you supply an additional express app on which to mount the metrics 
endpoint
2022-06-17 13:41:36 +02:00
Konstantin Pogorelov
5e5a47a500 Merge pull request #97 from diegoximenes/fix/cluster_example
Fix cluster example
2021-10-26 09:23:45 +02:00
Diego Ximenes
426e4d4556 Fix cluster example 2021-10-26 01:47:19 -03:00
Konstantin Pogorelov
78ebb06a6d bump 6.4.1 6.4.1 2021-08-17 10:49:06 +03:00
Konstantin Pogorelov
c6d2210062 add urlPathReplacement to types, see #75 2021-08-17 10:37:12 +03:00
Konstantin Pogorelov
c436fa3c88 bump 6.4.0 6.4.0 2021-08-17 10:11:59 +03:00
Konstantin Pogorelov
77b02c7302 add README docs for urlPathReplacement, see #75 2021-08-17 10:11:10 +03:00
Konstantin Pogorelov
068ed93a61 Merge pull request #87 from prabhumarappan/add-url-value-replacement
Added replacement option for path
2021-08-17 10:03:20 +03:00
Konstantin Pogorelov
c5aa3f7388 Merge pull request #89 from jochen-schweizer/dependabot/npm_and_yarn/path-parse-1.0.7
Bump path-parse from 1.0.6 to 1.0.7
2021-08-17 10:01:56 +03:00
Konstantin Pogorelov
ca28ff4fe1 Merge pull request #85 from jochen-schweizer/dependabot/npm_and_yarn/lodash-4.17.21
Bump lodash from 4.17.19 to 4.17.21
2021-08-17 10:01:10 +03:00
Konstantin Pogorelov
52f47ed9f4 Merge pull request #84 from jochen-schweizer/dependabot/npm_and_yarn/handlebars-4.7.7
Bump handlebars from 4.7.6 to 4.7.7
2021-08-17 10:00:53 +03:00
Konstantin Pogorelov
a60996ebc3 Merge pull request #93 from RyanBard/update_types_with_exclude_routes
closes #92: Add excludeRoutes to types
2021-08-16 08:58:00 +03:00