@promster/express 15.4.4 → 15.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -67,6 +67,7 @@ const createMiddleware = ({
67
67
  if (!shouldSkipMetricsByEnvironment) {
68
68
  observeGc();
69
69
  }
70
+ signalIsUp();
70
71
  return (request, response, next) => {
71
72
  const requestTiming = metrics.timing.start();
72
73
  response.on('finish', () => {
@@ -67,6 +67,7 @@ const createMiddleware = ({
67
67
  if (!shouldSkipMetricsByEnvironment) {
68
68
  observeGc();
69
69
  }
70
+ signalIsUp();
70
71
  return (request, response, next) => {
71
72
  const requestTiming = metrics.timing.start();
72
73
  response.on('finish', () => {
package/package.json CHANGED
@@ -1,10 +1,23 @@
1
1
  {
2
2
  "name": "@promster/express",
3
- "version": "15.4.4",
3
+ "version": "15.4.6",
4
4
  "description": "Express server integrations of promster",
5
- "main": "dist/promster-express.cjs.js",
6
- "typings": "dist/promster-express.cjs.d.ts",
7
- "types": "dist/promster-express.cjs.d.ts",
5
+ "keywords": [
6
+ "continousdelivery",
7
+ "metrics",
8
+ "prometheus"
9
+ ],
10
+ "homepage": "https://github.com/tdeekens/promster#readme",
11
+ "bugs": {
12
+ "url": "https://github.com/tdeekens/promster/issues"
13
+ },
14
+ "license": "MIT",
15
+ "author": "Tobias Deekens <nerd@tdeekens.name>",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/tdeekens/promster.git",
19
+ "directory": "packages/express"
20
+ },
8
21
  "files": [
9
22
  "readme.md",
10
23
  "package.json",
@@ -12,39 +25,26 @@
12
25
  "dist/**",
13
26
  "modules/**"
14
27
  ],
15
- "engines": {
16
- "node": ">=20",
17
- "npm": ">=8"
18
- },
28
+ "main": "dist/promster-express.cjs.js",
29
+ "types": "dist/promster-express.cjs.d.ts",
30
+ "typings": "dist/promster-express.cjs.d.ts",
19
31
  "publishConfig": {
20
32
  "access": "public"
21
33
  },
22
- "repository": {
23
- "type": "git",
24
- "url": "https://github.com/tdeekens/promster.git",
25
- "directory": "packages/express"
26
- },
27
- "author": "Tobias Deekens <nerd@tdeekens.name>",
28
- "license": "MIT",
29
- "bugs": {
30
- "url": "https://github.com/tdeekens/promster/issues"
31
- },
32
- "homepage": "https://github.com/tdeekens/promster#readme",
33
- "keywords": [
34
- "metrics",
35
- "continousdelivery",
36
- "prometheus"
37
- ],
38
34
  "dependencies": {
39
35
  "merge-options": "3.0.4",
40
36
  "tslib": "2.8.1",
41
- "@promster/metrics": "15.4.4"
37
+ "@promster/metrics": "15.4.6"
42
38
  },
43
39
  "devDependencies": {
44
40
  "@types/express": "5.0.6",
45
41
  "express": "5.2.1",
46
42
  "parse-prometheus-text-format": "1.1.1",
47
- "@promster/server": "15.4.4",
48
- "@promster/types": "15.4.4"
43
+ "@promster/server": "15.4.6",
44
+ "@promster/types": "15.4.6"
45
+ },
46
+ "engines": {
47
+ "node": ">=20",
48
+ "npm": ">=8"
49
49
  }
50
50
  }