@promster/express 15.4.0 → 15.4.1
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.
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
1
|
+
import { defaultNormalizers, defaultRegister, getContentType, getSummary, Prometheus, timing } from '@promster/metrics';
|
2
|
+
import { createMiddleware, getRequestRecorder, signalIsNotUp, signalIsUp, type TPromsterOptions } from "./middleware/index.js";
|
3
3
|
export { type TPromsterOptions, createMiddleware, getRequestRecorder, signalIsUp, signalIsNotUp, getSummary, getContentType, Prometheus, defaultRegister, defaultNormalizers, timing, };
|
4
4
|
export * from '@promster/types';
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import {
|
1
|
+
import { createMiddleware, getRequestRecorder, signalIsNotUp, signalIsUp, type TPromsterOptions } from "./middleware.js";
|
2
2
|
export { type TPromsterOptions, createMiddleware, signalIsUp, signalIsNotUp, getRequestRecorder, };
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { TRequestRecorder } from '@promster/metrics';
|
2
|
+
import { Prometheus } from '@promster/metrics';
|
2
3
|
import type { TLabelValues, TOptionalPromsterOptions } from '@promster/types';
|
3
4
|
import type { Application, NextFunction, Request, Response } from 'express';
|
4
|
-
import { Prometheus } from '@promster/metrics';
|
5
5
|
interface TApp extends Application {
|
6
6
|
locals: Record<string, unknown>;
|
7
7
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@promster/express",
|
3
|
-
"version": "15.4.
|
3
|
+
"version": "15.4.1",
|
4
4
|
"description": "Express server integrations of promster",
|
5
5
|
"main": "dist/promster-express.cjs.js",
|
6
6
|
"typings": "dist/promster-express.cjs.d.ts",
|
@@ -38,13 +38,13 @@
|
|
38
38
|
"dependencies": {
|
39
39
|
"merge-options": "3.0.4",
|
40
40
|
"tslib": "2.8.1",
|
41
|
-
"@promster/metrics": "15.4.
|
42
|
-
"@promster/types": "15.4.
|
41
|
+
"@promster/metrics": "15.4.1",
|
42
|
+
"@promster/types": "15.4.1"
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
45
|
-
"@types/express": "4.17.
|
45
|
+
"@types/express": "4.17.23",
|
46
46
|
"express": "4.21.2",
|
47
47
|
"parse-prometheus-text-format": "1.1.1",
|
48
|
-
"@promster/server": "15.4.
|
48
|
+
"@promster/server": "15.4.1"
|
49
49
|
}
|
50
50
|
}
|