2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
21 // This file contains protocol buffers that are used for Online TooSlowLogs
22 // To be used as Ring Buffer payload
25 option java_package = "org.apache.hadoop.hbase.shaded.protobuf.generated";
26 option java_outer_classname = "TooSlowLog";
27 option java_generate_equals_and_hash = true;
28 option optimize_for = SPEED;
30 message SlowLogPayload {
31 required int64 start_time = 1;
32 required int32 processing_time = 2;
33 required int32 queue_time = 3;
34 required int64 response_size = 4;
35 required string client_address = 5;
36 required string server_class = 6;
37 required string method_name = 7;
38 required string call_details = 8;
39 optional string param = 9;
40 required string user_name = 10;
41 optional string region_name = 11;
42 optional int32 multi_gets = 12 [default = 0];
43 optional int32 multi_mutations = 13 [default = 0];
44 optional int32 multi_service_calls = 14 [default = 0];