Socket
Socket
Sign inDemoInstall

@opentelemetry/auto-instrumentations-node

Package Overview
Dependencies
Maintainers
2
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/auto-instrumentations-node - npm Package Compare versions

Comparing version 0.33.1 to 0.34.0

6

build/src/utils.d.ts

@@ -12,2 +12,3 @@ import { Instrumentation } from '@opentelemetry/instrumentation';

import { FastifyInstrumentation } from '@opentelemetry/instrumentation-fastify';
import { FsInstrumentation } from '@opentelemetry/instrumentation-fs';
import { GenericPoolInstrumentation } from '@opentelemetry/instrumentation-generic-pool';

@@ -34,2 +35,4 @@ import { GraphQLInstrumentation } from '@opentelemetry/instrumentation-graphql';

import { RestifyInstrumentation } from '@opentelemetry/instrumentation-restify';
import { RouterInstrumentation } from '@opentelemetry/instrumentation-router';
import { TediousInstrumentation } from '@opentelemetry/instrumentation-tedious';
import { WinstonInstrumentation } from '@opentelemetry/instrumentation-winston';

@@ -47,2 +50,3 @@ declare const InstrumentationMap: {

'@opentelemetry/instrumentation-fastify': typeof FastifyInstrumentation;
'@opentelemetry/instrumentation-fs': typeof FsInstrumentation;
'@opentelemetry/instrumentation-generic-pool': typeof GenericPoolInstrumentation;

@@ -69,2 +73,4 @@ '@opentelemetry/instrumentation-graphql': typeof GraphQLInstrumentation;

'@opentelemetry/instrumentation-restify': typeof RestifyInstrumentation;
'@opentelemetry/instrumentation-router': typeof RouterInstrumentation;
'@opentelemetry/instrumentation-tedious': typeof TediousInstrumentation;
'@opentelemetry/instrumentation-winston': typeof WinstonInstrumentation;

@@ -71,0 +77,0 @@ };

@@ -30,2 +30,3 @@ "use strict";

const instrumentation_fastify_1 = require("@opentelemetry/instrumentation-fastify");
const instrumentation_fs_1 = require("@opentelemetry/instrumentation-fs");
const instrumentation_generic_pool_1 = require("@opentelemetry/instrumentation-generic-pool");

@@ -52,2 +53,4 @@ const instrumentation_graphql_1 = require("@opentelemetry/instrumentation-graphql");

const instrumentation_restify_1 = require("@opentelemetry/instrumentation-restify");
const instrumentation_router_1 = require("@opentelemetry/instrumentation-router");
const instrumentation_tedious_1 = require("@opentelemetry/instrumentation-tedious");
const instrumentation_winston_1 = require("@opentelemetry/instrumentation-winston");

@@ -65,2 +68,3 @@ const InstrumentationMap = {

'@opentelemetry/instrumentation-fastify': instrumentation_fastify_1.FastifyInstrumentation,
'@opentelemetry/instrumentation-fs': instrumentation_fs_1.FsInstrumentation,
'@opentelemetry/instrumentation-generic-pool': instrumentation_generic_pool_1.GenericPoolInstrumentation,

@@ -87,2 +91,4 @@ '@opentelemetry/instrumentation-graphql': instrumentation_graphql_1.GraphQLInstrumentation,

'@opentelemetry/instrumentation-restify': instrumentation_restify_1.RestifyInstrumentation,
'@opentelemetry/instrumentation-router': instrumentation_router_1.RouterInstrumentation,
'@opentelemetry/instrumentation-tedious': instrumentation_tedious_1.TediousInstrumentation,
'@opentelemetry/instrumentation-winston': instrumentation_winston_1.WinstonInstrumentation,

@@ -89,0 +95,0 @@ };

44

build/test/utils.test.js

@@ -24,42 +24,8 @@ "use strict";

describe('getNodeAutoInstrumentations', () => {
it('should load default instrumentations', () => {
it('should include all installed instrumentations', () => {
const instrumentations = src_1.getNodeAutoInstrumentations();
const expectedInstrumentations = [
'@opentelemetry/instrumentation-amqplib',
'@opentelemetry/instrumentation-aws-lambda',
'@opentelemetry/instrumentation-aws-sdk',
'@opentelemetry/instrumentation-bunyan',
'@opentelemetry/instrumentation-cassandra-driver',
'@opentelemetry/instrumentation-connect',
'@opentelemetry/instrumentation-dataloader',
'@opentelemetry/instrumentation-dns',
'@opentelemetry/instrumentation-express',
'@opentelemetry/instrumentation-fastify',
'@opentelemetry/instrumentation-generic-pool',
'@opentelemetry/instrumentation-graphql',
'@opentelemetry/instrumentation-grpc',
'@opentelemetry/instrumentation-hapi',
'@opentelemetry/instrumentation-http',
'@opentelemetry/instrumentation-ioredis',
'@opentelemetry/instrumentation-knex',
'@opentelemetry/instrumentation-koa',
'@opentelemetry/instrumentation-lru-memoizer',
'@opentelemetry/instrumentation-memcached',
'@opentelemetry/instrumentation-mongodb',
'@opentelemetry/instrumentation-mongoose',
'@opentelemetry/instrumentation-mysql2',
'@opentelemetry/instrumentation-mysql',
'@opentelemetry/instrumentation-nestjs-core',
'@opentelemetry/instrumentation-net',
'@opentelemetry/instrumentation-pg',
'@opentelemetry/instrumentation-pino',
'@opentelemetry/instrumentation-redis',
'@opentelemetry/instrumentation-redis-4',
'@opentelemetry/instrumentation-restify',
'@opentelemetry/instrumentation-winston',
];
assert.strictEqual(instrumentations.length, 32);
for (let i = 0, j = instrumentations.length; i < j; i++) {
assert.strictEqual(instrumentations[i].instrumentationName, expectedInstrumentations[i], `Instrumentation ${expectedInstrumentations[i]}, not loaded`);
}
const installedInstrumentations = Object.keys(require('../package.json').dependencies).filter(depName => {
return depName.startsWith('@opentelemetry/instrumentation-');
});
assert.deepStrictEqual(new Set(instrumentations.map(i => i.instrumentationName)), new Set(installedInstrumentations));
});

@@ -66,0 +32,0 @@ it('should use user config', () => {

@@ -55,2 +55,45 @@ # Changelog

## [0.34.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/auto-instrumentations-node-v0.33.1...auto-instrumentations-node-v0.34.0) (2022-11-02)
### Features
* add new instrumentations into `auto-instrumentations-node` ([#981](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/981)) ([a00f390](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/a00f390977a3091b068cf1485e7596b4133ea5d8))
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @opentelemetry/instrumentation-aws-lambda bumped from ^0.33.0 to ^0.33.1
* @opentelemetry/instrumentation-aws-sdk bumped from ^0.9.2 to ^0.9.3
* @opentelemetry/instrumentation-bunyan bumped from ^0.30.0 to ^0.30.1
* @opentelemetry/instrumentation-cassandra-driver bumped from ^0.30.0 to ^0.31.0
* @opentelemetry/instrumentation-connect bumped from ^0.30.0 to ^0.30.1
* @opentelemetry/instrumentation-dataloader bumped from ^0.2.0 to ^0.2.1
* @opentelemetry/instrumentation-dns bumped from ^0.30.0 to ^0.30.1
* @opentelemetry/instrumentation-express bumped from ^0.31.2 to ^0.31.3
* @opentelemetry/instrumentation-fs bumped from ^0.5.0 to ^0.5.1
* @opentelemetry/instrumentation-fastify bumped from ^0.30.0 to ^0.30.1
* @opentelemetry/instrumentation-graphql bumped from ^0.31.0 to ^0.32.0
* @opentelemetry/instrumentation-hapi bumped from ^0.30.0 to ^0.30.1
* @opentelemetry/instrumentation-ioredis bumped from ^0.32.1 to ^0.32.2
* @opentelemetry/instrumentation-knex bumped from ^0.30.0 to ^0.30.1
* @opentelemetry/instrumentation-koa bumped from ^0.32.0 to ^0.33.0
* @opentelemetry/instrumentation-memcached bumped from ^0.30.0 to ^0.30.1
* @opentelemetry/instrumentation-mongodb bumped from ^0.32.1 to ^0.32.2
* @opentelemetry/instrumentation-mongoose bumped from ^0.31.0 to ^0.31.1
* @opentelemetry/instrumentation-mysql bumped from ^0.31.0 to ^0.31.2
* @opentelemetry/instrumentation-mysql2 bumped from ^0.32.0 to ^0.32.1
* @opentelemetry/instrumentation-nestjs-core bumped from ^0.31.0 to ^0.31.1
* @opentelemetry/instrumentation-net bumped from ^0.30.1 to ^0.30.2
* @opentelemetry/instrumentation-pg bumped from ^0.31.1 to ^0.32.0
* @opentelemetry/instrumentation-pino bumped from ^0.32.0 to ^0.32.1
* @opentelemetry/instrumentation-redis bumped from ^0.33.0 to ^0.33.1
* @opentelemetry/instrumentation-redis-4 bumped from ^0.33.0 to ^0.33.1
* @opentelemetry/instrumentation-restify bumped from ^0.30.0 to ^0.30.1
* @opentelemetry/instrumentation-router bumped from ^0.30.0 to ^0.31.0
* @opentelemetry/instrumentation-tedious bumped from ^0.4.0 to ^0.4.1
* @opentelemetry/instrumentation-winston bumped from ^0.30.0 to ^0.30.1
## [0.33.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/auto-instrumentations-node-v0.32.1...auto-instrumentations-node-v0.33.0) (2022-09-27)

@@ -57,0 +100,0 @@

{
"name": "@opentelemetry/auto-instrumentations-node",
"version": "0.33.1",
"version": "0.34.0",
"description": "Metapackage which bundles opentelemetry node core and contrib instrumentations",

@@ -38,3 +38,3 @@ "author": "OpenTelemetry Authors",

"@types/mocha": "7.0.2",
"@types/node": "16.11.21",
"@types/node": "18.11.7",
"@types/sinon": "10.0.2",

@@ -52,35 +52,38 @@ "gts": "3.1.0",

"@opentelemetry/instrumentation-amqplib": "^0.31.0",
"@opentelemetry/instrumentation-aws-lambda": "^0.33.0",
"@opentelemetry/instrumentation-aws-sdk": "^0.9.2",
"@opentelemetry/instrumentation-bunyan": "^0.30.0",
"@opentelemetry/instrumentation-cassandra-driver": "^0.30.0",
"@opentelemetry/instrumentation-connect": "^0.30.0",
"@opentelemetry/instrumentation-dataloader": "^0.2.0",
"@opentelemetry/instrumentation-dns": "^0.30.0",
"@opentelemetry/instrumentation-express": "^0.31.2",
"@opentelemetry/instrumentation-fastify": "^0.30.0",
"@opentelemetry/instrumentation-aws-lambda": "^0.33.1",
"@opentelemetry/instrumentation-aws-sdk": "^0.9.3",
"@opentelemetry/instrumentation-bunyan": "^0.30.1",
"@opentelemetry/instrumentation-cassandra-driver": "^0.31.0",
"@opentelemetry/instrumentation-connect": "^0.30.1",
"@opentelemetry/instrumentation-dataloader": "^0.2.1",
"@opentelemetry/instrumentation-dns": "^0.30.1",
"@opentelemetry/instrumentation-express": "^0.31.3",
"@opentelemetry/instrumentation-fastify": "^0.30.1",
"@opentelemetry/instrumentation-fs": "^0.5.1",
"@opentelemetry/instrumentation-generic-pool": "^0.30.0",
"@opentelemetry/instrumentation-graphql": "^0.31.0",
"@opentelemetry/instrumentation-graphql": "^0.32.0",
"@opentelemetry/instrumentation-grpc": "^0.32.0",
"@opentelemetry/instrumentation-hapi": "^0.30.0",
"@opentelemetry/instrumentation-hapi": "^0.30.1",
"@opentelemetry/instrumentation-http": "^0.32.0",
"@opentelemetry/instrumentation-ioredis": "^0.32.1",
"@opentelemetry/instrumentation-knex": "^0.30.0",
"@opentelemetry/instrumentation-koa": "^0.32.0",
"@opentelemetry/instrumentation-ioredis": "^0.32.2",
"@opentelemetry/instrumentation-knex": "^0.30.1",
"@opentelemetry/instrumentation-koa": "^0.33.0",
"@opentelemetry/instrumentation-lru-memoizer": "^0.31.0",
"@opentelemetry/instrumentation-memcached": "^0.30.0",
"@opentelemetry/instrumentation-mongodb": "^0.32.1",
"@opentelemetry/instrumentation-mongoose": "^0.31.0",
"@opentelemetry/instrumentation-mysql": "^0.31.0",
"@opentelemetry/instrumentation-mysql2": "^0.32.0",
"@opentelemetry/instrumentation-nestjs-core": "^0.31.0",
"@opentelemetry/instrumentation-net": "^0.30.1",
"@opentelemetry/instrumentation-pg": "^0.31.1",
"@opentelemetry/instrumentation-pino": "^0.32.0",
"@opentelemetry/instrumentation-redis": "^0.33.0",
"@opentelemetry/instrumentation-redis-4": "^0.33.0",
"@opentelemetry/instrumentation-restify": "^0.30.0",
"@opentelemetry/instrumentation-winston": "^0.30.0"
"@opentelemetry/instrumentation-memcached": "^0.30.1",
"@opentelemetry/instrumentation-mongodb": "^0.32.2",
"@opentelemetry/instrumentation-mongoose": "^0.31.1",
"@opentelemetry/instrumentation-mysql": "^0.31.2",
"@opentelemetry/instrumentation-mysql2": "^0.32.1",
"@opentelemetry/instrumentation-nestjs-core": "^0.31.1",
"@opentelemetry/instrumentation-net": "^0.30.2",
"@opentelemetry/instrumentation-pg": "^0.32.0",
"@opentelemetry/instrumentation-pino": "^0.32.1",
"@opentelemetry/instrumentation-redis": "^0.33.1",
"@opentelemetry/instrumentation-redis-4": "^0.33.1",
"@opentelemetry/instrumentation-restify": "^0.30.1",
"@opentelemetry/instrumentation-router": "^0.31.0",
"@opentelemetry/instrumentation-tedious": "^0.4.1",
"@opentelemetry/instrumentation-winston": "^0.30.1"
},
"gitHead": "35226602b92a7587f16a1eb959e4f3b3948f6e9d"
"gitHead": "bd79bd04cba3f16658caf37d9a5c65e5bd5980f6"
}

@@ -19,2 +19,3 @@ /*

import { Instrumentation } from '@opentelemetry/instrumentation';
import { AmqplibInstrumentation } from '@opentelemetry/instrumentation-amqplib';

@@ -30,2 +31,3 @@ import { AwsLambdaInstrumentation } from '@opentelemetry/instrumentation-aws-lambda';

import { FastifyInstrumentation } from '@opentelemetry/instrumentation-fastify';
import { FsInstrumentation } from '@opentelemetry/instrumentation-fs';
import { GenericPoolInstrumentation } from '@opentelemetry/instrumentation-generic-pool';

@@ -52,2 +54,4 @@ import { GraphQLInstrumentation } from '@opentelemetry/instrumentation-graphql';

import { RestifyInstrumentation } from '@opentelemetry/instrumentation-restify';
import { RouterInstrumentation } from '@opentelemetry/instrumentation-router';
import { TediousInstrumentation } from '@opentelemetry/instrumentation-tedious';
import { WinstonInstrumentation } from '@opentelemetry/instrumentation-winston';

@@ -67,2 +71,3 @@

'@opentelemetry/instrumentation-fastify': FastifyInstrumentation,
'@opentelemetry/instrumentation-fs': FsInstrumentation,
'@opentelemetry/instrumentation-generic-pool': GenericPoolInstrumentation,

@@ -89,2 +94,4 @@ '@opentelemetry/instrumentation-graphql': GraphQLInstrumentation,

'@opentelemetry/instrumentation-restify': RestifyInstrumentation,
'@opentelemetry/instrumentation-router': RouterInstrumentation,
'@opentelemetry/instrumentation-tedious': TediousInstrumentation,
'@opentelemetry/instrumentation-winston': WinstonInstrumentation,

@@ -91,0 +98,0 @@ };

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc