Skip to content

Memory leak when migrate signalfx to splunk/otel library #752

Open
@blacktrue

Description

@blacktrue

Hi

I have a memory leak when migrate signalfx library to splunk/otel, I have confirmed with other services that they migrate and have the same behavior.

Captura de pantalla 2023-07-05 a la(s) 19 14 42

My implementation is:

package.json

"scripts": {
  "prod": "APP_ENV=production node --max_old_space_size=4096 -r @splunk/otel/instrument src/app.js"
}

app.js

/* eslint-enable global-require */
const { startProfiling } = require('@splunk/otel');
startProfiling({
  serviceName: process.env.SPLUNK_SERVICE_NAME,
})

Any idea what is happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions