Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metrics instrument of type Guage<> not available in .NET 8 #10380

Closed
melwynpkb opened this issue Sep 10, 2024 · 3 comments
Closed

Metrics instrument of type Guage<> not available in .NET 8 #10380

melwynpkb opened this issue Sep 10, 2024 · 3 comments
Labels
area-System.Diagnostics Pri3 Indicates issues/PRs that are low priority

Comments

@melwynpkb
Copy link

Type of issue

Other (describe below)

Description

Guage<> is not supported in .NET 8 but the documentation seems to indicate it does.
See .NET 8 and .NET 9 branches below
https://github.com/dotnet/runtime/tree/main/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics

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

@issues-automation issues-automation bot added the Pri3 Indicates issues/PRs that are low priority label Sep 10, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Sep 10, 2024
Copy link
Contributor

Tagging subscribers to this area: @tommcdon

@divyeshio
Copy link

Not only Gauge<> but other types in the namespace like MeterOptions, IMeterFactory that are unavailable below .net 8 are also showing up as available in .net 6 and 7. But xml files are fine, I think there's some issue with doc page generation?

@gewarren
Copy link
Contributor

gewarren commented Oct 19, 2024

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 #10012.

@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Diagnostics Pri3 Indicates issues/PRs that are low priority
Projects
None yet
Development

No branches or pull requests

3 participants