Skip to content

Opentelemetry undefined result #1753

@monwolf

Description

@monwolf

We are trying to setup observability with OTEL @opentelemetry/auto-instrumentations-node": "^0.64.1" using the driver "oracledb": "^6.7.0" on Oracle 19. When we enable otel on our service, we can see the error:

2025-09-22T13:23:57.679Z [info] jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxxxxxx.cd22u62e42mh.eu-west-1.rds.amazonaws.com)(PORT=2702))(CONNECT_DATA=(SID=xxxxxx))) connecting...
TypeError: Cannot set properties of undefined (setting 'result')
    at traceExitFn (/home/bernat/il-office-rest/node_modules/oracledb/lib/util.js:202:40)
    at createPool (/home/bernat/il-office-rest/node_modules/oracledb/lib/util.js:310:21)
    at createPool (/home/bernat/il-office-rest/node_modules/oracledb/lib/util.js:246:19)
    at Object.init (/home/bernat/il-office-rest/dist/database/office.oracle.datasource.js:17:44)
    at init (/home/bernat/il-office-rest/dist/app.js:18:24)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async start (/home/bernat/il-office-rest/dist/server.js:27:9)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions