@platformatic/nest 3.38.0 → 3.39.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
@@ -55,6 +55,10 @@ export interface PlatformaticNestJSConfig {
55
55
  customLevels?: {
56
56
  [k: string]: unknown;
57
57
  };
58
+ openTelemetryExporter?: {
59
+ protocol: "grpc" | "http";
60
+ url: string;
61
+ };
58
62
  [k: string]: unknown;
59
63
  };
60
64
  server?: {
@@ -186,6 +190,10 @@ export interface PlatformaticNestJSConfig {
186
190
  customLevels?: {
187
191
  [k: string]: unknown;
188
192
  };
193
+ openTelemetryExporter?: {
194
+ protocol: "grpc" | "http";
195
+ url: string;
196
+ };
189
197
  [k: string]: unknown;
190
198
  };
191
199
  server?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/nest",
3
- "version": "3.38.0",
3
+ "version": "3.39.0",
4
4
  "description": "Platformatic Nest.js Capability",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -18,9 +18,9 @@
18
18
  "get-port": "^7.1.0",
19
19
  "light-my-request": "^6.0.0",
20
20
  "pino-http": "^10.2.0",
21
- "@platformatic/basic": "3.38.0",
22
- "@platformatic/generators": "3.38.0",
23
- "@platformatic/foundation": "3.38.0"
21
+ "@platformatic/basic": "3.39.0",
22
+ "@platformatic/foundation": "3.39.0",
23
+ "@platformatic/generators": "3.39.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@nestjs/cli": "^11.0.7",
@@ -33,8 +33,8 @@
33
33
  "neostandard": "^0.12.0",
34
34
  "tsx": "^4.19.0",
35
35
  "typescript": "^5.5.4",
36
- "@platformatic/gateway": "3.38.0",
37
- "@platformatic/service": "3.38.0"
36
+ "@platformatic/gateway": "3.39.0",
37
+ "@platformatic/service": "3.39.0"
38
38
  },
39
39
  "engines": {
40
40
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/nest/3.38.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/nest/3.39.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic NestJS Config",
5
5
  "type": "object",
@@ -152,6 +152,26 @@
152
152
  "customLevels": {
153
153
  "type": "object",
154
154
  "additionalProperties": true
155
+ },
156
+ "openTelemetryExporter": {
157
+ "type": "object",
158
+ "properties": {
159
+ "protocol": {
160
+ "type": "string",
161
+ "enum": [
162
+ "grpc",
163
+ "http"
164
+ ]
165
+ },
166
+ "url": {
167
+ "type": "string"
168
+ }
169
+ },
170
+ "required": [
171
+ "protocol",
172
+ "url"
173
+ ],
174
+ "additionalProperties": false
155
175
  }
156
176
  },
157
177
  "default": {},
@@ -935,6 +955,26 @@
935
955
  "customLevels": {
936
956
  "type": "object",
937
957
  "additionalProperties": true
958
+ },
959
+ "openTelemetryExporter": {
960
+ "type": "object",
961
+ "properties": {
962
+ "protocol": {
963
+ "type": "string",
964
+ "enum": [
965
+ "grpc",
966
+ "http"
967
+ ]
968
+ },
969
+ "url": {
970
+ "type": "string"
971
+ }
972
+ },
973
+ "required": [
974
+ "protocol",
975
+ "url"
976
+ ],
977
+ "additionalProperties": false
938
978
  }
939
979
  },
940
980
  "default": {},