Skip to content

add resource detectors to nodejs instrumentation agent #582

@blumamir

Description

@blumamir

Currently odigos nodejs instrumentation agent includes a few resource detectors.

    "@opentelemetry/resource-detector-alibaba-cloud": "0.28.1",
    "@opentelemetry/resource-detector-aws": "1.3.1",
    "@opentelemetry/resource-detector-container": "0.3.1",
    "@opentelemetry/resource-detector-gcp": "0.29.1",

Those resource detectors are installed as dependencies, but I think they should be used in code, by setting the resourceDetectors property in the NodeSDKConfiguration object here.

It seems that we can also add additional resource detectors that are currently not used. See the available detectors here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions