@platformatic/react-router 3.76.0 → 3.78.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 CHANGED
@@ -698,6 +698,14 @@ export interface PlatformaticReactRouterConfig {
698
698
  * Enable outgoing HTTP client request duration metrics
699
699
  */
700
700
  httpClientMetrics?: boolean | string;
701
+ /**
702
+ * 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.
703
+ */
704
+ aggregateWorkers?: boolean | string;
705
+ /**
706
+ * 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.
707
+ */
708
+ resetHttpMetrics?: boolean | string;
701
709
  readiness?:
702
710
  | boolean
703
711
  | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/react-router",
3
- "version": "3.76.0",
3
+ "version": "3.78.0",
4
4
  "description": "Platformatic React Router Capability",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -15,23 +15,23 @@
15
15
  },
16
16
  "homepage": "https://github.com/platformatic/platformatic#readme",
17
17
  "dependencies": {
18
- "@fastify/static": "^10.0.0",
19
- "@platformatic/basic": "3.76.0",
20
- "@platformatic/foundation": "3.76.0",
21
- "@platformatic/globals": "3.76.0",
22
- "@platformatic/vite": "3.76.0",
18
+ "@fastify/static": "^10.1.9",
19
+ "@platformatic/basic": "3.78.0",
20
+ "@platformatic/foundation": "3.78.0",
21
+ "@platformatic/globals": "3.78.0",
22
+ "@platformatic/vite": "3.78.0",
23
23
  "fastify": "^5.0.0",
24
24
  "semver": "^7.6.3"
25
25
  },
26
26
  "devDependencies": {
27
- "@platformatic/gateway": "3.76.0",
28
- "@platformatic/service": "3.76.0",
27
+ "@platformatic/gateway": "3.78.0",
28
+ "@platformatic/service": "3.78.0",
29
29
  "@react-router/dev": "^7.10.0",
30
30
  "@react-router/node": "^7.10.0",
31
31
  "@types/react": "^19.1.11",
32
32
  "@types/react-dom": "^19.1.7",
33
33
  "cleaner-spec-reporter": "^2.0.0",
34
- "eslint": "9",
34
+ "eslint": "10",
35
35
  "fastify": "^5.0.0",
36
36
  "isbot": "^5.1.17",
37
37
  "json-schema-to-typescript": "^16.0.0",
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/react-router/3.76.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/react-router/3.78.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic React Router Config",
5
5
  "type": "object",
@@ -2270,6 +2270,28 @@
2270
2270
  "default": false,
2271
2271
  "description": "Enable outgoing HTTP client request duration metrics"
2272
2272
  },
2273
+ "aggregateWorkers": {
2274
+ "anyOf": [
2275
+ {
2276
+ "type": "boolean"
2277
+ },
2278
+ {
2279
+ "type": "string"
2280
+ }
2281
+ ],
2282
+ "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."
2283
+ },
2284
+ "resetHttpMetrics": {
2285
+ "anyOf": [
2286
+ {
2287
+ "type": "boolean"
2288
+ },
2289
+ {
2290
+ "type": "string"
2291
+ }
2292
+ ],
2293
+ "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."
2294
+ },
2273
2295
  "readiness": {
2274
2296
  "anyOf": [
2275
2297
  {