Skip to content

PerfCounterPlugin cannot read some counters #84

@mravunko

Description

@mravunko

Hello,
for some reason the plugin cannot read some (valuable) performance counters. For example "System\Threads". Tested on Windows 10 Pro 1903. Most of the counters are read.

The plugin config is:

[PerfCounterPlugin_Threads]
Object=System
Counter=Threads
GraphTitle=Number of Threads
GraphCategory=system
GraphDraw=LINE
GraphArgs=--base 1000 --lower-limit 0 --upper-limit 100
DropTotal=0
CounterFormat=int
CounterMultiply=1.000000

The PowerShell code shows that the counter exists and has value:

PS C:\WINDOWS\system32> Get-Counter -Counter "\System\Threads"

Timestamp CounterSamples


29.2.2020 г. 19:21:26 \cl-mravunko\system\threads :
3145

The error in the application log:

ERROR:PerfCounter plugin: Threads: PdhExpandWildCardPath error=c0000bc4
ERROR:Failed to load PerfCounter plugin: [PerfCounterPlugin_Threads]

Other values that cannot be read:

\Memory\Available Bytes
\Memory\Page Faults/sec
\Memory\Pages/sec
\Memory\Cache Bytes
\System\File Read Operations/sec

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions