@platformatic/db 3.38.1 → 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 +8 -0
- package/package.json +12 -12
- package/schema.json +41 -1
package/config.d.ts
CHANGED
|
@@ -96,6 +96,10 @@ export interface PlatformaticDatabaseConfig {
|
|
|
96
96
|
customLevels?: {
|
|
97
97
|
[k: string]: unknown;
|
|
98
98
|
};
|
|
99
|
+
openTelemetryExporter?: {
|
|
100
|
+
protocol: "grpc" | "http";
|
|
101
|
+
url: string;
|
|
102
|
+
};
|
|
99
103
|
[k: string]: unknown;
|
|
100
104
|
};
|
|
101
105
|
loggerInstance?: {
|
|
@@ -548,6 +552,10 @@ export interface PlatformaticDatabaseConfig {
|
|
|
548
552
|
customLevels?: {
|
|
549
553
|
[k: string]: unknown;
|
|
550
554
|
};
|
|
555
|
+
openTelemetryExporter?: {
|
|
556
|
+
protocol: "grpc" | "http";
|
|
557
|
+
url: string;
|
|
558
|
+
};
|
|
551
559
|
[k: string]: unknown;
|
|
552
560
|
};
|
|
553
561
|
server?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/db",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.39.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -66,17 +66,17 @@
|
|
|
66
66
|
"rfdc": "^1.3.1",
|
|
67
67
|
"rimraf": "^4.4.1",
|
|
68
68
|
"semgrator": "^0.3.0",
|
|
69
|
-
"@platformatic/
|
|
70
|
-
"@platformatic/
|
|
71
|
-
"@platformatic/db-core": "3.
|
|
72
|
-
"@platformatic/
|
|
73
|
-
"@platformatic/
|
|
74
|
-
"@platformatic/sql-
|
|
75
|
-
"@platformatic/sql-
|
|
76
|
-
"@platformatic/
|
|
77
|
-
"@platformatic/sql-
|
|
78
|
-
"@platformatic/
|
|
79
|
-
"@platformatic/
|
|
69
|
+
"@platformatic/db-authorization": "3.39.0",
|
|
70
|
+
"@platformatic/basic": "3.39.0",
|
|
71
|
+
"@platformatic/db-core": "3.39.0",
|
|
72
|
+
"@platformatic/sql-events": "3.39.0",
|
|
73
|
+
"@platformatic/foundation": "3.39.0",
|
|
74
|
+
"@platformatic/sql-graphql": "3.39.0",
|
|
75
|
+
"@platformatic/sql-json-schema-mapper": "3.39.0",
|
|
76
|
+
"@platformatic/service": "3.39.0",
|
|
77
|
+
"@platformatic/sql-openapi": "3.39.0",
|
|
78
|
+
"@platformatic/telemetry": "3.39.0",
|
|
79
|
+
"@platformatic/sql-mapper": "3.39.0"
|
|
80
80
|
},
|
|
81
81
|
"engines": {
|
|
82
82
|
"node": ">=22.19.0"
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/db/3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/db/3.39.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Database Config",
|
|
5
5
|
"type": "object",
|
|
@@ -238,6 +238,26 @@
|
|
|
238
238
|
"customLevels": {
|
|
239
239
|
"type": "object",
|
|
240
240
|
"additionalProperties": true
|
|
241
|
+
},
|
|
242
|
+
"openTelemetryExporter": {
|
|
243
|
+
"type": "object",
|
|
244
|
+
"properties": {
|
|
245
|
+
"protocol": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"enum": [
|
|
248
|
+
"grpc",
|
|
249
|
+
"http"
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
"url": {
|
|
253
|
+
"type": "string"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"required": [
|
|
257
|
+
"protocol",
|
|
258
|
+
"url"
|
|
259
|
+
],
|
|
260
|
+
"additionalProperties": false
|
|
241
261
|
}
|
|
242
262
|
},
|
|
243
263
|
"default": {},
|
|
@@ -1870,6 +1890,26 @@
|
|
|
1870
1890
|
"customLevels": {
|
|
1871
1891
|
"type": "object",
|
|
1872
1892
|
"additionalProperties": true
|
|
1893
|
+
},
|
|
1894
|
+
"openTelemetryExporter": {
|
|
1895
|
+
"type": "object",
|
|
1896
|
+
"properties": {
|
|
1897
|
+
"protocol": {
|
|
1898
|
+
"type": "string",
|
|
1899
|
+
"enum": [
|
|
1900
|
+
"grpc",
|
|
1901
|
+
"http"
|
|
1902
|
+
]
|
|
1903
|
+
},
|
|
1904
|
+
"url": {
|
|
1905
|
+
"type": "string"
|
|
1906
|
+
}
|
|
1907
|
+
},
|
|
1908
|
+
"required": [
|
|
1909
|
+
"protocol",
|
|
1910
|
+
"url"
|
|
1911
|
+
],
|
|
1912
|
+
"additionalProperties": false
|
|
1873
1913
|
}
|
|
1874
1914
|
},
|
|
1875
1915
|
"default": {},
|