[Geneva] Fix ETW metadata to allow .NET EventSource subscriptions

Merged
ZV
4mo ago
+118-8

It's impossible to subscribe to OpenTelemetry EventSource, since data published to the ETW doesn't match manifest/schema inferred from the EtwEventSource Event-annotated methods. Listeners receive errors and truncated data.

Changes

Make manifest schema match the actual data written to the ETW. Changed the internal format to have two fields - buffer size, ad raw data, as .Net EventSource expects(mayb be a breaking change). Verified that Geneva MonitringAgent can ingest the data.

Merge requirement checklist

  • CONTRIBUTING guidelines followed (license requirements, nullable enabled, static analysis, etc.)
  • Unit tests added/updated
  • Appropriate CHANGELOG.md files updated for non-trivial changes
  • Changes in public API reviewed (if applicable)