Skip to content

url.parse has been deprecated in Node v24 and is used in instrument-http #6061

@JPeer264

Description

@JPeer264

Description

The url.parse() has been deprecated in Node v24 as seen here. I've seen in the @opentelemetry/instrumentation-http it is still used in the utils:

I saw that url.parse has already been removed almost everywhere in this PR, but maybe this one got missed.

Expected result

There should not be any deprecation warnings in Node v24

Actual result

Currently only a deprecation warning is triggered in Node v24


I am happy to take over this one as it seems quite easy to fix 👀

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