fluent / fluent-bit

Fast and Lightweight Logs and Metrics processor for Linux, BSD, OSX and Windows
https://fluentbit.io
Apache License 2.0
5.82k stars 1.58k forks source link

process-level metrics for win_stat input plugin #6051

Open gracewehner opened 2 years ago

gracewehner commented 2 years ago

Is your feature request related to a problem? Please describe. The proc and cpu input plugins for linux allow a process name/pid to be specified to be able to get memory and cpu usage stats. There is no equivalent to this for windows.

Describe the solution you'd like Allow a parameter to specify a process for the win_stat plugin to get cpu and memory stats for the specific process.

Additional context We are using proc and cpu input plugins to monitor usage for specific processes for linux but would like an equivalent for our windows workloads.

edsiper commented 2 years ago

we have a native metrics collector that supports CPU samples:

https://docs.fluentbit.io/manual/pipeline/inputs/windows-exporter-metrics

gracewehner commented 2 years ago

Thanks @edsiper. Unfortunately, we can only currently use the logs pipeline, as this is what our custom output plugin supports.