Closed z1c0 closed 2 years ago
LGTM! I think you make this PR ready for review.
Thanks, will do!
Can you provide a couple of examples for
/proc/self/cgroup
file lines that we can use for unit testing?
In apm-agent-dotnet
, this unit test was added (id: 03752a671e744971a862edcee6195646-4015103728
).
Can you provide a couple of examples for /proc/self/cgroup file lines that we can use for unit testing?
In apm-agent-dotnet, this unit test was added (id: 03752a671e744971a862edcee6195646-4015103728).
I think it makes sense to add a common json test spec in https://github.com/elastic/apm/tree/main/tests/agents/json-specs for this. I don't see this as blocking this PR, though.
Can you provide a couple of examples for /proc/self/cgroup file lines that we can use for unit testing?
In apm-agent-dotnet, this unit test was added (id: 03752a671e744971a862edcee6195646-4015103728).
I think it makes sense to add a common json test spec in https://github.com/elastic/apm/tree/main/tests/agents/json-specs for this. I think see this as blocking this PR, though.
Make sense, I wasn't aware this existed though :-) I'll update the test spec and (add a test in https://github.com/elastic/apm-agent-dotnet/issues/1805)
sanitize_field_names
)CODEOWNERS
)