This is an automated email from the ASF dual-hosted git repository.

junegunn pushed a commit to branch branch-3
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-3 by this push:
     new ca04b358250 HBASE-29399 Update hadoop-metrics2-hbase.properties 
template (#7108)
ca04b358250 is described below

commit ca04b3582505c845ec6c067b244e5f8aba2bcf8c
Author: Junegunn Choi <[email protected]>
AuthorDate: Mon Jun 30 10:44:21 2025 +0900

    HBASE-29399 Update hadoop-metrics2-hbase.properties template (#7108)
    
    Signed-off-by: Duo Zhang <[email protected]>
---
 conf/hadoop-metrics2-hbase.properties | 43 ++++++++++++++++++++---------------
 1 file changed, 25 insertions(+), 18 deletions(-)

diff --git a/conf/hadoop-metrics2-hbase.properties 
b/conf/hadoop-metrics2-hbase.properties
index 4c7dbbe44be..7526ab28188 100644
--- a/conf/hadoop-metrics2-hbase.properties
+++ b/conf/hadoop-metrics2-hbase.properties
@@ -14,31 +14,38 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# syntax: [prefix].[source|sink].[instance].[options]
-# See javadoc of package-info.java for org.apache.hadoop.metrics2 for details
+## syntax: [prefix].[source|sink].[instance].[options]
+## See javadoc of package-info.java for org.apache.hadoop.metrics2 for details
 
-*.sink.file*.class=org.apache.hadoop.metrics2.sink.FileSink
-# default sampling period
+## Default sampling period, in seconds
 *.period=10
 
-# Below are some examples of sinks that could be used
-# to monitor different hbase daemons.
+## You can use regular expressions to exclude metrics you don't need.
+
+# 
hbase.source.metric.filter.class=org.apache.hadoop.metrics2.filter.RegexFilter
+# 
hbase.source.metric.filter.exclude=.*_((25|75|90|95|98)th_percentile|min|mean)
+
+## Below are some examples of sinks that could be used to monitor different 
hbase daemons.
 
 # hbase.sink.file-all.class=org.apache.hadoop.metrics2.sink.FileSink
 # hbase.sink.file-all.filename=all.metrics
 
-# hbase.sink.file0.class=org.apache.hadoop.metrics2.sink.FileSink
-# hbase.sink.file0.context=hmaster
-# hbase.sink.file0.filename=master.metrics
+# hbase.sink.file-master.class=org.apache.hadoop.metrics2.sink.FileSink
+# hbase.sink.file-master.context=master
+# hbase.sink.file-master.filename=master.metrics
+
+# hbase.sink.file-regionserver.class=org.apache.hadoop.metrics2.sink.FileSink
+# hbase.sink.file-regionserver.context=regionserver
+# hbase.sink.file-regionserver.filename=regionserver.metrics
 
-# hbase.sink.file1.class=org.apache.hadoop.metrics2.sink.FileSink
-# hbase.sink.file1.context=thrift-one
-# hbase.sink.file1.filename=thrift-one.metrics
+# hbase.sink.file-thrift1.class=org.apache.hadoop.metrics2.sink.FileSink
+# hbase.sink.file-thrift1.context=thrift-one
+# hbase.sink.file-thrift1.filename=thrift1.metrics
 
-# hbase.sink.file2.class=org.apache.hadoop.metrics2.sink.FileSink
-# hbase.sink.file2.context=thrift-two
-# hbase.sink.file2.filename=thrift-one.metrics
+# hbase.sink.file-thrift2.class=org.apache.hadoop.metrics2.sink.FileSink
+# hbase.sink.file-thrift2.context=thrift-two
+# hbase.sink.file-thrift2.filename=thrift2.metrics
 
-# hbase.sink.file3.class=org.apache.hadoop.metrics2.sink.FileSink
-# hbase.sink.file3.context=rest
-# hbase.sink.file3.filename=rest.metrics
+# hbase.sink.file-rest.class=org.apache.hadoop.metrics2.sink.FileSink
+# hbase.sink.file-rest.context=rest
+# hbase.sink.file-rest.filename=rest.metrics

Reply via email to