]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
exporter: Cleanups on DaemonMetricCollector and google styling
authorPere Diaz Bou <pdiazbou@redhat.com>
Tue, 19 Apr 2022 11:19:38 +0000 (13:19 +0200)
committerAvan Thakkar <athakkar@redhat.com>
Mon, 20 Jun 2022 18:20:47 +0000 (23:50 +0530)
commit694010191e3848e202419e21e63a90703c40b66c
tree0c3f935d3fbabb826c2a40bee0bd0ce15d4d08cb
parent56272fd689825d6f231b08b42dacc2c49ae98a66
exporter: Cleanups on DaemonMetricCollector and google styling

1. Formatted all exporter files to google c++ styling.
2. Refactored send_requests a bit to increase readabilty.
3. Removed unused functions + variables.
4. Moved fs::path socketdir to a static const char* SOCKETDIR.

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
src/exporter/DaemonMetricCollector.cc
src/exporter/DaemonMetricCollector.h
src/exporter/http_server.cc