https://github.com/dotnet/aspnetcore/pull/46834 adds an internal prototype version of Microsoft.Extensions.Metrics. The types are shared throughout ASP.NET Core with `InternalsVisibleTo`. Replace with Microsoft.Extensions.Metrics when available. This work is happening in https://github.com/dotnet/runtime/issues/77514