| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # 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 |
| |
| ## Default sampling period, in seconds |
| *.period=10 |
| |
| ## 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.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.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.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.file-rest.class=org.apache.hadoop.metrics2.sink.FileSink |
| # hbase.sink.file-rest.context=rest |
| # hbase.sink.file-rest.filename=rest.metrics |