telegraf: Procstat plugin causes higher cpu with telegraf 15.1 release
Relevant telegraf.conf:
# [[inputs.logparser]]
# files = ["/location/www/some/logs/*_log.*"]
# from_beginning = false
# watch_method = "poll"
# [inputs.logparser.grok]
# patterns = ["%{COMBINED_LOG_FORMAT}"]
# measurement = "web1_some_apache_access_log"
# timezone = "America/New_York"
System info:
Telegraf ver 15.1 and Rhel version 7.3
Docker
Steps to reproduce:
- install telegraf 15.1
- start telegraf 3.) with logparser and procstat the cpu is very high actually unacceptable levels. Even with those two disabled the cpu is at 5 % which is still very high for this kind of monitoring.
Expected behavior:
The cpu just jumped to more than 120% the expected cpu usage for telegraf should be more than 1% or 2 %.
Actual behavior:
Additional info:
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 7
- Comments: 15 (4 by maintainers)
Here is the diff between 1.13 and 1.15