Socket
Socket
Sign inDemoInstall

@opentelemetry/instrumentation-aws-lambda

Package Overview
Dependencies
Maintainers
3
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-aws-lambda - npm Package Compare versions

Comparing version 0.40.0 to 0.41.0

2

build/src/instrumentation.d.ts

@@ -11,3 +11,3 @@ import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation';

setConfig(config?: AwsLambdaInstrumentationConfig): void;
init(): InstrumentationNodeModuleDefinition<unknown>[];
init(): InstrumentationNodeModuleDefinition[];
private _getHandler;

@@ -14,0 +14,0 @@ private _getPatchHandler;

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

new instrumentation_1.InstrumentationNodeModuleFile(module, ['*'], (moduleExports) => {
api_1.diag.debug('Applying patch for lambda handler');
if ((0, instrumentation_1.isWrapped)(moduleExports[functionName])) {

@@ -103,3 +102,2 @@ this._unwrap(moduleExports, functionName);

return;
api_1.diag.debug('Removing patch for lambda handler');
this._unwrap(moduleExports, functionName);

@@ -129,5 +127,5 @@ }),

attributes: {
[semantic_conventions_1.SemanticAttributes.FAAS_EXECUTION]: context.awsRequestId,
[semantic_conventions_1.SemanticResourceAttributes.FAAS_ID]: context.invokedFunctionArn,
[semantic_conventions_1.SemanticResourceAttributes.CLOUD_ACCOUNT_ID]: AwsLambdaInstrumentation._extractAccountId(context.invokedFunctionArn),
[semantic_conventions_1.SEMATTRS_FAAS_EXECUTION]: context.awsRequestId,
[semantic_conventions_1.SEMRESATTRS_FAAS_ID]: context.invokedFunctionArn,
[semantic_conventions_1.SEMRESATTRS_CLOUD_ACCOUNT_ID]: AwsLambdaInstrumentation._extractAccountId(context.invokedFunctionArn),
},

@@ -134,0 +132,0 @@ }, parent);

@@ -1,2 +0,2 @@

export declare const VERSION = "0.40.0";
export declare const VERSION = "0.41.0";
//# sourceMappingURL=version.d.ts.map

@@ -20,3 +20,3 @@ "use strict";

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.40.0';
exports.VERSION = '0.41.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/instrumentation-aws-lambda",
"version": "0.40.0",
"version": "0.41.0",
"description": "OpenTelemetry AWS Lambda automatic instrumentation package.",

@@ -59,3 +59,3 @@ "main": "build/src/index.js",

"dependencies": {
"@opentelemetry/instrumentation": "^0.50.0",
"@opentelemetry/instrumentation": "^0.51.0",
"@opentelemetry/propagator-aws-xray": "^1.3.1",

@@ -67,3 +67,3 @@ "@opentelemetry/resources": "^1.8.0",

"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-aws-lambda#readme",
"gitHead": "17a0bc1da3baa472ba9b867eee3c60730cc130fb"
"gitHead": "96a87b48934f0afcf1fe637eed6704f35bd8e973"
}

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