Skip to content

Commit

Permalink
bump @opentelemetry/auto-instrumentations-node (open-telemetry#2745)
Browse files Browse the repository at this point in the history
to allow enabling only selected instrumentations specified via environment variable `OTEL_NODE_ENABLED_INSTRUMENTATIONS`

open-telemetry#2622
  • Loading branch information
atsu85 committed Mar 11, 2024
1 parent 52d0e49 commit 97434b7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: enhancement

# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action)
component: auto-instrumentation

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: "Bump NodeJS autoinstrumentations dependency to a version that supports enabling selected instrumentations via environment variable."

# One or more tracking issues related to the change
issues: [2622]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext: |
See [the documentation](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/metapackages/auto-instrumentations-node#usage-auto-instrumentation) for details.
Usage example: `export OTEL_NODE_ENABLED_INSTRUMENTATIONS="http,nestjs-core"`.
2 changes: 1 addition & 1 deletion autoinstrumentation/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"dependencies": {
"@opentelemetry/api": "1.7.0",
"@opentelemetry/auto-instrumentations-node": "0.40.2",
"@opentelemetry/auto-instrumentations-node": "0.43.0",
"@opentelemetry/exporter-metrics-otlp-grpc": "0.46.0",
"@opentelemetry/exporter-prometheus": "0.46.0",
"@opentelemetry/exporter-trace-otlp-grpc": "0.46.0",
Expand Down

0 comments on commit 97434b7

Please sign in to comment.