HBASE-6408 Naming and documenting of the hadoop-metrics2.properties file
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1387443 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3067e60c39
commit
fc515de647
|
@ -0,0 +1,28 @@
|
||||||
|
# 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
|
||||||
|
*.period=10
|
||||||
|
|
||||||
|
# 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.file1.class=org.apache.hadoop.metrics2.sink.FileSink
|
||||||
|
# hbase.sink.file1.context=thrift-one
|
||||||
|
# hbase.sink.file1.filename=thrift-one.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.file3.class=org.apache.hadoop.metrics2.sink.FileSink
|
||||||
|
# hbase.sink.file3.context=rest
|
||||||
|
# hbase.sink.file3.filename=rest.metrics
|
|
@ -1,11 +0,0 @@
|
||||||
# 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
|
|
||||||
*.period=10
|
|
||||||
# syntax: [prefix].[source|sink|jmx].[instance].[options]
|
|
||||||
# See package.html for org.apache.hadoop.metrics2 for details
|
|
||||||
|
|
||||||
*.sink.file.class=org.apache.hadoop.metrics2.sink.FileSink
|
|
||||||
|
|
Loading…
Reference in New Issue