Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win_perf Process collecting % Processor Time in different interval #4198

Closed
matthenning opened this issue May 25, 2018 · 3 comments
Closed
Labels
area/windows Related to windows plugins (win_eventlog, win_perf_counters, win_services) bug unexpected problem or unintended behavior
Milestone

Comments

@matthenning
Copy link

matthenning commented May 25, 2018

Relevant telegraf.conf:

 [[inputs.win_perf_counters.object]]
    ObjectName = "Process"
    Counters = ["% Processor Time","Handle Count","Private Bytes","Thread Count","Virtual Bytes","Working Set"]
    Instances = ["*"]
    Measurement = "win_proc"

System info:

Telegraf v1.6.1
Windows Server 2012 R2

Expected behavior:

All values are collected in the defined interval (1m)

Actual behavior:

% Processor Time is only collected once when starting telegraf.
In the following flush intervals I only receive data from the other counters.

% Processor Time is collected in a completely different interval ranging from 6 to 12 minutes (for now).
There are no warnings or errors in the telegraf console.

@matthenning matthenning changed the title win_perf Process collecting % Processor Time only once win_perf Process collecting % Processor Time in different interval May 25, 2018
@danielnelson
Copy link
Contributor

We have made a fairly large update to this plugin for the next release 1.7, would it be possible for you to test with the nightly builds and check if you see the same behavior?

@danielnelson danielnelson added bug unexpected problem or unintended behavior area/windows Related to windows plugins (win_eventlog, win_perf_counters, win_services) labels May 25, 2018
@matthenning
Copy link
Author

It's working with the current nightly build.
InfluxDB now receives metrics every minute.

@danielnelson
Copy link
Contributor

Good news, thank you for the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/windows Related to windows plugins (win_eventlog, win_perf_counters, win_services) bug unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants