forked from open-telemetry/opentelemetry-collector-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NSOF-8274 receiver/hostmetricsreceiver:processscraper: Workaround pro…
…cess createTime bogus value Process createTime collected using gopsutils/process module and uses as startTime of metric sequence. When running inside lxc, function that calculates create time mixes host and guest stats. See shirou/gopsutil#1562 for more details This leads to two issues: 1. Calculated createTime has future value eventually causing scrapper to skip process collection. 2. dp series startTime is set to future in time value, the consequences are unknown. In order to overcome this issue, we will set createTime to system boot time. In case of lxc, container boot time
- Loading branch information
1 parent
299e6e3
commit c0abf5d
Showing
5 changed files
with
37 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters