@platformatic/gateway 3.2.1 → 3.3.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
@@ -559,6 +559,10 @@ export interface PlatformaticGatewayConfig {
559
559
  labels?: {
560
560
  [k: string]: string;
561
561
  };
562
+ /**
563
+ * The label name to use for the application identifier in metrics (e.g., applicationId, serviceId)
564
+ */
565
+ applicationLabel?: string;
562
566
  readiness?:
563
567
  | boolean
564
568
  | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/gateway",
3
- "version": "3.2.1",
3
+ "version": "3.3.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -32,7 +32,7 @@
32
32
  "typescript": "^5.5.4",
33
33
  "why-is-node-running": "2",
34
34
  "ws": "^8.16.0",
35
- "@platformatic/db": "3.2.1"
35
+ "@platformatic/db": "3.3.0"
36
36
  },
37
37
  "dependencies": {
38
38
  "@fastify/error": "^4.0.0",
@@ -63,11 +63,11 @@
63
63
  "rfdc": "^1.3.1",
64
64
  "semgrator": "^0.3.0",
65
65
  "undici": "^7.0.0",
66
- "@platformatic/basic": "3.2.1",
67
- "@platformatic/service": "3.2.1",
68
- "@platformatic/telemetry": "3.2.1",
69
- "@platformatic/scalar-theme": "3.2.1",
70
- "@platformatic/foundation": "^3.2.1"
66
+ "@platformatic/scalar-theme": "3.3.0",
67
+ "@platformatic/service": "3.3.0",
68
+ "@platformatic/basic": "3.3.0",
69
+ "@platformatic/telemetry": "3.3.0",
70
+ "@platformatic/foundation": "^3.3.0"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/gateway/3.2.1.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/gateway/3.3.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Gateway Config",
5
5
  "type": "object",
@@ -2168,6 +2168,11 @@
2168
2168
  "type": "string"
2169
2169
  }
2170
2170
  },
2171
+ "applicationLabel": {
2172
+ "type": "string",
2173
+ "default": "applicationId",
2174
+ "description": "The label name to use for the application identifier in metrics (e.g., applicationId, serviceId)"
2175
+ },
2171
2176
  "readiness": {
2172
2177
  "anyOf": [
2173
2178
  {