Skip to content

Commit 28707e0

Browse files
authored
Update metrics.md
1 parent 8860ad4 commit 28707e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/core/metrics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ Use `withMetric` if you have one or more metrics that should have different conf
242242
=== "App.java"
243243

244244
```java hl_lines="7 8 9 10 11 12 13"
245-
import static software.amazon.lambda.powertools.metrics.MetricsUtils.withSingleMetric;
245+
import static software.amazon.lambda.powertools.metrics.MetricsUtils.withMetric;
246246

247247
public class App implements RequestHandler<Object, Object> {
248248

@@ -257,4 +257,4 @@ Use `withMetric` if you have one or more metrics that should have different conf
257257
});
258258
}
259259
}
260-
```
260+
```

0 commit comments

Comments
 (0)