diff --git a/aspnetcore/log-mon/metrics/metrics.md b/aspnetcore/log-mon/metrics/metrics.md index fc89bf6ec2..2f8cacf286 100644 --- a/aspnetcore/log-mon/metrics/metrics.md +++ b/aspnetcore/log-mon/metrics/metrics.md @@ -230,8 +230,8 @@ It's possible to test metrics in ASP.NET Core apps. One way to do that is collec The proceeding test: * Bootstraps a web app in memory with . `Program` in the factory's generic argument specifies the web app. -* Collects metrics values with . - * Requires a package reference to `Microsoft.Extensions.Telemetry.Testing`. +* Collects metrics values with + * Requires a package reference to `Microsoft.Extensions.Diagnostics.Testing` * The `MetricCollector` is created using the web app's . This allows the collector to only report metrics values recorded by test. * Includes the meter name, `Microsoft.AspNetCore.Hosting`, and counter name, `http.server.request.duration` to collect. * Makes an HTTP request to the web app.