]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
exporter: don't skip loop if pid path is empty 48225/head
authorAvan Thakkar <athakkar@redhat.com>
Mon, 19 Sep 2022 10:30:20 +0000 (16:00 +0530)
committerAvan Thakkar <athakkar@redhat.com>
Fri, 23 Sep 2022 13:35:59 +0000 (19:05 +0530)
commit33e58e25281b264266c18b9f023bf07af042df80
treed5f92cfed4891bcab3db082053ec1678533008c1
parent01afcbaeded8804ab5e6875e5eba54f12df6f121
exporter: don't skip loop if pid path is empty

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Fixes issue when pid file config comes empty from config dump which prevents to add metrics. Also get process metrics only if
pid_path isn't empty.

(cherry picked from commit c817d7d2db4387538f2cb2b1fab3c50276044910)
src/exporter/DaemonMetricCollector.cc