@aws-lambda-powertools/tracer
Advanced tools
Comparing version
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import { URL } from 'node:url'; | ||
@@ -3,0 +2,0 @@ import type { Segment, Subsegment } from 'aws-xray-sdk-core'; |
@@ -340,3 +340,2 @@ "use strict"; | ||
const originalMethod = descriptor.value; | ||
// eslint-disable-next-line @typescript-eslint/no-this-alias | ||
const tracerRef = this; | ||
@@ -421,3 +420,2 @@ // Use a function() {} instead of an () => {} arrow function so that we can | ||
const originalMethod = descriptor.value; | ||
// eslint-disable-next-line @typescript-eslint/no-this-alias | ||
const tracerRef = this; | ||
@@ -424,0 +422,0 @@ // Use a function() {} instead of an () => {} arrow function so that we can |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
import { URL } from 'node:url'; | ||
@@ -3,0 +2,0 @@ import type { Segment, Subsegment } from 'aws-xray-sdk-core'; |
@@ -334,3 +334,2 @@ import { Utility } from '@aws-lambda-powertools/commons'; | ||
const originalMethod = descriptor.value; | ||
// eslint-disable-next-line @typescript-eslint/no-this-alias | ||
const tracerRef = this; | ||
@@ -415,3 +414,2 @@ // Use a function() {} instead of an () => {} arrow function so that we can | ||
const originalMethod = descriptor.value; | ||
// eslint-disable-next-line @typescript-eslint/no-this-alias | ||
const tracerRef = this; | ||
@@ -418,0 +416,0 @@ // Use a function() {} instead of an () => {} arrow function so that we can |
{ | ||
"name": "@aws-lambda-powertools/tracer", | ||
"version": "2.6.0", | ||
"version": "2.7.0", | ||
"description": "The tracer package for the Powertools for AWS Lambda (TypeScript) library", | ||
@@ -28,3 +28,3 @@ "author": { | ||
"dependencies": { | ||
"@aws-lambda-powertools/commons": "^2.6.0", | ||
"@aws-lambda-powertools/commons": "^2.7.0", | ||
"aws-xray-sdk-core": "^3.9.0" | ||
@@ -31,0 +31,0 @@ }, |
@@ -15,5 +15,5 @@ # Powertools for AWS Lambda (TypeScript) <!-- omit in toc --> | ||
- [Getting started](#getting-started) | ||
- [Installation](#installation) | ||
- [Examples](#examples) | ||
- [Demo applications](#demo-applications) | ||
- [Installation](#installation) | ||
- [Examples](#examples) | ||
- [Demo applications](#demo-applications) | ||
- [Contribute](#contribute) | ||
@@ -23,5 +23,5 @@ - [Roadmap](#roadmap) | ||
- [How to support Powertools for AWS Lambda (TypeScript)?](#how-to-support-powertools-for-aws-lambda-typescript) | ||
- [Becoming a reference customer](#becoming-a-reference-customer) | ||
- [Sharing your work](#sharing-your-work) | ||
- [Using Lambda Layer](#using-lambda-layer) | ||
- [Becoming a reference customer](#becoming-a-reference-customer) | ||
- [Sharing your work](#sharing-your-work) | ||
- [Using Lambda Layer](#using-lambda-layer) | ||
- [Credits](#credits) | ||
@@ -32,6 +32,6 @@ - [License](#license) | ||
* **[Tracer](https://docs.powertools.aws.dev/lambda/typescript/latest/core/tracer/)** - Utilities to trace Lambda function handlers, and both synchronous and asynchronous functions | ||
* **[Logger](https://docs.powertools.aws.dev/lambda/typescript/latest/core/logger/)** - Structured logging made easier, and a middleware to enrich log items with key details of the Lambda context | ||
* **[Metrics](https://docs.powertools.aws.dev/lambda/typescript/latest/core/metrics/)** - Custom Metrics created asynchronously via CloudWatch Embedded Metric Format (EMF) | ||
* **[Parameters](https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/parameters/)** - High-level functions to retrieve one or more parameters from AWS SSM, Secrets Manager, AppConfig, and DynamoDB | ||
- **[Tracer](https://docs.powertools.aws.dev/lambda/typescript/latest/core/tracer/)** - Utilities to trace Lambda function handlers, and both synchronous and asynchronous functions | ||
- **[Logger](https://docs.powertools.aws.dev/lambda/typescript/latest/core/logger/)** - Structured logging made easier, and a middleware to enrich log items with key details of the Lambda context | ||
- **[Metrics](https://docs.powertools.aws.dev/lambda/typescript/latest/core/metrics/)** - Custom Metrics created asynchronously via CloudWatch Embedded Metric Format (EMF) | ||
- **[Parameters](https://docs.powertools.aws.dev/lambda/typescript/latest/utilities/parameters/)** - High-level functions to retrieve one or more parameters from AWS SSM, Secrets Manager, AppConfig, and DynamoDB | ||
@@ -85,4 +85,4 @@ ## Getting started | ||
* **Powertools for AWS Lambda on Discord**: `#typescript` - **[Invite link](https://discord.gg/B8zZKbbyET)** | ||
* **Email**: aws-lambda-powertools-feedback@amazon.com | ||
- **Powertools for AWS Lambda on Discord**: `#typescript` - **[Invite link](https://discord.gg/B8zZKbbyET)** | ||
- **Email**: <aws-lambda-powertools-feedback@amazon.com> | ||
@@ -97,13 +97,17 @@ ## How to support Powertools for AWS Lambda (TypeScript)? | ||
* [Hashnode](https://hashnode.com/) | ||
* [Trek10](https://www.trek10.com/) | ||
* [Elva](https://elva-group.com) | ||
* [globaldatanet](https://globaldatanet.com/) | ||
* [Bailey Nelson](https://www.baileynelson.com.au) | ||
* [Perfect Post](https://www.perfectpost.fr) | ||
* [Sennder](https://sennder.com/) | ||
* [Certible](https://www.certible.com/) | ||
* [tecRacer GmbH & Co. KG](https://www.tecracer.com/) | ||
* [AppYourself](https://appyourself.net) | ||
* [Alma Media](https://www.almamedia.fi) | ||
- [Alma Media](https://www.almamedia.fi) | ||
- [AppYourself](https://appyourself.net) | ||
- [Bailey Nelson](https://www.baileynelson.com.au) | ||
- [Banxware](https://www.banxware.com) | ||
- [Caylent](https://caylent.com/) | ||
- [Certible](https://www.certible.com/) | ||
- [Elva](https://elva-group.com) | ||
- [globaldatanet](https://globaldatanet.com/) | ||
- [Hashnode](https://hashnode.com/) | ||
- [LocalStack](https://localstack.cloud/) | ||
- [Perfect Post](https://www.perfectpost.fr) | ||
- [Sennder](https://sennder.com/) | ||
- [tecRacer GmbH & Co. KG](https://www.tecracer.com/) | ||
- [Trek10](https://www.trek10.com/) | ||
- [WeSchool](https://www.weschool.com) | ||
@@ -110,0 +114,0 @@ ### Sharing your work |
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
124
3.33%190289
-0.1%4162
-0.14%