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

No documentation for source generated Metering #5592

Open
petrroll opened this issue Nov 1, 2024 · 0 comments
Open

No documentation for source generated Metering #5592

petrroll opened this issue Nov 1, 2024 · 0 comments

Comments

@petrroll
Copy link

petrroll commented Nov 1, 2024

There's no documentation for source generated metering. There are docs for metering generally (Creating Metrics - .NET | Microsoft Learn) but nothing for source generated metering.

Looking at source code (here extensions/src/Generators/Microsoft.Gen.Metrics at main · dotnet/extensions )I was able to find the relevant attribute names but that's really not a good substitute. Especially if one doesn't even know the capability is there.

Furthemore, I'm puzzled by the resulting metrics now accepting arguments (for dimensions) of type object instead of (expected) string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants