Skip to content

Commit 9ce0425

Browse files
author
Pankaj Agrawal
committed
docs: Update all the environment variables used
1 parent 99ea46d commit 9ce0425

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/content/index.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,17 @@ And configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambd
7575
```
7676
**Note:** If you are working with lambda function on runtime post java8, please refer [issue](https://github.com/awslabs/aws-lambda-powertools-java/issues/50) for workaround
7777

78+
## Environment variables
79+
80+
**Environment variables** used across suite of utilities.
81+
82+
Environment variable | Description | Utility
83+
------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -------------------------------------------------
84+
**POWERTOOLS_SERVICE_NAME** | Sets service name used for tracing namespace, metrics dimension and structured logging | All
85+
**POWERTOOLS_METRICS_NAMESPACE** | Sets namespace used for metrics | [Metrics](./core/metrics)
86+
**POWERTOOLS_LOGGER_SAMPLE_RATE** | Debug log sampling | [Logging](./core/logging)
87+
**LOG_LEVEL** | Sets logging level | [Logging](./core/logger)
88+
7889
## Tenets
7990

8091
* **AWS Lambda only** – We optimise for AWS Lambda function environments and supported runtimes only. Utilities might work with web frameworks and non-Lambda environments, though they are not officially supported.

0 commit comments

Comments
 (0)