@platformatic/nitro 3.75.1 → 3.77.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 +50 -0
- package/package.json +8 -8
- package/schema.json +139 -1
package/config.d.ts
CHANGED
|
@@ -240,9 +240,23 @@ export interface PlatformaticNitroConfig {
|
|
|
240
240
|
gracePeriod?: number | string;
|
|
241
241
|
maxUnhealthyChecks?: number | string;
|
|
242
242
|
maxELU?: number | string;
|
|
243
|
+
maxELULogLevel?: (
|
|
244
|
+
| ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
|
|
245
|
+
| {
|
|
246
|
+
[k: string]: unknown;
|
|
247
|
+
}
|
|
248
|
+
) &
|
|
249
|
+
string;
|
|
243
250
|
maxEventLoopDelay?: number | string;
|
|
244
251
|
maxEventLoopDelayP99?: number | string;
|
|
245
252
|
maxHeapUsed?: number | string;
|
|
253
|
+
maxHeapUsedLogLevel?: (
|
|
254
|
+
| ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
|
|
255
|
+
| {
|
|
256
|
+
[k: string]: unknown;
|
|
257
|
+
}
|
|
258
|
+
) &
|
|
259
|
+
string;
|
|
246
260
|
maxHeapTotal?: number | string;
|
|
247
261
|
maxYoungGeneration?: number | string;
|
|
248
262
|
codeRangeSize?: number | string;
|
|
@@ -494,9 +508,23 @@ export interface PlatformaticNitroConfig {
|
|
|
494
508
|
gracePeriod?: number | string;
|
|
495
509
|
maxUnhealthyChecks?: number | string;
|
|
496
510
|
maxELU?: number | string;
|
|
511
|
+
maxELULogLevel?: (
|
|
512
|
+
| ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
|
|
513
|
+
| {
|
|
514
|
+
[k: string]: unknown;
|
|
515
|
+
}
|
|
516
|
+
) &
|
|
517
|
+
string;
|
|
497
518
|
maxEventLoopDelay?: number | string;
|
|
498
519
|
maxEventLoopDelayP99?: number | string;
|
|
499
520
|
maxHeapUsed?: number | string;
|
|
521
|
+
maxHeapUsedLogLevel?: (
|
|
522
|
+
| ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
|
|
523
|
+
| {
|
|
524
|
+
[k: string]: unknown;
|
|
525
|
+
}
|
|
526
|
+
) &
|
|
527
|
+
string;
|
|
500
528
|
maxHeapTotal?: number | string;
|
|
501
529
|
maxYoungGeneration?: number | string;
|
|
502
530
|
codeRangeSize?: number | string;
|
|
@@ -669,6 +697,14 @@ export interface PlatformaticNitroConfig {
|
|
|
669
697
|
* Enable outgoing HTTP client request duration metrics
|
|
670
698
|
*/
|
|
671
699
|
httpClientMetrics?: boolean | string;
|
|
700
|
+
/**
|
|
701
|
+
* Merge the metrics of all the workers of each application into a single set of series without the workerId label. Summaries are still reported per worker. Defaults to false.
|
|
702
|
+
*/
|
|
703
|
+
aggregateWorkers?: boolean | string;
|
|
704
|
+
/**
|
|
705
|
+
* Reset the http_request_all_duration_seconds, http_request_all_summary_seconds and http_client_request_duration_seconds metrics after each collection. Set to false to make them cumulative. Defaults to true.
|
|
706
|
+
*/
|
|
707
|
+
resetHttpMetrics?: boolean | string;
|
|
672
708
|
readiness?:
|
|
673
709
|
| boolean
|
|
674
710
|
| {
|
|
@@ -996,9 +1032,23 @@ export interface PlatformaticNitroConfig {
|
|
|
996
1032
|
gracePeriod?: number | string;
|
|
997
1033
|
maxUnhealthyChecks?: number | string;
|
|
998
1034
|
maxELU?: number | string;
|
|
1035
|
+
maxELULogLevel?: (
|
|
1036
|
+
| ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
|
|
1037
|
+
| {
|
|
1038
|
+
[k: string]: unknown;
|
|
1039
|
+
}
|
|
1040
|
+
) &
|
|
1041
|
+
string;
|
|
999
1042
|
maxEventLoopDelay?: number | string;
|
|
1000
1043
|
maxEventLoopDelayP99?: number | string;
|
|
1001
1044
|
maxHeapUsed?: number | string;
|
|
1045
|
+
maxHeapUsedLogLevel?: (
|
|
1046
|
+
| ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
|
|
1047
|
+
| {
|
|
1048
|
+
[k: string]: unknown;
|
|
1049
|
+
}
|
|
1050
|
+
) &
|
|
1051
|
+
string;
|
|
1002
1052
|
maxHeapTotal?: number | string;
|
|
1003
1053
|
maxYoungGeneration?: number | string;
|
|
1004
1054
|
codeRangeSize?: number | string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/nitro",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.77.0",
|
|
4
4
|
"description": "Platformatic Nitro Capability",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
},
|
|
30
30
|
"homepage": "https://github.com/platformatic/platformatic#readme",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@platformatic/basic": "3.
|
|
33
|
-
"@platformatic/foundation": "3.
|
|
34
|
-
"@platformatic/globals": "3.
|
|
35
|
-
"@platformatic/vite": "3.
|
|
32
|
+
"@platformatic/basic": "3.77.0",
|
|
33
|
+
"@platformatic/foundation": "3.77.0",
|
|
34
|
+
"@platformatic/globals": "3.77.0",
|
|
35
|
+
"@platformatic/vite": "3.77.0",
|
|
36
36
|
"light-my-request": "^6.6.0",
|
|
37
37
|
"semver": "^7.6.3"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@platformatic/gateway": "3.
|
|
41
|
-
"@platformatic/service": "3.
|
|
40
|
+
"@platformatic/gateway": "3.77.0",
|
|
41
|
+
"@platformatic/service": "3.77.0",
|
|
42
42
|
"cleaner-spec-reporter": "^2.0.0",
|
|
43
|
-
"eslint": "
|
|
43
|
+
"eslint": "10",
|
|
44
44
|
"json-schema-to-typescript": "^16.0.0",
|
|
45
45
|
"neostandard": "^0.14.0",
|
|
46
46
|
"nitro": "^3.0.260610-beta",
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/nitro/3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/nitro/3.77.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Nitro Config",
|
|
5
5
|
"type": "object",
|
|
@@ -727,6 +727,25 @@
|
|
|
727
727
|
}
|
|
728
728
|
]
|
|
729
729
|
},
|
|
730
|
+
"maxELULogLevel": {
|
|
731
|
+
"type": "string",
|
|
732
|
+
"oneOf": [
|
|
733
|
+
{
|
|
734
|
+
"enum": [
|
|
735
|
+
"fatal",
|
|
736
|
+
"error",
|
|
737
|
+
"warn",
|
|
738
|
+
"info",
|
|
739
|
+
"debug",
|
|
740
|
+
"trace",
|
|
741
|
+
"silent"
|
|
742
|
+
]
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"pattern": "^\\{.+\\}$"
|
|
746
|
+
}
|
|
747
|
+
]
|
|
748
|
+
},
|
|
730
749
|
"maxEventLoopDelay": {
|
|
731
750
|
"anyOf": [
|
|
732
751
|
{
|
|
@@ -761,6 +780,25 @@
|
|
|
761
780
|
}
|
|
762
781
|
]
|
|
763
782
|
},
|
|
783
|
+
"maxHeapUsedLogLevel": {
|
|
784
|
+
"type": "string",
|
|
785
|
+
"oneOf": [
|
|
786
|
+
{
|
|
787
|
+
"enum": [
|
|
788
|
+
"fatal",
|
|
789
|
+
"error",
|
|
790
|
+
"warn",
|
|
791
|
+
"info",
|
|
792
|
+
"debug",
|
|
793
|
+
"trace",
|
|
794
|
+
"silent"
|
|
795
|
+
]
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
"pattern": "^\\{.+\\}$"
|
|
799
|
+
}
|
|
800
|
+
]
|
|
801
|
+
},
|
|
764
802
|
"maxHeapTotal": {
|
|
765
803
|
"anyOf": [
|
|
766
804
|
{
|
|
@@ -1585,6 +1623,26 @@
|
|
|
1585
1623
|
],
|
|
1586
1624
|
"default": 0.99
|
|
1587
1625
|
},
|
|
1626
|
+
"maxELULogLevel": {
|
|
1627
|
+
"type": "string",
|
|
1628
|
+
"oneOf": [
|
|
1629
|
+
{
|
|
1630
|
+
"enum": [
|
|
1631
|
+
"fatal",
|
|
1632
|
+
"error",
|
|
1633
|
+
"warn",
|
|
1634
|
+
"info",
|
|
1635
|
+
"debug",
|
|
1636
|
+
"trace",
|
|
1637
|
+
"silent"
|
|
1638
|
+
]
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
"pattern": "^\\{.+\\}$"
|
|
1642
|
+
}
|
|
1643
|
+
],
|
|
1644
|
+
"default": "error"
|
|
1645
|
+
},
|
|
1588
1646
|
"maxEventLoopDelay": {
|
|
1589
1647
|
"anyOf": [
|
|
1590
1648
|
{
|
|
@@ -1620,6 +1678,26 @@
|
|
|
1620
1678
|
],
|
|
1621
1679
|
"default": 0.99
|
|
1622
1680
|
},
|
|
1681
|
+
"maxHeapUsedLogLevel": {
|
|
1682
|
+
"type": "string",
|
|
1683
|
+
"oneOf": [
|
|
1684
|
+
{
|
|
1685
|
+
"enum": [
|
|
1686
|
+
"fatal",
|
|
1687
|
+
"error",
|
|
1688
|
+
"warn",
|
|
1689
|
+
"info",
|
|
1690
|
+
"debug",
|
|
1691
|
+
"trace",
|
|
1692
|
+
"silent"
|
|
1693
|
+
]
|
|
1694
|
+
},
|
|
1695
|
+
{
|
|
1696
|
+
"pattern": "^\\{.+\\}$"
|
|
1697
|
+
}
|
|
1698
|
+
],
|
|
1699
|
+
"default": "error"
|
|
1700
|
+
},
|
|
1623
1701
|
"maxHeapTotal": {
|
|
1624
1702
|
"anyOf": [
|
|
1625
1703
|
{
|
|
@@ -2186,6 +2264,28 @@
|
|
|
2186
2264
|
"default": false,
|
|
2187
2265
|
"description": "Enable outgoing HTTP client request duration metrics"
|
|
2188
2266
|
},
|
|
2267
|
+
"aggregateWorkers": {
|
|
2268
|
+
"anyOf": [
|
|
2269
|
+
{
|
|
2270
|
+
"type": "boolean"
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
"type": "string"
|
|
2274
|
+
}
|
|
2275
|
+
],
|
|
2276
|
+
"description": "Merge the metrics of all the workers of each application into a single set of series without the workerId label. Summaries are still reported per worker. Defaults to false."
|
|
2277
|
+
},
|
|
2278
|
+
"resetHttpMetrics": {
|
|
2279
|
+
"anyOf": [
|
|
2280
|
+
{
|
|
2281
|
+
"type": "boolean"
|
|
2282
|
+
},
|
|
2283
|
+
{
|
|
2284
|
+
"type": "string"
|
|
2285
|
+
}
|
|
2286
|
+
],
|
|
2287
|
+
"description": "Reset the http_request_all_duration_seconds, http_request_all_summary_seconds and http_client_request_duration_seconds metrics after each collection. Set to false to make them cumulative. Defaults to true."
|
|
2288
|
+
},
|
|
2189
2289
|
"readiness": {
|
|
2190
2290
|
"anyOf": [
|
|
2191
2291
|
{
|
|
@@ -3012,6 +3112,25 @@
|
|
|
3012
3112
|
}
|
|
3013
3113
|
]
|
|
3014
3114
|
},
|
|
3115
|
+
"maxELULogLevel": {
|
|
3116
|
+
"type": "string",
|
|
3117
|
+
"oneOf": [
|
|
3118
|
+
{
|
|
3119
|
+
"enum": [
|
|
3120
|
+
"fatal",
|
|
3121
|
+
"error",
|
|
3122
|
+
"warn",
|
|
3123
|
+
"info",
|
|
3124
|
+
"debug",
|
|
3125
|
+
"trace",
|
|
3126
|
+
"silent"
|
|
3127
|
+
]
|
|
3128
|
+
},
|
|
3129
|
+
{
|
|
3130
|
+
"pattern": "^\\{.+\\}$"
|
|
3131
|
+
}
|
|
3132
|
+
]
|
|
3133
|
+
},
|
|
3015
3134
|
"maxEventLoopDelay": {
|
|
3016
3135
|
"anyOf": [
|
|
3017
3136
|
{
|
|
@@ -3046,6 +3165,25 @@
|
|
|
3046
3165
|
}
|
|
3047
3166
|
]
|
|
3048
3167
|
},
|
|
3168
|
+
"maxHeapUsedLogLevel": {
|
|
3169
|
+
"type": "string",
|
|
3170
|
+
"oneOf": [
|
|
3171
|
+
{
|
|
3172
|
+
"enum": [
|
|
3173
|
+
"fatal",
|
|
3174
|
+
"error",
|
|
3175
|
+
"warn",
|
|
3176
|
+
"info",
|
|
3177
|
+
"debug",
|
|
3178
|
+
"trace",
|
|
3179
|
+
"silent"
|
|
3180
|
+
]
|
|
3181
|
+
},
|
|
3182
|
+
{
|
|
3183
|
+
"pattern": "^\\{.+\\}$"
|
|
3184
|
+
}
|
|
3185
|
+
]
|
|
3186
|
+
},
|
|
3049
3187
|
"maxHeapTotal": {
|
|
3050
3188
|
"anyOf": [
|
|
3051
3189
|
{
|