Skip to content

Need help on determining millicores CPU usage for the "windows_exporter" process itself #1868

Open
@paoloyx

Description

@paoloyx

Problem Statement

Hi,

I'm wrapping my head around the topic riported in the title....I'm not able which is the best way to get the CPU usage in millicores for the windows-exporter project itself (into a multi-core server).

Set aside that I'm really not able to judge if that is even conceptually correct, I'm currently using the process collector and specifically its windows_process_cpu_time_total, but I'm not sure how to setup a PromQL query.
There are some options (like this comment in #494) but they all refer to percentage and not an absolute millicores value.

Comments in #494 seems to indicate an agreement that the query there reported is the correct one, but how can I transform from "time percentage" to "millicores" usage? Anyone can help?

Thanks a lot :)

Environment

  • windows_exporter Version: 0.29.2
  • Windows Server Version: 2019

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