OpenTelemetry.Internal.SelfDiagnostics
Self diagnostics class captures the EventSource events sent by OpenTelemetry
modules and writes them to local file for internal troubleshooting.
No member of SelfDiagnostics class is explicitly called when an EventSource class, say
OpenTelemetryApiEventSource, is invoked to send an event.
To trigger CLR to initialize static fields and static constructors of SelfDiagnostics,
call EnsureInitialized method before any EventSource event is sent.