Skip to content

Docs: Metrics docs mention POWERTOOLS_METRICS_ENABLED however this variable is not used in code. #3847

Closed
@jorovipe97

Description

@jorovipe97

What were you searching in the docs?

The metrics docs mention POWERTOOLS_METRICS_ENABLED can be used to not log the metrics. However this env variable is not used. Insted it uses POWERTOOLS_METRICS_DISABLED.

Check line where env variables for Metrics are defined.

Is this related to an existing documentation section?

https://docs.powertools.aws.dev/lambda/typescript/latest/core/metrics/#utility-settings

How can we improve?

Update documentation accordingly to mention POWERTOOLS_METRICS_DISABLED variable.

Got a suggestion in mind?

No response

Acknowledgment

  • I understand the final update might be different from my proposed suggestion, or refused.

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippeddocumentationImprovements or additions to documentation

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions