-
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
io stats per process #1300
Comments
there's the procstat plugin: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/procstat |
Sorry for bothering you with io stats they are already present as it is writen in docs!. My problem is that not all metrics were pushed to influxdb So while telegraf -test -config input.procstat.custom.zookeeper.conf returns
My configuration is: May be InfluxDb is too old? |
Looks like a bug or some misconfiguration I have a guess, that the reason is in some kind of configured or hardcoded limit of fields to transmit. The set fields that is pushed is always identical |
Only possiblity I can think of would be that it's a permissions issue, could you try running |
I am running telegraf under root as as a service
|
But i will check this point. Thanks
|
Unless you're rolling your own init.sh or telegraf.service scripts I think it will run under the telegraf user anyways |
@whetherharder any updates? |
I just tried running
I don't see any I/O stat in it. Configuration: Is there something I might have missed ? |
@Finistere I believe the issue would be that your telegraf user doesn't have permission to gather these stats. What happens when you run as root? |
@sparrc Indeed, with root it works fine. The records are also correctly stored in InfluxDB (version 0.13.0). |
closing as it appears to be a permissions issue. If there is a specific workaround that should be pointed out, please submit a PR to change the plugin README, thanks |
I don't think it works nowadays .. |
Feature Request
It would be quite useful to have io statistics (iops, reads/per-sec,writes/sec etc), for paticular process. It would be perfect, to have also network stats per process.
If there is already a way to get such statistics, using existing set of plugins, let me know please
The text was updated successfully, but these errors were encountered: