@platformatic/service 2.12.0 → 2.13.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 +10 -2
- package/package.json +9 -9
- package/schema.json +14 -4
package/config.d.ts
CHANGED
|
@@ -248,7 +248,7 @@ export interface OpenTelemetry {
|
|
|
248
248
|
}[];
|
|
249
249
|
exporter?:
|
|
250
250
|
| {
|
|
251
|
-
type?: "console" | "otlp" | "zipkin" | "memory";
|
|
251
|
+
type?: "console" | "otlp" | "zipkin" | "memory" | "file";
|
|
252
252
|
/**
|
|
253
253
|
* Options for the exporter. These are passed directly to the exporter.
|
|
254
254
|
*/
|
|
@@ -263,13 +263,17 @@ export interface OpenTelemetry {
|
|
|
263
263
|
headers?: {
|
|
264
264
|
[k: string]: unknown;
|
|
265
265
|
};
|
|
266
|
+
/**
|
|
267
|
+
* The path to write the traces to. Only for file exporter.
|
|
268
|
+
*/
|
|
269
|
+
path?: string;
|
|
266
270
|
[k: string]: unknown;
|
|
267
271
|
};
|
|
268
272
|
additionalProperties?: never;
|
|
269
273
|
[k: string]: unknown;
|
|
270
274
|
}[]
|
|
271
275
|
| {
|
|
272
|
-
type?: "console" | "otlp" | "zipkin" | "memory";
|
|
276
|
+
type?: "console" | "otlp" | "zipkin" | "memory" | "file";
|
|
273
277
|
/**
|
|
274
278
|
* Options for the exporter. These are passed directly to the exporter.
|
|
275
279
|
*/
|
|
@@ -284,6 +288,10 @@ export interface OpenTelemetry {
|
|
|
284
288
|
headers?: {
|
|
285
289
|
[k: string]: unknown;
|
|
286
290
|
};
|
|
291
|
+
/**
|
|
292
|
+
* The path to write the traces to. Only for file exporter.
|
|
293
|
+
*/
|
|
294
|
+
path?: string;
|
|
287
295
|
[k: string]: unknown;
|
|
288
296
|
};
|
|
289
297
|
additionalProperties?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/service",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -76,14 +76,14 @@
|
|
|
76
76
|
"rfdc": "^1.3.1",
|
|
77
77
|
"semgrator": "^0.3.0",
|
|
78
78
|
"undici": "^6.9.0",
|
|
79
|
-
"@platformatic/
|
|
80
|
-
"@platformatic/
|
|
81
|
-
"@platformatic/metrics": "2.
|
|
82
|
-
"@platformatic/
|
|
83
|
-
"@platformatic/
|
|
84
|
-
"@platformatic/
|
|
85
|
-
"@platformatic/utils": "2.
|
|
86
|
-
"@platformatic/ts-compiler": "2.
|
|
79
|
+
"@platformatic/config": "2.13.0",
|
|
80
|
+
"@platformatic/client": "2.13.0",
|
|
81
|
+
"@platformatic/metrics": "2.13.0",
|
|
82
|
+
"@platformatic/scalar-theme": "2.13.0",
|
|
83
|
+
"@platformatic/telemetry": "2.13.0",
|
|
84
|
+
"@platformatic/generators": "2.13.0",
|
|
85
|
+
"@platformatic/utils": "2.13.0",
|
|
86
|
+
"@platformatic/ts-compiler": "2.13.0"
|
|
87
87
|
},
|
|
88
88
|
"scripts": {
|
|
89
89
|
"test": "pnpm run lint && borp -T --concurrency=1 --timeout=300000 && tsd",
|
package/schema.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/service/2.
|
|
3
|
-
"version": "2.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/service/2.13.0.json",
|
|
3
|
+
"version": "2.13.0",
|
|
4
4
|
"title": "Platformatic Service",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -748,7 +748,8 @@
|
|
|
748
748
|
"console",
|
|
749
749
|
"otlp",
|
|
750
750
|
"zipkin",
|
|
751
|
-
"memory"
|
|
751
|
+
"memory",
|
|
752
|
+
"file"
|
|
752
753
|
],
|
|
753
754
|
"default": "console"
|
|
754
755
|
},
|
|
@@ -763,6 +764,10 @@
|
|
|
763
764
|
"headers": {
|
|
764
765
|
"type": "object",
|
|
765
766
|
"description": "Headers to send to the exporter. Not used for console or memory exporters."
|
|
767
|
+
},
|
|
768
|
+
"path": {
|
|
769
|
+
"type": "string",
|
|
770
|
+
"description": "The path to write the traces to. Only for file exporter."
|
|
766
771
|
}
|
|
767
772
|
}
|
|
768
773
|
},
|
|
@@ -779,7 +784,8 @@
|
|
|
779
784
|
"console",
|
|
780
785
|
"otlp",
|
|
781
786
|
"zipkin",
|
|
782
|
-
"memory"
|
|
787
|
+
"memory",
|
|
788
|
+
"file"
|
|
783
789
|
],
|
|
784
790
|
"default": "console"
|
|
785
791
|
},
|
|
@@ -794,6 +800,10 @@
|
|
|
794
800
|
"headers": {
|
|
795
801
|
"type": "object",
|
|
796
802
|
"description": "Headers to send to the exporter. Not used for console or memory exporters."
|
|
803
|
+
},
|
|
804
|
+
"path": {
|
|
805
|
+
"type": "string",
|
|
806
|
+
"description": "The path to write the traces to. Only for file exporter."
|
|
797
807
|
}
|
|
798
808
|
}
|
|
799
809
|
},
|