HomeSource World

metrics: replace gosigar with gopsutil (#21041)

Description

metrics: replace gosigar with gopsutil (#21041)

  • replace gosigar with gopsutil
  • removed check for whether GOOS is openbsd
  • removed accidental import of runtime
  • potential fix for difference in units between gosig and gopsutil
  • fixed lint error
  • remove multiplication factor
  • uses cpu.ClocksPerSec as the multiplication factor
  • changed dependency from shirou to renaynay (#20)
  • updated dep
  • switching back from using renaynay fork to using upstream as PRs were merged on upstream
  • removed empty line
  • optimized imports
  • tidied go mod

Details

Provenance
rene <41963722+renaynay@users.noreply.github.com>Authored on Jun 2 2020, 9:08 AM
GitHub <noreply@github.com>Committed on Jun 2 2020, 9:08 AM
Parents
rGETHa5eee8d1dc61: eth/downloader: more context in errors (#21067)
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGETHa35382de94fe: metrics: replace gosigar with gopsutil (#21041) (authored by rene <41963722+renaynay@users.noreply.github.com>).Jun 2 2020, 9:08 AM