dotnet / dotnet-api-docs

.NET API reference documentation (.NET 5+, .NET Core, .NET Framework)
https://docs.microsoft.com/dotnet/api/
Other
725 stars 1.56k forks source link

Gauge<T> class is not part of .NET 8 #10579

Closed epenelle-genetec closed 1 week ago

epenelle-genetec commented 2 weeks ago

Type of issue

Wrong versions

Description

The Gauge class is not part of .NET 8. From my understanding, it is only available in .NET9

See PR here. https://github.com/dotnet/runtime/commit/c5295800e9ec0b25f071a550f4901b0bec3e307d#diff-4cfab5d647aaab47f024b5c768bace33b3987493caa878583dfa101a70d48510R355

If I am wrong, please just kindly let me know for my personal understanding and to avoid false issue in the future.

Thanks for your time,

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.metrics.gauge-1?view=net-8.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Diagnostics.Metrics/Gauge`1.xml

Document Version Independent Id

40be00e4-b2c4-2443-541c-dc6838a74666

Article author

@dotnet-bot

dotnet-policy-service[bot] commented 2 weeks ago

Tagging subscribers to this area: @tommcdon

gewarren commented 1 week ago

Thank you for the feedback. The NuGet package is compatible with down-level versions, which is why the older versions are shown in the Applies to table. But we've also received a lot of feedback that this is too confusing. We have a design change in the works to hopefully make this less confusing. Closing as duplicate of https://github.com/dotnet/dotnet-api-docs/issues/10012.