Skip to content

Commit 006f8ff

Browse files
authored
docs: Rename wrong POWERTOOLS_DISABLE_METRICS to correct POWERTOOLS_METRICS_DISABLED environment variable. (#2043)
1 parent 6204bd1 commit 006f8ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/core/metrics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,15 +540,15 @@ The following example shows how to configure a custom `Metrics` Singleton using
540540

541541
### Suppressing metrics output
542542

543-
If you would like to suppress metrics output during your unit tests, you can use the `POWERTOOLS_DISABLE_METRICS` environment variable. For example, using Maven you can set in your build plugins:
543+
If you would like to suppress metrics output during your unit tests, you can use the `POWERTOOLS_METRICS_DISABLED` environment variable. For example, using Maven you can set in your build plugins:
544544

545545
```xml
546546
<plugin>
547547
<groupId>org.apache.maven.plugins</groupId>
548548
<artifactId>maven-surefire-plugin</artifactId>
549549
<configuration>
550550
<environmentVariables>
551-
<POWERTOOLS_DISABLE_METRICS>true</POWERTOOLS_DISABLE_METRICS>
551+
<POWERTOOLS_METRICS_DISABLED>true</POWERTOOLS_METRICS_DISABLED>
552552
</environmentVariables>
553553
</configuration>
554554
</plugin>

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Powertools for AWS Lambda (Java) is a suite of utilities for AWS Lambda Function
1010

1111

1212
???+ tip "Looking for a quick run through of the core utilities?"
13-
Check out [this detailed blog post](https://aws.amazon.com/blogs/opensource/simplifying-serverless-best-practices-with-aws-lambda-powertools-java/) with a practical example. To dive deeper,
13+
Check out [this detailed blog post](https://aws.amazon.com/blogs/compute/introducing-v2-of-powertools-for-aws-lambda-java/) with a practical example. To dive deeper,
1414
the [Powertools for AWS Lambda (Java) workshop](https://catalog.us-east-1.prod.workshops.aws/workshops/a7011c82-e4af-4a52-80fa-fcd61f1dacd9/en-US/introduction) is a great next step.
1515

1616
## Tenets

0 commit comments

Comments
 (0)