powertools-lambda-typescript icon indicating copy to clipboard operation
powertools-lambda-typescript copied to clipboard

Documentation (logger, tracer, metrics): add supported values for env variables

Open saragerion opened this issue 2 years ago • 0 comments

Description of the improvement

Summary of the proposal

In all sections where the supported environment variables are documented for a certain utility, it would be helpful to clarify what values are supported, the default values, and an example of a supported value.

How, where did you look for information

https://awslabs.github.io/aws-lambda-powertools-typescript/latest/#environment-variables https://awslabs.github.io/aws-lambda-powertools-typescript/latest/core/tracer/#utility-settings https://awslabs.github.io/aws-lambda-powertools-typescript/latest/core/logger/#utility-settings https://awslabs.github.io/aws-lambda-powertools-typescript/latest/core/metrics/#utility-settings

Missing or unclear documentation

  • Supported values
  • Default values (if no value is passes)
  • Example of a value

Improvement

Add these fields in each table.

Related existing documentation

https://awslabs.github.io/aws-lambda-powertools-typescript/latest/#environment-variables https://awslabs.github.io/aws-lambda-powertools-typescript/latest/core/tracer/#utility-settings https://awslabs.github.io/aws-lambda-powertools-typescript/latest/core/logger/#utility-settings https://awslabs.github.io/aws-lambda-powertools-typescript/latest/core/metrics/#utility-settings

Related issues, RFCs

N/A

saragerion avatar Apr 05 '22 09:04 saragerion