@platformatic/runtime 2.44.2 → 2.44.3
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 +2 -1
- package/lib/runtime.js +1 -1
- package/package.json +14 -14
- package/schema.json +11 -1
package/config.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
export type
|
|
8
|
+
export type HttpsSchemasPlatformaticDevPlatformaticRuntime2443Json = {
|
|
9
9
|
[k: string]: unknown;
|
|
10
10
|
} & {
|
|
11
11
|
$schema?: string;
|
|
@@ -197,6 +197,7 @@ export interface UndiciInterceptor {
|
|
|
197
197
|
[k: string]: unknown;
|
|
198
198
|
}
|
|
199
199
|
export interface OpenTelemetry {
|
|
200
|
+
enabled?: boolean | string;
|
|
200
201
|
/**
|
|
201
202
|
* The name of the service. Defaults to the folder name if not specified.
|
|
202
203
|
*/
|
package/lib/runtime.js
CHANGED
|
@@ -1034,7 +1034,7 @@ class Runtime extends EventEmitter {
|
|
|
1034
1034
|
|
|
1035
1035
|
const execArgv = []
|
|
1036
1036
|
|
|
1037
|
-
if (!serviceConfig.isPLTService && config.telemetry) {
|
|
1037
|
+
if (!serviceConfig.isPLTService && config.telemetry && config.telemetry.enabled !== false) {
|
|
1038
1038
|
// We need the following because otherwise some open telemetry instrumentations won't work with ESM (like express)
|
|
1039
1039
|
// see: https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/esm-support.md#instrumentation-hook-required-for-esm
|
|
1040
1040
|
execArgv.push('--experimental-loader', '@opentelemetry/instrumentation/hook.mjs')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/runtime",
|
|
3
|
-
"version": "2.44.
|
|
3
|
+
"version": "2.44.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"typescript": "^5.5.4",
|
|
37
37
|
"undici-oidc-interceptor": "^0.5.0",
|
|
38
38
|
"why-is-node-running": "^2.2.2",
|
|
39
|
-
"@platformatic/composer": "2.44.
|
|
40
|
-
"@platformatic/db": "2.44.
|
|
41
|
-
"@platformatic/node": "2.44.
|
|
42
|
-
"@platformatic/
|
|
43
|
-
"@platformatic/sql-
|
|
44
|
-
"@platformatic/
|
|
39
|
+
"@platformatic/composer": "2.44.3",
|
|
40
|
+
"@platformatic/db": "2.44.3",
|
|
41
|
+
"@platformatic/node": "2.44.3",
|
|
42
|
+
"@platformatic/service": "2.44.3",
|
|
43
|
+
"@platformatic/sql-graphql": "2.44.3",
|
|
44
|
+
"@platformatic/sql-mapper": "2.44.3"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@fastify/accepts": "^5.0.0",
|
|
@@ -75,13 +75,13 @@
|
|
|
75
75
|
"undici": "^7.0.0",
|
|
76
76
|
"undici-thread-interceptor": "^0.11.0",
|
|
77
77
|
"ws": "^8.16.0",
|
|
78
|
-
"@platformatic/basic": "2.44.
|
|
79
|
-
"@platformatic/
|
|
80
|
-
"@platformatic/
|
|
81
|
-
"@platformatic/itc": "2.44.
|
|
82
|
-
"@platformatic/telemetry": "2.44.
|
|
83
|
-
"@platformatic/ts-compiler": "2.44.
|
|
84
|
-
"@platformatic/utils": "2.44.
|
|
78
|
+
"@platformatic/basic": "2.44.3",
|
|
79
|
+
"@platformatic/generators": "2.44.3",
|
|
80
|
+
"@platformatic/config": "2.44.3",
|
|
81
|
+
"@platformatic/itc": "2.44.3",
|
|
82
|
+
"@platformatic/telemetry": "2.44.3",
|
|
83
|
+
"@platformatic/ts-compiler": "2.44.3",
|
|
84
|
+
"@platformatic/utils": "2.44.3"
|
|
85
85
|
},
|
|
86
86
|
"scripts": {
|
|
87
87
|
"test": "npm run lint && borp --concurrency=1 --timeout=300000 && tsd",
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/runtime/2.44.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/runtime/2.44.3.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
@@ -1174,6 +1174,16 @@
|
|
|
1174
1174
|
"$id": "/OpenTelemetry",
|
|
1175
1175
|
"type": "object",
|
|
1176
1176
|
"properties": {
|
|
1177
|
+
"enabled": {
|
|
1178
|
+
"anyOf": [
|
|
1179
|
+
{
|
|
1180
|
+
"type": "boolean"
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
"type": "string"
|
|
1184
|
+
}
|
|
1185
|
+
]
|
|
1186
|
+
},
|
|
1177
1187
|
"serviceName": {
|
|
1178
1188
|
"type": "string",
|
|
1179
1189
|
"description": "The name of the service. Defaults to the folder name if not specified."
|