Relevant telegraf.conf:
[[inputs.procstat]]
# Just a random example
exe = "cron"
System info:
Telegraf 1.20.0 (git: HEAD f489cff3)
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Steps to reproduce:
- Enable the procstat input plugin in telegraf 1.20.0, and specify the relevant selectors
- Observe the procstat_lookup measurement
Expected behavior:
The query information should be in the measurement tags as explained in https://github.com/influxdata/telegraf/tree/master/plugins/inputs/procstat#metrics.
Actual behavior:
The tags are missing.
Additional info:
root@focal:~# grep -A 1 procstat /etc/telegraf/telegraf.conf
[[inputs.procstat]]
exe = "cron"
Telegraf 1.19.3 (there's an exe=cron tag):
root@focal:~# /usr/bin/telegraf --config /etc/telegraf/telegraf.conf --input-filter procstat --test | grep '^> procstat_lookup'
2021-09-22T13:15:17Z I! Starting Telegraf 1.19.3
> procstat_lookup,exe=cron,host=focal,pid_finder=pgrep,result=success pid_count=1i,result_code=0i,running=1i 1632316518000000000
Telegraf 1.20.0 (no more exe=cron tag):
root@focal:~# /usr/bin/telegraf --config /etc/telegraf/telegraf.conf --input-filter procstat --test | grep '^> procstat_lookup'
2021-09-22T13:14:37Z I! Starting Telegraf 1.20.0
> procstat_lookup,host=focal,pid_finder=pgrep,result=success pid_count=1i,result_code=0i,running=1i 1632316478000000000
Relevant telegraf.conf:
System info:
Steps to reproduce:
Expected behavior:
The query information should be in the measurement tags as explained in https://github.com/influxdata/telegraf/tree/master/plugins/inputs/procstat#metrics.
Actual behavior:
The tags are missing.
Additional info:
Telegraf 1.19.3 (there's an
exe=crontag):Telegraf 1.20.0 (no more
exe=crontag):