29 lines
1.0 KiB
Properties
29 lines
1.0 KiB
Properties
# 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
|