We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[[outputs.file]] files = ["stdout"] [agent] interval = "3s" flush_interval = "3s" [[inputs.procstat]] pattern = "nginx: worker" fieldpass = ["pid","memory_rss"] [[aggregators.minmax]] period = "3s"
Telegraf v1.7.0 (git: release-1.7 f4d22dd)
Arch Linux
telegraf -config telegraf.conf
All fields from procstat being processed by the aggregator
Only pid field gets computed by the aggregator.
pid
procstat,host=archer,pattern=nginx:\ worker,process_name=nginx pid=29094i,memory_rss=1949696i 1529058174000000000 procstat,host=archer,pattern=nginx:\ worker,process_name=nginx pid=29080i,memory_rss=1949696i 1529058174000000000 procstat,host=archer,pattern=nginx:\ worker,process_name=nginx pid=29084i,memory_rss=1949696i 1529058174000000000 procstat,host=archer,pattern=nginx:\ worker,process_name=nginx memory_rss=1949696i,pid=29094i 1529058177000000000 procstat,host=archer,pattern=nginx:\ worker,process_name=nginx pid=29080i,memory_rss=1949696i 1529058177000000000 procstat,host=archer,pattern=nginx:\ worker,process_name=nginx memory_rss=1949696i,pid=29084i 1529058177000000000 procstat,host=archer,pattern=nginx:\ worker,process_name=nginx pid_min=29080,pid_max=29094 1529058177000000000
With the procstat input, only the memory_* fields are not processed.
memory_*
The text was updated successfully, but these errors were encountered:
convert function fails if the number is not float64 or int64, but memory fields, comming from psutil lib, are uint64.
convert
Same in basicstats aggregator
basicstats
Sorry, something went wrong.
Closed by #4294
No branches or pull requests
Relevant telegraf.conf:
System info:
Telegraf v1.7.0 (git: release-1.7 f4d22dd)
Arch Linux
Steps to reproduce:
telegraf -config telegraf.conf
Expected behavior:
All fields from procstat being processed by the aggregator
Actual behavior:
Only
pid
field gets computed by the aggregator.Additional info:
With the procstat input, only the
memory_*
fields are not processed.The text was updated successfully, but these errors were encountered: