[Profiler] Add new profile tags#3093
Conversation
gleocadie
left a comment
There was a problem hiding this comment.
one comment otherwise LGTM
There was a problem hiding this comment.
You should wait for a manual run of the profiler integration tests before merging this - I've just triggered one
Are these tags standardised for the profiler, as they differ significantly from the values used in the tracer.
For the tracer, for example, we send the following headers:
Datadog-Meta-Lang-Interpreter: .NET Framework/.NET Core/.NET
Datadog-Meta-Lang-Version: 4.8.1/2.1/6.0
(we don't track os on spans directly AFAICT).
CI-visibility tags a lot more with span-level tags, e.g:
runtime.name: .NET Framework
runtime.version: 4.8.1
os.platform: Windows
os.version:
If these aren't standardised for profiling, maybe we should look at not introducing a whole new set of descriptions?
Thanks!
They are defined among profiler runtimes already. |
Summary of changes
When uploading a .pprof , add
Reason for change
Figure out which version of .NET is running profiled applications on which OS
Implementation details
Use ICorProfilerInfo::GetRuntimeInformation() to get major/minor versions with Framework or Core
Test coverage
Tags generation
Other details