|
143 | 143 | # export GREP="${GREP-grep}" |
144 | 144 | # export SED="${SED-sed}" |
145 | 145 |
|
146 | | -# Uncomment to enable trace, you can change the options to use other exporters such as jaeger or |
147 | | -# zipkin. See https://github.com/open-telemetry/opentelemetry-java-instrumentation on how to |
| 146 | +# Tracing |
| 147 | +# Uncomment some combination of these lines to enable tracing. You should change the options to use |
| 148 | +# the exporters appropriate to your environment. See |
| 149 | +# https://github.com/open-telemetry/opentelemetry-java-instrumentation for details on how to |
148 | 150 | # configure exporters and other components through system properties. |
149 | | -# export HBASE_TRACE_OPTS="-Dotel.resource.attributes=service.name=HBase -Dotel.traces.exporter=logging -Dotel.metrics.exporter=none" |
| 151 | +# |
| 152 | +# The presence HBASE_TRACE_OPTS indicates that tracing should be enabled, and serves as site-wide |
| 153 | +# settings. |
| 154 | +# export HBASE_TRACE_OPTS="-Dotel.traces.exporter=none -Dotel.metrics.exporter=none" |
| 155 | +# |
| 156 | +# Per-process configuration variables allow for fine-grained configuration control. |
| 157 | +# export HBASE_SHELL_OPTS="${HBASE_SHELL_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-shell" |
| 158 | +# export HBASE_JSHELL_OPTS="${HBASE_JSHELL_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-jshell" |
| 159 | +# export HBASE_HBCK_OPTS="${HBASE_HBCK_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-hbck" |
| 160 | +# export HBASE_MASTER_OPTS="${HBASE_MASTER_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-master" |
| 161 | +# export HBASE_REGIONSERVER_OPTS="${HBASE_REGIONSERVER_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-regionserver" |
| 162 | +# export HBASE_THRIFT_OPTS="${HBASE_THRIFT_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-thrift" |
| 163 | +# export HBASE_REST_OPTS="${HBASE_REST_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-rest" |
| 164 | +# export HBASE_ZOOKEEPER_OPTS="${HBASE_ZOOKEEPER_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-zookeeper" |
| 165 | +# export HBASE_PE_OPTS="${HBASE_PE_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-performanceevaluation" |
| 166 | +# export HBASE_LTT_OPTS="${HBASE_LTT_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-loadtesttool" |
| 167 | +# export HBASE_CANARY_OPTS="${HBASE_CANARY_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-canary" |
| 168 | +# export HBASE_HBTOP_OPTS="${HBASE_HBTOP_OPTS} ${HBASE_TRACE_OPTS} -Dotel.resource.attributes=service.name=hbase-hbtop" |
| 169 | +# |
| 170 | +# Manually specify a value for OPENTELEMETRY_JAVAAGENT_PATH to override the autodiscovery mechanism |
| 171 | +# export OPENTELEMETRY_JAVAAGENT_PATH="" |
150 | 172 |
|
151 | 173 | # Additional argments passed to jshell invocation |
152 | 174 | # export HBASE_JSHELL_ARGS="--startup DEFAULT --startup PRINTING --startup hbase_startup.jsh" |
0 commit comments