]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
exporter: don't skip loop if pid path is empty 48166/head
authorAvan Thakkar <athakkar@redhat.com>
Mon, 19 Sep 2022 10:30:20 +0000 (16:00 +0530)
committerAvan Thakkar <athakkar@redhat.com>
Mon, 19 Sep 2022 10:30:20 +0000 (16:00 +0530)
commitc817d7d2db4387538f2cb2b1fab3c50276044910
treeffda38314a7ca71c050e01c05f2bacfebcaf3f51
parent78b10936793bbe98b1622d616586cf58074f7b8a
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.
src/exporter/DaemonMetricCollector.cc