Skip to content

[procstat] why keep these meaningless fields #11768

@Karmenzind

Description

@Karmenzind

image

  1. Left side is the code of procstat and the right side is where these fields are from. Why keep these empty values?
  2. What's the meaning of cpu_time_idle for a single process?

image

This struct TimesStat is defined in "cpu.go". Obviously some fields like Idle and Irq are only for CPU context.
But procstat plugin took them all. It's really confusing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions