Skip to content

Commit e3a0356

Browse files
committed
fix lint:markdown
1 parent 3564271 commit e3a0356

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/instrumentation-aws-lambda/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
### Features
77

88
* **instrumentation-aws-lambda:** Added runtime-aware handler support. The instrumentation automatically detects the Node.js runtime version from `AWS_EXECUTION_ENV` and adapts handler signatures accordingly:
9-
- **Node.js 24+**: Only Promise-based handlers are supported (callbacks deprecated by AWS Lambda)
10-
- **Node.js 22 and lower**: Both callback-based and Promise-based handlers are supported for backward compatibility
9+
* **Node.js 24+**: Only Promise-based handlers are supported (callbacks deprecated by AWS Lambda)
10+
* **Node.js 22 and lower**: Both callback-based and Promise-based handlers are supported for backward compatibility
1111
This ensures seamless operation across different Node.js runtime versions while respecting AWS Lambda's removal of callbacks in Node.js 24+.
1212

1313
## [0.60.1](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-aws-lambda-v0.60.0...instrumentation-aws-lambda-v0.60.1) (2025-11-24)

packages/instrumentation-aws-lambda/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ This instrumentation automatically detects the Node.js runtime version and suppo
3535
The instrumentation detects the runtime version from the `AWS_EXECUTION_ENV` environment variable and adapts the handler signature accordingly. For Node.js 24+, the handler signature is `(event, context)`, while for Node.js 22 and lower, it supports both `(event, context, callback)` and `(event, context)`.
3636

3737
Example handlers:
38+
3839
```js
3940
// Callback-based handler (Node.js 22 and lower only)
4041
exports.handler = function(event, context, callback) {

0 commit comments

Comments
 (0)