@opentelemetry/auto-instrumentations-node
Advanced tools
Comparing version 0.27.4 to 0.28.0
import { Instrumentation } from '@opentelemetry/instrumentation'; | ||
import { AmqplibInstrumentation } from '@opentelemetry/instrumentation-amqplib'; | ||
import { AwsLambdaInstrumentation } from '@opentelemetry/instrumentation-aws-lambda'; | ||
@@ -30,2 +31,3 @@ import { AwsInstrumentation } from '@opentelemetry/instrumentation-aws-sdk'; | ||
declare const InstrumentationMap: { | ||
'@opentelemetry/instrumentation-amqplib': typeof AmqplibInstrumentation; | ||
'@opentelemetry/instrumentation-aws-lambda': typeof AwsLambdaInstrumentation; | ||
@@ -32,0 +34,0 @@ '@opentelemetry/instrumentation-aws-sdk': typeof AwsInstrumentation; |
@@ -20,2 +20,3 @@ "use strict"; | ||
const api_1 = require("@opentelemetry/api"); | ||
const instrumentation_amqplib_1 = require("@opentelemetry/instrumentation-amqplib"); | ||
const instrumentation_aws_lambda_1 = require("@opentelemetry/instrumentation-aws-lambda"); | ||
@@ -49,2 +50,3 @@ const instrumentation_aws_sdk_1 = require("@opentelemetry/instrumentation-aws-sdk"); | ||
const InstrumentationMap = { | ||
'@opentelemetry/instrumentation-amqplib': instrumentation_amqplib_1.AmqplibInstrumentation, | ||
'@opentelemetry/instrumentation-aws-lambda': instrumentation_aws_lambda_1.AwsLambdaInstrumentation, | ||
@@ -51,0 +53,0 @@ '@opentelemetry/instrumentation-aws-sdk': instrumentation_aws_sdk_1.AwsInstrumentation, |
@@ -27,2 +27,3 @@ "use strict"; | ||
const expectedInstrumentations = [ | ||
'@opentelemetry/instrumentation-amqplib', | ||
'@opentelemetry/instrumentation-aws-lambda', | ||
@@ -56,3 +57,3 @@ '@opentelemetry/instrumentation-aws-sdk', | ||
]; | ||
assert.strictEqual(instrumentations.length, 27); | ||
assert.strictEqual(instrumentations.length, 28); | ||
for (let i = 0, j = instrumentations.length; i < j; i++) { | ||
@@ -59,0 +60,0 @@ assert.strictEqual(instrumentations[i].instrumentationName, expectedInstrumentations[i], `Instrumentation ${expectedInstrumentations[i]}, not loaded`); |
@@ -17,2 +17,19 @@ # Changelog | ||
## [0.28.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/auto-instrumentations-node-v0.27.3...auto-instrumentations-node-v0.28.0) (2022-03-14) | ||
### Features | ||
* amqplib instrumentation ([#892](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/892)) ([f6c16b6](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/f6c16b6e03f0984af79131e2607b6095350d796c)) | ||
### Dependencies | ||
* The following workspace dependencies were updated | ||
* dependencies | ||
* @opentelemetry/instrumentation-amqplib bumped from ^0.27.0 to ^0.28.0 | ||
* @opentelemetry/instrumentation-aws-lambda bumped from ^0.29.0 to ^0.30.0 | ||
* @opentelemetry/instrumentation-aws-sdk bumped from ^0.5.1 to ^0.6.0 | ||
* @opentelemetry/instrumentation-winston bumped from ^0.27.2 to ^0.27.3 | ||
### [0.27.3](https://www.github.com/open-telemetry/opentelemetry-js-contrib/compare/auto-instrumentations-node-v0.27.2...auto-instrumentations-node-v0.27.3) (2022-02-06) | ||
@@ -19,0 +36,0 @@ |
{ | ||
"name": "@opentelemetry/auto-instrumentations-node", | ||
"version": "0.27.4", | ||
"version": "0.28.0", | ||
"description": "Metapackage which bundles opentelemetry node core and contrib instrumentations", | ||
@@ -19,3 +19,3 @@ "author": "OpenTelemetry Authors", | ||
"lint:fix": "eslint . --ext .ts --fix", | ||
"precompile": "tsc --version && lerna run version --scope @opentelemetry/auto-instrumentations-node --include-dependencies", | ||
"precompile": "tsc --version && lerna run version:update --scope @opentelemetry/auto-instrumentations-node --include-dependencies", | ||
"prewatch": "npm run precompile", | ||
@@ -48,4 +48,5 @@ "prepare": "npm run compile", | ||
"@opentelemetry/instrumentation": "^0.27.0", | ||
"@opentelemetry/instrumentation-aws-lambda": "^0.29.0", | ||
"@opentelemetry/instrumentation-aws-sdk": "^0.5.1", | ||
"@opentelemetry/instrumentation-amqplib": "^0.28.0", | ||
"@opentelemetry/instrumentation-aws-lambda": "^0.30.0", | ||
"@opentelemetry/instrumentation-aws-sdk": "^0.6.0", | ||
"@opentelemetry/instrumentation-bunyan": "^0.27.0", | ||
@@ -75,5 +76,5 @@ "@opentelemetry/instrumentation-cassandra-driver": "^0.27.0", | ||
"@opentelemetry/instrumentation-restify": "^0.27.2", | ||
"@opentelemetry/instrumentation-winston": "^0.27.2" | ||
"@opentelemetry/instrumentation-winston": "^0.27.3" | ||
}, | ||
"gitHead": "78717b6dda677bf737811c34df21ef0ec88c31a3" | ||
"gitHead": "491588f7245e48268bea438cc475e87ae1ed8ad6" | ||
} |
@@ -59,2 +59,3 @@ # OpenTelemetry Meta Packages for Node | ||
- [@opentelemetry/instrumentation-amqplib](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-amqplib) | ||
- [@opentelemetry/instrumentation-aws-lambda](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-aws-lambda) | ||
@@ -61,0 +62,0 @@ - [@opentelemetry/instrumentation-aws-sdk](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-aws-sdk) |
@@ -19,2 +19,3 @@ /* | ||
import { Instrumentation } from '@opentelemetry/instrumentation'; | ||
import { AmqplibInstrumentation } from '@opentelemetry/instrumentation-amqplib'; | ||
import { AwsLambdaInstrumentation } from '@opentelemetry/instrumentation-aws-lambda'; | ||
@@ -49,2 +50,3 @@ import { AwsInstrumentation } from '@opentelemetry/instrumentation-aws-sdk'; | ||
const InstrumentationMap = { | ||
'@opentelemetry/instrumentation-amqplib': AmqplibInstrumentation, | ||
'@opentelemetry/instrumentation-aws-lambda': AwsLambdaInstrumentation, | ||
@@ -51,0 +53,0 @@ '@opentelemetry/instrumentation-aws-sdk': AwsInstrumentation, |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
334046
434
110
30
+ Added@opentelemetry/instrumentation-amqplib@0.28.0(transitive)
+ Added@opentelemetry/instrumentation-aws-lambda@0.30.0(transitive)
+ Added@opentelemetry/instrumentation-aws-sdk@0.6.0(transitive)
+ Added@types/amqplib@0.5.17(transitive)
+ Added@types/bluebird@3.5.42(transitive)
- Removed@opentelemetry/instrumentation-aws-lambda@0.29.0(transitive)
- Removed@opentelemetry/instrumentation-aws-sdk@0.5.1(transitive)