Skip to content

Commit f637c87

Browse files
authored
feat(auto-instrumentations-node): enable runtime-node (#2786)
Signed-off-by: matteo.gazzetta <[email protected]>
1 parent a5b059d commit f637c87

File tree

5 files changed

+8
-2
lines changed

5 files changed

+8
-2
lines changed

metapackages/auto-instrumentations-node/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ registerInstrumentations({
197197
- [@opentelemetry/instrumentation-pino](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-pino)
198198
- [@opentelemetry/instrumentation-redis](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-redis)
199199
- [@opentelemetry/instrumentation-restify](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-restify)
200+
- [@opentelemetry/instrumentation-runtime-node](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/instrumentation-runtime-node)
200201
- [@opentelemetry/instrumentation-socket.io](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/instrumentation-socket.io)
201202
- [@opentelemetry/instrumentation-undici](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/instrumentation-undici)
202203
- [@opentelemetry/instrumentation-winston](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-winston)

metapackages/auto-instrumentations-node/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
"@opentelemetry/instrumentation-redis-4": "^0.47.0",
8585
"@opentelemetry/instrumentation-restify": "^0.46.0",
8686
"@opentelemetry/instrumentation-router": "^0.45.0",
87+
"@opentelemetry/instrumentation-runtime-node": "^0.13.0",
8788
"@opentelemetry/instrumentation-socket.io": "^0.47.0",
8889
"@opentelemetry/instrumentation-tedious": "^0.19.0",
8990
"@opentelemetry/instrumentation-undici": "^0.11.0",

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

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ import { RedisInstrumentation as RedisInstrumentationV2 } from '@opentelemetry/i
5252
import { RedisInstrumentation as RedisInstrumentationV4 } from '@opentelemetry/instrumentation-redis-4';
5353
import { RestifyInstrumentation } from '@opentelemetry/instrumentation-restify';
5454
import { RouterInstrumentation } from '@opentelemetry/instrumentation-router';
55+
import { RuntimeNodeInstrumentation } from '@opentelemetry/instrumentation-runtime-node';
5556
import { SocketIoInstrumentation } from '@opentelemetry/instrumentation-socket.io';
5657
import { TediousInstrumentation } from '@opentelemetry/instrumentation-tedious';
5758
import { UndiciInstrumentation } from '@opentelemetry/instrumentation-undici';
@@ -129,6 +130,7 @@ const InstrumentationMap = {
129130
'@opentelemetry/instrumentation-redis-4': RedisInstrumentationV4,
130131
'@opentelemetry/instrumentation-restify': RestifyInstrumentation,
131132
'@opentelemetry/instrumentation-router': RouterInstrumentation,
133+
'@opentelemetry/instrumentation-runtime-node': RuntimeNodeInstrumentation,
132134
'@opentelemetry/instrumentation-socket.io': SocketIoInstrumentation,
133135
'@opentelemetry/instrumentation-tedious': TediousInstrumentation,
134136
'@opentelemetry/instrumentation-undici': UndiciInstrumentation,

package-lock.json

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/node/instrumentation-runtime-node/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,5 @@ Apache 2.0 - See [LICENSE][license-url] for more information.
7777
[discussions-url]: https://github.com/open-telemetry/opentelemetry-js/discussions
7878
[license-url]: https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/LICENSE
7979
[license-image]: https://img.shields.io/badge/license-Apache_2.0-green.svg?style=flat
80-
[npm-url]: https://www.npmjs.com/package/@opentelemetry/instrumentation-pg
81-
[npm-img]: https://badge.fury.io/js/%40opentelemetry%2Finstrumentation-pg.svg
80+
[npm-url]: https://www.npmjs.com/package/@opentelemetry/instrumentation-runtime-node
81+
[npm-img]: https://badge.fury.io/js/%40opentelemetry%2Finstrumentation-runtime-node.svg

0 commit comments

Comments
 (0)