@platformatic/nest 3.53.0 → 3.55.0
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.
- package/config.d.ts +9 -1
- package/package.json +6 -6
- package/schema.json +89 -2
package/config.d.ts
CHANGED
|
@@ -259,6 +259,8 @@ export interface PlatformaticNestJSConfig {
|
|
|
259
259
|
maxHeapTotal?: number | string;
|
|
260
260
|
maxYoungGeneration?: number | string;
|
|
261
261
|
codeRangeSize?: number | string;
|
|
262
|
+
bufferPoolSize?: number | string;
|
|
263
|
+
defaultHighWaterMark?: number | string;
|
|
262
264
|
};
|
|
263
265
|
undici?: {
|
|
264
266
|
agentOptions?: {
|
|
@@ -361,6 +363,10 @@ export interface PlatformaticNestJSConfig {
|
|
|
361
363
|
* The label name to use for the application identifier in metrics (e.g., applicationId, serviceId)
|
|
362
364
|
*/
|
|
363
365
|
applicationLabel?: string;
|
|
366
|
+
/**
|
|
367
|
+
* Enable outgoing HTTP client request duration metrics
|
|
368
|
+
*/
|
|
369
|
+
httpClientMetrics?: boolean | string;
|
|
364
370
|
readiness?:
|
|
365
371
|
| boolean
|
|
366
372
|
| {
|
|
@@ -517,7 +523,7 @@ export interface PlatformaticNestJSConfig {
|
|
|
517
523
|
/**
|
|
518
524
|
* Enable the OpenTelemetry diagnostic logger. Diagnostic messages are forwarded to the Platformatic global logger using the current logger level.
|
|
519
525
|
*/
|
|
520
|
-
diagLogger?: boolean;
|
|
526
|
+
diagLogger?: boolean | string;
|
|
521
527
|
};
|
|
522
528
|
verticalScaler?: {
|
|
523
529
|
enabled?: boolean;
|
|
@@ -619,6 +625,8 @@ export interface PlatformaticNestJSConfig {
|
|
|
619
625
|
maxHeapTotal?: number | string;
|
|
620
626
|
maxYoungGeneration?: number | string;
|
|
621
627
|
codeRangeSize?: number | string;
|
|
628
|
+
bufferPoolSize?: number | string;
|
|
629
|
+
defaultHighWaterMark?: number | string;
|
|
622
630
|
};
|
|
623
631
|
arguments?: string[];
|
|
624
632
|
env?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/nest",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.55.0",
|
|
4
4
|
"description": "Platformatic Nest.js Capability",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"get-port": "^7.1.0",
|
|
19
19
|
"light-my-request": "^6.0.0",
|
|
20
20
|
"pino-http": "^10.2.0",
|
|
21
|
-
"@platformatic/
|
|
22
|
-
"@platformatic/
|
|
23
|
-
"@platformatic/
|
|
21
|
+
"@platformatic/foundation": "3.55.0",
|
|
22
|
+
"@platformatic/basic": "3.55.0",
|
|
23
|
+
"@platformatic/generators": "3.55.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@nestjs/cli": "^11.0.7",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"tstyche": "^6.2.0",
|
|
35
35
|
"tsx": "^4.19.0",
|
|
36
36
|
"typescript": "^5.5.4",
|
|
37
|
-
"@platformatic/gateway": "3.
|
|
38
|
-
"@platformatic/service": "3.
|
|
37
|
+
"@platformatic/gateway": "3.55.0",
|
|
38
|
+
"@platformatic/service": "3.55.0"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=22.19.0"
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/nest/3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/nest/3.55.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic NestJS Config",
|
|
5
5
|
"type": "object",
|
|
@@ -606,6 +606,28 @@
|
|
|
606
606
|
"type": "string"
|
|
607
607
|
}
|
|
608
608
|
]
|
|
609
|
+
},
|
|
610
|
+
"bufferPoolSize": {
|
|
611
|
+
"anyOf": [
|
|
612
|
+
{
|
|
613
|
+
"type": "number",
|
|
614
|
+
"minimum": 0
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"type": "string"
|
|
618
|
+
}
|
|
619
|
+
]
|
|
620
|
+
},
|
|
621
|
+
"defaultHighWaterMark": {
|
|
622
|
+
"anyOf": [
|
|
623
|
+
{
|
|
624
|
+
"type": "number",
|
|
625
|
+
"minimum": 0
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"type": "string"
|
|
629
|
+
}
|
|
630
|
+
]
|
|
609
631
|
}
|
|
610
632
|
},
|
|
611
633
|
"additionalProperties": false
|
|
@@ -1315,6 +1337,30 @@
|
|
|
1315
1337
|
}
|
|
1316
1338
|
],
|
|
1317
1339
|
"default": 268435456
|
|
1340
|
+
},
|
|
1341
|
+
"bufferPoolSize": {
|
|
1342
|
+
"anyOf": [
|
|
1343
|
+
{
|
|
1344
|
+
"type": "number",
|
|
1345
|
+
"minimum": 0
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
"type": "string"
|
|
1349
|
+
}
|
|
1350
|
+
],
|
|
1351
|
+
"default": 262144
|
|
1352
|
+
},
|
|
1353
|
+
"defaultHighWaterMark": {
|
|
1354
|
+
"anyOf": [
|
|
1355
|
+
{
|
|
1356
|
+
"type": "number",
|
|
1357
|
+
"minimum": 0
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
"type": "string"
|
|
1361
|
+
}
|
|
1362
|
+
],
|
|
1363
|
+
"default": 262144
|
|
1318
1364
|
}
|
|
1319
1365
|
},
|
|
1320
1366
|
"additionalProperties": false
|
|
@@ -1597,6 +1643,18 @@
|
|
|
1597
1643
|
"default": "applicationId",
|
|
1598
1644
|
"description": "The label name to use for the application identifier in metrics (e.g., applicationId, serviceId)"
|
|
1599
1645
|
},
|
|
1646
|
+
"httpClientMetrics": {
|
|
1647
|
+
"anyOf": [
|
|
1648
|
+
{
|
|
1649
|
+
"type": "boolean"
|
|
1650
|
+
},
|
|
1651
|
+
{
|
|
1652
|
+
"type": "string"
|
|
1653
|
+
}
|
|
1654
|
+
],
|
|
1655
|
+
"default": false,
|
|
1656
|
+
"description": "Enable outgoing HTTP client request duration metrics"
|
|
1657
|
+
},
|
|
1600
1658
|
"readiness": {
|
|
1601
1659
|
"anyOf": [
|
|
1602
1660
|
{
|
|
@@ -1918,7 +1976,14 @@
|
|
|
1918
1976
|
]
|
|
1919
1977
|
},
|
|
1920
1978
|
"diagLogger": {
|
|
1921
|
-
"
|
|
1979
|
+
"anyOf": [
|
|
1980
|
+
{
|
|
1981
|
+
"type": "boolean"
|
|
1982
|
+
},
|
|
1983
|
+
{
|
|
1984
|
+
"type": "string"
|
|
1985
|
+
}
|
|
1986
|
+
],
|
|
1922
1987
|
"description": "Enable the OpenTelemetry diagnostic logger. Diagnostic messages are forwarded to the Platformatic global logger using the current logger level."
|
|
1923
1988
|
}
|
|
1924
1989
|
},
|
|
@@ -2321,6 +2386,28 @@
|
|
|
2321
2386
|
"type": "string"
|
|
2322
2387
|
}
|
|
2323
2388
|
]
|
|
2389
|
+
},
|
|
2390
|
+
"bufferPoolSize": {
|
|
2391
|
+
"anyOf": [
|
|
2392
|
+
{
|
|
2393
|
+
"type": "number",
|
|
2394
|
+
"minimum": 0
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
"type": "string"
|
|
2398
|
+
}
|
|
2399
|
+
]
|
|
2400
|
+
},
|
|
2401
|
+
"defaultHighWaterMark": {
|
|
2402
|
+
"anyOf": [
|
|
2403
|
+
{
|
|
2404
|
+
"type": "number",
|
|
2405
|
+
"minimum": 0
|
|
2406
|
+
},
|
|
2407
|
+
{
|
|
2408
|
+
"type": "string"
|
|
2409
|
+
}
|
|
2410
|
+
]
|
|
2324
2411
|
}
|
|
2325
2412
|
},
|
|
2326
2413
|
"additionalProperties": false
|