]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
exporter: handle exceptions gracefully 55773/head
authorDivyansh Kamboj <dkamboj@redhat.com>
Tue, 30 Apr 2024 07:44:10 +0000 (13:14 +0530)
committerDivyansh Kamboj <dkamboj@redhat.com>
Wed, 8 May 2024 12:05:32 +0000 (17:35 +0530)
commite442ee479987f339afdc333582b6b64c66ba6846
treed4100b1df341666322dd88f97e56aa20c8bba937
parentaf30430fc508d3f120d0bbe673aab2945fd10828
exporter: handle exceptions gracefully

ceph exporter crahes, and fails to handle exceptions in
dump_asok_metrics(). add try and catch blocks to handle the exceptions gracefully.

Signed-off-by: Divyansh Kamboj <dkamboj@redhat.com>
src/exporter/DaemonMetricCollector.cc
src/exporter/DaemonMetricCollector.h