apm-agent-dotnet
apm-agent-dotnet copied to clipboard
Change `TransactionInfo` and `SpanInfo` to `struct`
In Elastic.Apm.Metrics.TransactionInfo
and Elastic.Apm.Metrics.SpanInfo
are currently classes. In https://github.com/elastic/apm-agent-dotnet/pull/1816 we already made changed where we rely on value semantic. Additionally to that struct
s would be more efficient anyway.
We discussed this over zoom with @z1c0, outcome: since this would be a breaking change, let's wait with this until the next major version.
Discussion: https://github.com/elastic/apm-agent-dotnet/pull/1816#discussion_r971145227