Skip to content

Commit a336111

Browse files
Tom McCarthyheitorlessa
Tom McCarthy
andauthored
chore: fix typo in metrics doc
Co-authored-by: Heitor Lessa <[email protected]>
1 parent 40ad89c commit a336111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/core/metrics.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ from aws_lambda_powertools.metrics import Metrics, MetricUnit
4040
metrics = Metrics() # highlight-line
4141

4242
# Explicit definition
43-
Logger(service="ServerlessAirline") # sets namespace to "ServerlessAirline"
43+
Metrics(service="ServerlessAirline") # sets namespace to "ServerlessAirline"
4444

4545

4646
```

0 commit comments

Comments
 (0)