@jaypie/constructs 1.2.62 → 1.2.64
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/cjs/index.cjs +15 -2
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +15 -2
- package/dist/esm/index.js.map +1 -1
- package/package.json +3 -4
package/dist/esm/index.js
CHANGED
|
@@ -74,8 +74,8 @@ const CDK$2 = {
|
|
|
74
74
|
SITE: "datadoghq.com",
|
|
75
75
|
LAYER: {
|
|
76
76
|
// https://docs.datadoghq.com/meta/latest-lambda-layer-version.json
|
|
77
|
-
NODE:
|
|
78
|
-
EXTENSION:
|
|
77
|
+
NODE: 139, // 139 on 6/17/2026
|
|
78
|
+
EXTENSION: 97, // 97 on 6/17/2026
|
|
79
79
|
},
|
|
80
80
|
},
|
|
81
81
|
DEFAULT: {
|
|
@@ -758,6 +758,19 @@ function jaypieLambdaEnv(options = {}) {
|
|
|
758
758
|
environment[envVar] = process.env[envVar];
|
|
759
759
|
}
|
|
760
760
|
});
|
|
761
|
+
// Datadog LLM Observability: pass through DD_LLMOBS_ENABLED if set, and
|
|
762
|
+
// DD_LLMOBS_ML_APP unless observability is explicitly disabled. Explicit
|
|
763
|
+
// initialEnvironment values win over process.env, including for the gate.
|
|
764
|
+
if (process.env.DD_LLMOBS_ENABLED && !environment.DD_LLMOBS_ENABLED) {
|
|
765
|
+
environment.DD_LLMOBS_ENABLED = process.env.DD_LLMOBS_ENABLED;
|
|
766
|
+
}
|
|
767
|
+
const llmObsDisabled = environment.DD_LLMOBS_ENABLED === "false" ||
|
|
768
|
+
environment.DD_LLMOBS_ENABLED === "0";
|
|
769
|
+
if (process.env.DD_LLMOBS_ML_APP &&
|
|
770
|
+
!llmObsDisabled &&
|
|
771
|
+
!environment.DD_LLMOBS_ML_APP) {
|
|
772
|
+
environment.DD_LLMOBS_ML_APP = process.env.DD_LLMOBS_ML_APP;
|
|
773
|
+
}
|
|
761
774
|
return environment;
|
|
762
775
|
}
|
|
763
776
|
|