@platformatic/nitro 3.76.0 → 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 +8 -0
- package/package.json +8 -8
- package/schema.json +23 -1
package/config.d.ts
CHANGED
|
@@ -697,6 +697,14 @@ export interface PlatformaticNitroConfig {
|
|
|
697
697
|
* Enable outgoing HTTP client request duration metrics
|
|
698
698
|
*/
|
|
699
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;
|
|
700
708
|
readiness?:
|
|
701
709
|
| boolean
|
|
702
710
|
| {
|
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",
|
|
@@ -2264,6 +2264,28 @@
|
|
|
2264
2264
|
"default": false,
|
|
2265
2265
|
"description": "Enable outgoing HTTP client request duration metrics"
|
|
2266
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
|
+
},
|
|
2267
2289
|
"readiness": {
|
|
2268
2290
|
"anyOf": [
|
|
2269
2291
|
{
|