apm-agent-dotnet
apm-agent-dotnet copied to clipboard
Process CPU on macOS is not accurate - wrong version check
The version check here does not seem to be correct.
It's based on the version of the assembly of the Process
type, but the version of that assembly does not seem to be changed in newer versions. The agent already collects the .NET Core version - we could base the decision on that: if(NetCoreVersion < 3){ (fixup } else { no fixup}
.