wattpm 3.33.0-alpha.3 → 3.34.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/package.json +5 -5
- package/schema.json +32 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wattpm",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.34.0",
|
|
4
4
|
"description": "The Node.js Application Server",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"pino-pretty": "^13.0.0",
|
|
30
30
|
"split2": "^4.2.0",
|
|
31
31
|
"table": "^6.8.2",
|
|
32
|
-
"@platformatic/foundation": "3.
|
|
33
|
-
"@platformatic/control": "3.
|
|
34
|
-
"@platformatic/runtime": "3.
|
|
32
|
+
"@platformatic/foundation": "3.34.0",
|
|
33
|
+
"@platformatic/control": "3.34.0",
|
|
34
|
+
"@platformatic/runtime": "3.34.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"cleaner-spec-reporter": "^0.5.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"neostandard": "^0.12.0",
|
|
43
43
|
"typescript": "^5.5.4",
|
|
44
44
|
"undici": "^7.0.0",
|
|
45
|
-
"@platformatic/node": "3.
|
|
45
|
+
"@platformatic/node": "3.34.0"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
|
48
48
|
"node": ">=22.19.0"
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/wattpm/3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/wattpm/3.34.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Runtime Config",
|
|
5
5
|
"type": "object",
|
|
@@ -1757,6 +1757,11 @@
|
|
|
1757
1757
|
}
|
|
1758
1758
|
],
|
|
1759
1759
|
"default": 10000
|
|
1760
|
+
},
|
|
1761
|
+
"closeConnections": {
|
|
1762
|
+
"type": "boolean",
|
|
1763
|
+
"default": true,
|
|
1764
|
+
"description": "Add Connection: close header to HTTP responses during graceful shutdown"
|
|
1760
1765
|
}
|
|
1761
1766
|
},
|
|
1762
1767
|
"default": {},
|
|
@@ -2297,6 +2302,32 @@
|
|
|
2297
2302
|
"endpoint"
|
|
2298
2303
|
],
|
|
2299
2304
|
"additionalProperties": false
|
|
2305
|
+
},
|
|
2306
|
+
"httpCustomLabels": {
|
|
2307
|
+
"type": "array",
|
|
2308
|
+
"description": "Custom labels to add to HTTP metrics (http_request_all_duration_seconds). Each label extracts its value from an HTTP request header.",
|
|
2309
|
+
"items": {
|
|
2310
|
+
"type": "object",
|
|
2311
|
+
"properties": {
|
|
2312
|
+
"name": {
|
|
2313
|
+
"type": "string",
|
|
2314
|
+
"description": "The label name to use in metrics"
|
|
2315
|
+
},
|
|
2316
|
+
"header": {
|
|
2317
|
+
"type": "string",
|
|
2318
|
+
"description": "The HTTP request header to extract the value from"
|
|
2319
|
+
},
|
|
2320
|
+
"default": {
|
|
2321
|
+
"type": "string",
|
|
2322
|
+
"description": "Default value when header is missing (defaults to \"unknown\")"
|
|
2323
|
+
}
|
|
2324
|
+
},
|
|
2325
|
+
"required": [
|
|
2326
|
+
"name",
|
|
2327
|
+
"header"
|
|
2328
|
+
],
|
|
2329
|
+
"additionalProperties": false
|
|
2330
|
+
}
|
|
2300
2331
|
}
|
|
2301
2332
|
},
|
|
2302
2333
|
"additionalProperties": false
|