diff --git a/utils/build/docker/nodejs/parametric/server.js b/utils/build/docker/nodejs/parametric/server.js index 48205e68d0..a92a34d354 100644 --- a/utils/build/docker/nodejs/parametric/server.js +++ b/utils/build/docker/nodejs/parametric/server.js @@ -321,7 +321,7 @@ app.post('/trace/otel/set_attributes', (req, res) => { app.get('/trace/config', (req, res) => { const dummyTracer = require('dd-trace').init() const config = dummyTracer._tracer._config - const agentUrl = dummyTracer._tracer?._url || config?.url + const agentUrl = dummyTracer._tracer?._url || config?.url res.json( { config: { 'dd_service': config?.service !== undefined ? `${config.service}`.toLowerCase() : 'null',