David_F
David_F
CC#
Created by David_F on 12/19/2023 in #help
Can't see Histogram instrument tag
I'm creating a Histogram<double> instrument through IMeterFactory.CreateHistogram<double>(...) and give it one tag. Then I call histogram.Record(...) with another tag. When I test with dotnet-counters tool I see the tag from Record(...) call, but I don't see the tag from the instrument that I specified on its creation. Why is that?
1 replies
CC#
Created by David_F on 9/22/2023 in #help
✅ How to check user's target framework moniker in my source generator?
I'm using IIncrementalGenerator. I want to generate different code for the user based on his project .NET version as newer .NET APIs are available only since some version.
13 replies