]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd: expose metrics using http server
authorKefu Chai <kchai@redhat.com>
Mon, 21 Jun 2021 06:50:10 +0000 (14:50 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 21 Jun 2021 07:41:04 +0000 (15:41 +0800)
commit80961c27d1adaa969e9ad3647d2fb9944b77904a
treef6267eb21fd241231e3a3e643b1051b8ed94166e
parent175bb4d7243ca2a1e1c7c809631d0b14948404f0
crimson/osd: expose metrics using http server

so, we can query the metrics using HTTP API, like

http://localhost:9180/metrics?name=io*

or

http://192.168.2.8:9180/metrics?name=io_queue_delay

or

http://localhost:9180/metrics

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/main.cc