hadoop-metrics2-hbase.properties 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Licensed to the Apache Software Foundation (ASF) under one
  2. # or more contributor license agreements. See the NOTICE file
  3. # distributed with this work for additional information
  4. # regarding copyright ownership. The ASF licenses this file
  5. # to you under the Apache License, Version 2.0 (the
  6. # "License"); you may not use this file except in compliance
  7. # with 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. # syntax: [prefix].[source|sink].[instance].[options]
  17. # See javadoc of package-info.java for org.apache.hadoop.metrics2 for details
  18. *.sink.file*.class=org.apache.hadoop.metrics2.sink.FileSink
  19. # default sampling period
  20. *.period=10
  21. # Below are some examples of sinks that could be used
  22. # to monitor different hbase daemons.
  23. # hbase.sink.file-all.class=org.apache.hadoop.metrics2.sink.FileSink
  24. # hbase.sink.file-all.filename=all.metrics
  25. # hbase.sink.file0.class=org.apache.hadoop.metrics2.sink.FileSink
  26. # hbase.sink.file0.context=hmaster
  27. # hbase.sink.file0.filename=master.metrics
  28. # hbase.sink.file1.class=org.apache.hadoop.metrics2.sink.FileSink
  29. # hbase.sink.file1.context=thrift-one
  30. # hbase.sink.file1.filename=thrift-one.metrics
  31. # hbase.sink.file2.class=org.apache.hadoop.metrics2.sink.FileSink
  32. # hbase.sink.file2.context=thrift-two
  33. # hbase.sink.file2.filename=thrift-one.metrics
  34. # hbase.sink.file3.class=org.apache.hadoop.metrics2.sink.FileSink
  35. # hbase.sink.file3.context=rest
  36. # hbase.sink.file3.filename=rest.metrics