opentelemetry-collector-contrib
opentelemetry-collector-contrib copied to clipboard
[receiver/hostmetrics] Set process metrics start time to process create time
Description: The start time of process metrics is currently set to the boot time of the system. This means that if a user repeatedly runs the same command, eventually the user will get two processes with the same PID and command, with the same start time (the system boot time). This makes the two data points indistinguishable and creates an association where there is none.
Link to tracking Issue: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/11447
Testing: Ran related unit tests through make test
The committers listed above are authorized under a signed CLA.
- :white_check_mark: login: hsmatulisgoogle (6f5a2e5b96e3c756c2ad36d45246bd1a3ab7fe4c)
Please fix the errors and add a changelog entry
This PR was marked stale due to lack of activity. It will be closed in 14 days.
Done fixing errors and adding the changelog entry
Rebased, but I need approval to run CI
@hsmatulisgoogle please fix linter issues
Fixed the lint errors, but I need approval to run CI