@uoa/lambda-tracing 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/readme.md +5 -0
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
This library contains functions to enable distributed tracing & logging in University of Auckland AWS Lambda projects.
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
|
+
### Prerequisites
|
|
7
|
+
If deploying to Kong gateway, your lambda plugin should have the `awsgateway_compatible` flag set to `true`.
|
|
8
|
+
|
|
9
|
+
This ensures the trace headers will be passed through to your lambda project correctly, but you will now have to base64 decode the request body before using it.
|
|
10
|
+
|
|
6
11
|
### Installation
|
|
7
12
|
Install the library using the command
|
|
8
13
|
```
|