-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Windows input win_perf_counters #1291
Comments
any ideas @TheFlyingCorpse? |
An "issue" with the current implementation I did is that it doesnt re-check for new matches on the perfcounters regularly, say every 10 mins or so. Depending on how often you restart / start new instances, it might not show at all with Telegraf, which should also be looked at incase you fall under this. |
The easiest implementation and possibly the fastest is to just query * and then have telegraf do the filtering |
@elvarb but not sufficient,, for counters with many instances you will get a CPU spike/hit every time you query them, sure * is fine for non timecritical/lowlatency systems but for such its not ok to hog down your hosts. |
@discoduck2x Depends on the counter, some are extremely fast. The only other method is to query * when Telegraf starts and make independent queries out of the result. |
Any idea when this will be implemented? Really usefull for instances that change name. E.g. include runtime version in name. |
@TheFlyingCorpse @sparrc |
This is because of missing |
@VVvKamper nice catch - any chance you providing a test bin for dl somewhere? |
Yes, i uploaded it on https://ufile.io/4ecb6. Builded from 1.2.1 tag with following fix. Fix was just to change format option from |
wow, good catch, can you submit a PR @VVvKamper? Windows is really something else 🤦♂️ |
@sparrc - both species can cooexist in perfect harmony...almost....well ok they should in theory |
added PDH_FMT_NOCAP100 format option
@sparrc I submitted PR. Feel free to ask for changes cause it's my first PR :) |
added PDH_FMT_NOCAP100 format option closes #2483
added PDH_FMT_NOCAP100 format option closes influxdata#2483
added PDH_FMT_NOCAP100 format option closes influxdata#2483
added PDH_FMT_NOCAP100 format option closes influxdata#2483
still no update to #1 on this one? |
Just started using Telegraf, quite impressed with what I'm seeing so far. However, I too would like to see the ability to use wildcards on instance names, if possible. It's a pain to have to edit the config every time we add new queues to a server, but at the same time, we don't necessarily want to have to scrape the data for all queues. |
Wildcard support should be fixed by #4189, it would be great if everyone could try it out using the nightly builds. |
added PDH_FMT_NOCAP100 format option closes #2483
First , this is starting to look really good - small cpu footprint when collecting quiete a few counters - almost as good as typeperf locally :)
Two problems ive encountered now on my first run:
Instance = ["beginningofanyprocessname"]
The text was updated successfully, but these errors were encountered: