Last active
December 5, 2025 07:33
-
-
Save wullemsb/d4ee3b0a299762cec2a4f367a6723ad0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Before: EventSource | |
| [EventSource(Name = "MyCompany.MyApp.Requests")] | |
| public sealed class RequestEventSource : EventSource | |
| { | |
| // ... | |
| } | |
| // After: Meter | |
| private static readonly Meter _meter = new ( | |
| "MyCompany.MyApp.Requests", | |
| version: "1.0.0"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment