Socket
Socket
Sign inDemoInstall

@opentelemetry/instrumentation-aws-sdk

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.42.0 to 0.43.0

2

build/src/version.d.ts

@@ -1,3 +0,3 @@

export declare const PACKAGE_VERSION = "0.42.0";
export declare const PACKAGE_VERSION = "0.43.0";
export declare const PACKAGE_NAME = "@opentelemetry/instrumentation-aws-sdk";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.PACKAGE_VERSION = '0.42.0';
exports.PACKAGE_VERSION = '0.43.0';
exports.PACKAGE_NAME = '@opentelemetry/instrumentation-aws-sdk';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/instrumentation-aws-sdk",
"version": "0.42.0",
"version": "0.43.0",
"description": "OpenTelemetry instrumentation for `aws-sdk` and `@aws-sdk/client-*` clients for various AWS services",

@@ -34,2 +34,3 @@ "keywords": [

"lint:fix": "eslint . --ext .ts --fix",
"lint:readme": "node ../../../scripts/lint-readme.js",
"precompile": "tsc --version && lerna run version:update --scope @opentelemetry/instrumentation-aws-sdk --include-dependencies",

@@ -81,3 +82,3 @@ "prewatch": "npm run precompile",

},
"gitHead": "0af1b70f7c3c9763c85ac51fa5e334c1e1512020"
"gitHead": "ad8436d6a4174f2288cb939080cd4e74da94b0d7"
}

@@ -12,2 +12,4 @@ # OpenTelemetry aws-sdk Instrumentation for Node.js

Compatible with OpenTelemetry JS API and SDK `1.0+`.
## Installation

@@ -19,2 +21,7 @@

## Supported Versions
- [`aws-sdk`](https://www.npmjs.com/package/aws-sdk) versions `>=2.308.0 <3`
- `@aws-sdk/client-*` versions `>=3.0.0 <4`
## Usage

@@ -110,14 +117,2 @@

## Migration From opentelemetry-instrumentation-aws-sdk
This instrumentation was originally published under the name `"opentelemetry-instrumentation-aws-sdk"` in [this repo](https://github.com/aspecto-io/opentelemetry-ext-js). Few breaking changes were made during porting to the contrib repo to align with conventions:
### Hook Info
The instrumentation's config `preRequestHook`, `responseHook` and `sqsProcessHook` functions signature changed, so the second function parameter is info object, containing the relevant hook data.
### `moduleVersionAttributeName` config option
The `moduleVersionAttributeName` config option is removed. To add the aws-sdk package version to spans, use the `moduleVersion` attribute in hook info for `preRequestHook` and `responseHook` functions.
## Semantic Conventions

@@ -124,0 +119,0 @@

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