@twin.org/node-core 0.9.2 → 0.9.3-next.1
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/dist/es/builders/engineEnvBuilder.js +9 -1
- package/dist/es/builders/engineEnvBuilder.js.map +1 -1
- package/dist/es/models/IEngineEnvironmentVariables.js.map +1 -1
- package/dist/es/node.js +1 -1
- package/dist/es/node.js.map +1 -1
- package/dist/types/models/IEngineEnvironmentVariables.d.ts +1 -1
- package/docs/changelog.md +160 -0
- package/docs/reference/interfaces/IEngineEnvironmentVariables.md +1 -1
- package/package.json +34 -34
|
@@ -653,6 +653,12 @@ async function configureTracing(coreConfig, envVars) {
|
|
|
653
653
|
});
|
|
654
654
|
additionalConnectorCount++;
|
|
655
655
|
}
|
|
656
|
+
else if (tracingConnector === TracingConnectorType.Console) {
|
|
657
|
+
coreConfig.types.tracingConnector.push({
|
|
658
|
+
type: TracingConnectorType.Console
|
|
659
|
+
});
|
|
660
|
+
additionalConnectorCount++;
|
|
661
|
+
}
|
|
656
662
|
else if (tracingConnector === TracingConnectorType.OpenTelemetry) {
|
|
657
663
|
const otelTracingConfig = {
|
|
658
664
|
tracerName: envVars.openTelemetryTracingTracerName,
|
|
@@ -1646,6 +1652,8 @@ export function isTelemetryEnabled(envVars) {
|
|
|
1646
1652
|
* @returns True if tracing is enabled.
|
|
1647
1653
|
*/
|
|
1648
1654
|
export function isTracingEnabled(envVars) {
|
|
1649
|
-
return commaSeparatedListToArray(envVars.tracingConnector).some(t => t === TracingConnectorType.EntityStorage ||
|
|
1655
|
+
return commaSeparatedListToArray(envVars.tracingConnector).some(t => t === TracingConnectorType.EntityStorage ||
|
|
1656
|
+
t === TracingConnectorType.OpenTelemetry ||
|
|
1657
|
+
t === TracingConnectorType.Console);
|
|
1650
1658
|
}
|
|
1651
1659
|
//# sourceMappingURL=engineEnvBuilder.js.map
|