Added more Windows metrics (#2290)
Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
This commit is contained in:
parent
6994b25656
commit
de38403899
|
@ -105,10 +105,11 @@
|
||||||
"% Privileged Time",
|
"% Privileged Time",
|
||||||
"% User Time",
|
"% User Time",
|
||||||
"% Processor Time",
|
"% Processor Time",
|
||||||
|
"% DPC Time",
|
||||||
]
|
]
|
||||||
Measurement = "win_cpu"
|
Measurement = "win_cpu"
|
||||||
# Set to true to include _Total instance when querying for all (*).
|
# Set to true to include _Total instance when querying for all (*).
|
||||||
#IncludeTotal=false
|
IncludeTotal=true
|
||||||
|
|
||||||
[[inputs.win_perf_counters.object]]
|
[[inputs.win_perf_counters.object]]
|
||||||
# Disk times and queues
|
# Disk times and queues
|
||||||
|
@ -118,19 +119,51 @@
|
||||||
"% Idle Time",
|
"% Idle Time",
|
||||||
"% Disk Time","% Disk Read Time",
|
"% Disk Time","% Disk Read Time",
|
||||||
"% Disk Write Time",
|
"% Disk Write Time",
|
||||||
"% User Time",
|
|
||||||
"Current Disk Queue Length",
|
"Current Disk Queue Length",
|
||||||
|
"% Free Space",
|
||||||
|
"Free Megabytes",
|
||||||
]
|
]
|
||||||
Measurement = "win_disk"
|
Measurement = "win_disk"
|
||||||
# Set to true to include _Total instance when querying for all (*).
|
# Set to true to include _Total instance when querying for all (*).
|
||||||
#IncludeTotal=false
|
#IncludeTotal=false
|
||||||
|
|
||||||
|
[[inputs.win_perf_counters.object]]
|
||||||
|
ObjectName = "PhysicalDisk"
|
||||||
|
Instances = ["*"]
|
||||||
|
Counters = [
|
||||||
|
"Disk Read Bytes/sec",
|
||||||
|
"Disk Write Bytes/sec",
|
||||||
|
"Current Disk Queue Length",
|
||||||
|
"Disk Reads/sec",
|
||||||
|
"Disk Writes/sec",
|
||||||
|
"% Disk Time",
|
||||||
|
"% Disk Read Time",
|
||||||
|
"% Disk Write Time",
|
||||||
|
]
|
||||||
|
Measurement = "win_diskio"
|
||||||
|
|
||||||
|
[[inputs.win_perf_counters.object]]
|
||||||
|
ObjectName = "Network Interface"
|
||||||
|
Instances = ["*"]
|
||||||
|
Counters = [
|
||||||
|
"Bytes Received/sec",
|
||||||
|
"Bytes Sent/sec",
|
||||||
|
"Packets Received/sec",
|
||||||
|
"Packets Sent/sec",
|
||||||
|
"Packets Received Discarded",
|
||||||
|
"Packets Outbound Discarded",
|
||||||
|
"Packets Received Errors",
|
||||||
|
"Packets Outbound Errors",
|
||||||
|
]
|
||||||
|
Measurement = "win_net"
|
||||||
|
|
||||||
[[inputs.win_perf_counters.object]]
|
[[inputs.win_perf_counters.object]]
|
||||||
ObjectName = "System"
|
ObjectName = "System"
|
||||||
Counters = [
|
Counters = [
|
||||||
"Context Switches/sec",
|
"Context Switches/sec",
|
||||||
"System Calls/sec",
|
"System Calls/sec",
|
||||||
"Processor Queue Length",
|
"Processor Queue Length",
|
||||||
|
"System Up Time",
|
||||||
]
|
]
|
||||||
Instances = ["------"]
|
Instances = ["------"]
|
||||||
Measurement = "win_system"
|
Measurement = "win_system"
|
||||||
|
@ -150,6 +183,10 @@
|
||||||
"Transition Faults/sec",
|
"Transition Faults/sec",
|
||||||
"Pool Nonpaged Bytes",
|
"Pool Nonpaged Bytes",
|
||||||
"Pool Paged Bytes",
|
"Pool Paged Bytes",
|
||||||
|
"Standby Cache Reserve Bytes",
|
||||||
|
"Standby Cache Normal Priority Bytes",
|
||||||
|
"Standby Cache Core Bytes",
|
||||||
|
|
||||||
]
|
]
|
||||||
# Use 6 x - to remove the Instance bit from the query.
|
# Use 6 x - to remove the Instance bit from the query.
|
||||||
Instances = ["------"]
|
Instances = ["------"]
|
||||||
|
@ -157,6 +194,31 @@
|
||||||
# Set to true to include _Total instance when querying for all (*).
|
# Set to true to include _Total instance when querying for all (*).
|
||||||
#IncludeTotal=false
|
#IncludeTotal=false
|
||||||
|
|
||||||
|
[[inputs.win_perf_counters.object]]
|
||||||
|
# Example query where the Instance portion must be removed to get data back,
|
||||||
|
# such as from the Paging File object.
|
||||||
|
ObjectName = "Paging File"
|
||||||
|
Counters = [
|
||||||
|
"% Usage",
|
||||||
|
]
|
||||||
|
Instances = ["_Total"]
|
||||||
|
Measurement = "win_swap"
|
||||||
|
|
||||||
|
[[inputs.win_perf_counters.object]]
|
||||||
|
ObjectName = "Network Interface"
|
||||||
|
Instances = ["*"]
|
||||||
|
Counters = [
|
||||||
|
"Bytes Sent/sec",
|
||||||
|
"Bytes Received/sec",
|
||||||
|
"Packets Sent/sec",
|
||||||
|
"Packets Received/sec",
|
||||||
|
"Packets Received Discarded",
|
||||||
|
"Packets Received Errors",
|
||||||
|
"Packets Outbound Discarded",
|
||||||
|
"Packets Outbound Errors",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Windows system plugins using WMI (disabled by default, using
|
# Windows system plugins using WMI (disabled by default, using
|
||||||
# win_perf_counters over WMI is recommended)
|
# win_perf_counters over WMI is recommended)
|
||||||
|
|
Loading…
Reference in New Issue