@platformatic/service 3.29.1 → 3.30.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/lib/capability.js +4 -1
- package/package.json +9 -9
- package/schema.json +2 -2
package/lib/capability.js
CHANGED
|
@@ -41,7 +41,10 @@ export class ServiceCapability extends BaseCapability {
|
|
|
41
41
|
|
|
42
42
|
// This must be done before loading the plugins, so they can inspect if the
|
|
43
43
|
// openTelemetry decorator exists and then configure accordingly.
|
|
44
|
-
|
|
44
|
+
// Skip manual telemetry plugin if automatic instrumentation is already active
|
|
45
|
+
// (loaded via --import from node-telemetry.js)
|
|
46
|
+
const hasAutomaticInstrumentation = !!globalThis.platformatic?.tracerProvider
|
|
47
|
+
if (isKeyEnabled('telemetry', config) && !hasAutomaticInstrumentation) {
|
|
45
48
|
await this.#app.register(telemetry, config.telemetry)
|
|
46
49
|
}
|
|
47
50
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/service",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.30.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"self-cert": "^2.0.0",
|
|
29
29
|
"split2": "^4.2.0",
|
|
30
30
|
"typescript": "^5.5.4",
|
|
31
|
-
"undici": "7.
|
|
31
|
+
"undici": "7.18.2",
|
|
32
32
|
"vscode-json-languageservice": "^5.3.9",
|
|
33
33
|
"why-is-node-running": "^2.2.2",
|
|
34
34
|
"yaml": "^2.4.1"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"env-schema": "^6.0.0",
|
|
55
55
|
"execa": "^9.0.0",
|
|
56
56
|
"fast-json-patch": "^3.1.1",
|
|
57
|
-
"fastify": "^5.
|
|
57
|
+
"fastify": "^5.7.0",
|
|
58
58
|
"fastify-plugin": "^5.0.0",
|
|
59
59
|
"graphql": "^16.9.0",
|
|
60
60
|
"help-me": "^5.0.0",
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
"rfdc": "^1.3.1",
|
|
68
68
|
"semgrator": "^0.3.0",
|
|
69
69
|
"undici": "^7.0.0",
|
|
70
|
-
"@platformatic/
|
|
71
|
-
"@platformatic/
|
|
72
|
-
"@platformatic/foundation": "3.
|
|
73
|
-
"@platformatic/scalar-theme": "3.
|
|
74
|
-
"@platformatic/metrics": "3.
|
|
75
|
-
"@platformatic/telemetry": "3.
|
|
70
|
+
"@platformatic/basic": "3.30.0",
|
|
71
|
+
"@platformatic/generators": "3.30.0",
|
|
72
|
+
"@platformatic/foundation": "3.30.0",
|
|
73
|
+
"@platformatic/scalar-theme": "3.30.0",
|
|
74
|
+
"@platformatic/metrics": "3.30.0",
|
|
75
|
+
"@platformatic/telemetry": "3.30.0"
|
|
76
76
|
},
|
|
77
77
|
"engines": {
|
|
78
78
|
"node": ">=22.19.0"
|
package/schema.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/service/3.
|
|
3
|
-
"version": "3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/service/3.30.0.json",
|
|
3
|
+
"version": "3.30.0",
|
|
4
4
|
"title": "Platformatic Service Config",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|