-
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
data point missing when using procstat with multi pids outputing to influxdb #1668
Comments
Hi, I have the same problem in version |
I think if the procstat plugin had the pid field key as tag key, it wouldn't be this problem. |
I've got the same problem to monitor Oracle process.. Multiple process, but only one is reported to influxdb (not always the same) |
I don't know if it's possible (or already done) to send 1 datapoint per PID, but also 1 datapoint with de sum of all PID ? example :
|
in 1.2 there will be a config option on the procstat plugin for adding the pid as a tag |
Will it be possible to add also the generic tag "sum" and "each" like in my example below ? |
@ptitou don't think so, sorry, could be possible in the future with aggregator plugins |
okay :( ;) |
Bug report
When using prostat plugin with pattern matching, if it matches multi pids, multi data points are generated with identical tags and timestamp. when these points are sent to influxdb, only the last point was stored correctly, former points will be overwritten repeatedly.
This will result in only one pid's data will be found in the database, instead of one point per pid.
Relevant telegraf.conf:
[[input:procstat]]
# Use pattern matching
pattern = "ANY PATTERN MATCHING MULTI PIDS"
System info:
telegraf-1.0.0-beta3_linux_amd64
Steps to reproduce:
Expected behavior:
One data point per pid will be written to database.
Actual behavior:
Only the last pid data point can be found, others got overwritten.
Additional info:
The text was updated successfully, but these errors were encountered: