rocketmq_common/common/
stats.rs

1/*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements.  See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License.  You may obtain a copy of the License at
8 *
9 *     http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17pub mod call_snapshot;
18pub mod moment_stats_item;
19pub mod moment_stats_item_set;
20pub mod stats_item;
21pub mod stats_item_set;
22pub mod stats_snapshot;
23
24pub struct Stats;
25
26impl Stats {
27    pub const BROKER_GET_FROM_DISK_NUMS: &'static str = "BROKER_GET_FROM_DISK_NUMS";
28    pub const BROKER_GET_FROM_DISK_SIZE: &'static str = "BROKER_GET_FROM_DISK_SIZE";
29    pub const BROKER_GET_NUMS: &'static str = "BROKER_GET_NUMS";
30    pub const BROKER_PUT_NUMS: &'static str = "BROKER_PUT_NUMS";
31    pub const COMMERCIAL_PERM_FAILURES: &'static str = "COMMERCIAL_PERM_FAILURES";
32    pub const COMMERCIAL_RCV_EPOLLS: &'static str = "COMMERCIAL_RCV_EPOLLS";
33    pub const COMMERCIAL_RCV_SIZE: &'static str = "COMMERCIAL_RCV_SIZE";
34    pub const COMMERCIAL_RCV_TIMES: &'static str = "COMMERCIAL_RCV_TIMES";
35    pub const COMMERCIAL_SEND_SIZE: &'static str = "COMMERCIAL_SEND_SIZE";
36    pub const COMMERCIAL_SEND_TIMES: &'static str = "COMMERCIAL_SEND_TIMES";
37    pub const COMMERCIAL_SNDBCK_TIMES: &'static str = "COMMERCIAL_SNDBCK_TIMES";
38    pub const GROUP_GET_FALL_SIZE: &'static str = "GROUP_GET_FALL_SIZE";
39    pub const GROUP_GET_FALL_TIME: &'static str = "GROUP_GET_FALL_TIME";
40    pub const GROUP_GET_FROM_DISK_NUMS: &'static str = "GROUP_GET_FROM_DISK_NUMS";
41    pub const GROUP_GET_FROM_DISK_SIZE: &'static str = "GROUP_GET_FROM_DISK_SIZE";
42    pub const GROUP_GET_LATENCY: &'static str = "GROUP_GET_LATENCY";
43    pub const GROUP_GET_NUMS: &'static str = "GROUP_GET_NUMS";
44    pub const GROUP_GET_SIZE: &'static str = "GROUP_GET_SIZE";
45    pub const QUEUE_GET_NUMS: &'static str = "QUEUE_GET_NUMS";
46    pub const QUEUE_GET_SIZE: &'static str = "QUEUE_GET_SIZE";
47    pub const QUEUE_PUT_NUMS: &'static str = "QUEUE_PUT_NUMS";
48    pub const QUEUE_PUT_SIZE: &'static str = "QUEUE_PUT_SIZE";
49    pub const SNDBCK_PUT_NUMS: &'static str = "SNDBCK_PUT_NUMS";
50    pub const TOPIC_PUT_NUMS: &'static str = "TOPIC_PUT_NUMS";
51    pub const TOPIC_PUT_SIZE: &'static str = "TOPIC_PUT_SIZE";
52}