This PR introduces custom ThreadFactory for the threads created by SDK. Its only purpose is to name them in format datadog-{context}-threadN, where context may be feature track, etc.
This will give us a better visibility in telemetry (the necessary attribute was added for the executor-related events) and also allows to better navigate profiling data.
Review checklist (to be filled by reviewers)
[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)
Merging #1987 (18967d7) into develop (ebf7542) will decrease coverage by 0.02%.
Report is 4 commits behind head on develop.
The diff coverage is 85.71%.
What does this PR do?
This PR introduces custom
ThreadFactory
for the threads created by SDK. Its only purpose is to name them in formatdatadog-{context}-threadN
, where context may be feature track, etc.This will give us a better visibility in telemetry (the necessary attribute was added for the executor-related events) and also allows to better navigate profiling data.
Review checklist (to be filled by reviewers)