pgbouncer service process-exporter is not matching the pgbouncer process
process-exporter on pgbouncer nodes is not matching the pgbouncer processs.
The configuration is as follows:
- name: pgbouncer.{{.Matches.configfile}}
comm:
- pgbouncer
cmdline:
- "^/usr/local/bin/pgbouncer /var/opt/gitlab/pgbouncer/(?P<configfile>[^ ]+)$"
The running process is:
gitlab-+ 9204 1 20 Jan15 ? 32-20:09:12 /usr/local/bin/pgbouncer -R /var/opt/gitlab/pgbouncer/pgbouncer.ini
This means that pgbouncer (a single threaded process) is not currently being monitored for CPU utilisation on these critical nodes.
We should improve the cmdline match to be more forgiving of parameters, such as the -R in this case.