kcveitch

Results comments of kcveitch

I suspect this might be related to https://github.com/DataDog/dd-trace-js/pull/3186 I dug into my db query logging and I'm seeing prepared statement queries with upwards of 40+ of the following comments prepended...

i think our issue is a combination of https://github.com/DataDog/dd-trace-js/commit/d7c7dfb1ee9b6e484e60083e7779bd659727db34 and https://github.com/DataDog/dd-trace-js/commit/4a1e4a600e848fdb9fc9d7e22178855e2f It looks like the intent was to remove the traceparent ID from prepared comment injection into the query to...

Updated External modules in esbuild, minify:false, and DD_LOG_LEVEL:debug per your request. see resulting logs: ``` INIT_START Runtime Version: nodejs:16.v16 Runtime Version ARN: arn:aws:lambda:us-east-1::runtime:c1983f4e9ce3930d3093fa38128e12edac2324f4fe99adfb8e0d5fb6b6afadbc 2023-07-31 15:57:19 UTC | DD_EXTENSION | DEBUG...

at node_modules/aws-sdk/lib/sequential_executor.js (/var/task/app.js:3154:41) MAPS TO LINE 5: ``` // node_modules/aws-sdk/lib/sequential_executor.js var require_sequential_executor = __commonJS({ "node_modules/aws-sdk/lib/sequential_executor.js"(exports, module2) { var AWS3 = require_core2(); AWS3.SequentialExecutor = AWS3.util.inherit({ constructor: function SequentialExecutor() { this._events =...

well, I got it working. Pipeline had a extra "npm install" without the --production flag prior to the "sam build" which invokes the esbuild plugin. So, that was causing it...

awesome. Thank you so much for helping me work through it. Glad to hear my pipeline mistakes can lead to potential improvements. also, may want to update esbuild example config...

On the downside, I was hoping to see the mongoose integration auto-instrumented and It looks like that's still not happening. But I think that's gonna be a separate ticket. but...