Another option is to plug in to OpenTelemetry - Elastic has a provider (and so does NSB with my package) so those should work together just fine. That way you’re not writing Elastic extensions, just working with plain System.Diagnostics ones.
1 Like