]> git.proxmox.com Git - ceph.git/blob - ceph/src/rgw/rgw_perf_counters.h
import 14.2.4 nautilus point release
[ceph.git] / ceph / src / rgw / rgw_perf_counters.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3
4 #pragma once
5
6 class CephContext;
7 class PerfCounters;
8
9 extern PerfCounters *perfcounter;
10
11 extern int rgw_perf_start(CephContext *cct);
12 extern void rgw_perf_stop(CephContext *cct);
13
14 enum {
15 l_rgw_first = 15000,
16 l_rgw_req,
17 l_rgw_failed_req,
18
19 l_rgw_get,
20 l_rgw_get_b,
21 l_rgw_get_lat,
22
23 l_rgw_put,
24 l_rgw_put_b,
25 l_rgw_put_lat,
26
27 l_rgw_qlen,
28 l_rgw_qactive,
29
30 l_rgw_cache_hit,
31 l_rgw_cache_miss,
32
33 l_rgw_keystone_token_cache_hit,
34 l_rgw_keystone_token_cache_miss,
35
36 l_rgw_gc_retire,
37
38 l_rgw_pubsub_event_triggered,
39 l_rgw_pubsub_event_lost,
40 l_rgw_pubsub_store_ok,
41 l_rgw_pubsub_store_fail,
42 l_rgw_pubsub_events,
43 l_rgw_pubsub_push_ok,
44 l_rgw_pubsub_push_failed,
45 l_rgw_pubsub_push_pending,
46
47 l_rgw_last,
48 };
49