Skip to content

add instrumentation-runtime-node to auto-instrumentations-node #2523

@romancepenguin

Description

@romancepenguin

Is your feature request related to a problem? Please describe

I want to use gc and heap metric functions with auto-instruments.

merge below, so I just need to work on a few lines. I want to work on it, but I do not have PR Permission.

#2136

Describe the solution you'd like to see

metapackages/auto-instrumentations-node/package.json

{
  ...
  "dependencies": {
    ...
    "@opentelemetry/instrumentation-restify": "^0.42.0",
    "@opentelemetry/instrumentation-runtime-node": "^0.9.0",
    "@opentelemetry/instrumentation-router": "^0.41.0",
    ...
  },
  ...
}

metapackages/auto-instrumentations-node/src/utils.ts

const InstrumentationMap = {
  ...
  '@opentelemetry/instrumentation-restify': RestifyInstrumentation,
  '@opentelemetry/instrumentation-runtime-node': RuntimeNodeInstrumentation,
  '@opentelemetry/instrumentation-router': RouterInstrumentation,
  ...
};

...

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