HBASE-26137 Backport HBASE-25732 "Change the command line argument for tracing after upgrading opentelemtry to 1.0.0" to branch-2 (#3624)
14/17 commits of HBASE-22120, original commit 8df9bebdd3
Co-authored-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
parent
c639d6f353
commit
dd1bdc8aff
|
@ -81,3 +81,8 @@ set HBASE_OPTS=%HBASE_OPTS% "-XX:+UseConcMarkSweepGC" "-Djava.net.preferIPv4Stac
|
||||||
|
|
||||||
@rem Tell HBase whether it should manage it's own instance of ZooKeeper or not.
|
@rem Tell HBase whether it should manage it's own instance of ZooKeeper or not.
|
||||||
@rem set HBASE_MANAGES_ZK=true
|
@rem set HBASE_MANAGES_ZK=true
|
||||||
|
|
||||||
|
@rem Uncomment to enable trace, you can change the options to use other exporters such as jaeger or
|
||||||
|
@rem zipkin. See https://github.com/open-telemetry/opentelemetry-java-instrumentation on how to
|
||||||
|
@rem configure exporters and other components through system properties.
|
||||||
|
@rem set HBASE_TRACE_OPTS="-Dotel.resource.attributes=service.name=HBase -Dotel.traces.exporter=logging otel.metrics.exporter=none"
|
||||||
|
|
|
@ -146,6 +146,6 @@
|
||||||
# export HBASE_JSHELL_ARGS="--startup DEFAULT --startup PRINTING --startup hbase_startup.jsh"
|
# export HBASE_JSHELL_ARGS="--startup DEFAULT --startup PRINTING --startup hbase_startup.jsh"
|
||||||
|
|
||||||
# Uncomment to enable trace, you can change the options to use other exporters such as jaeger or
|
# Uncomment to enable trace, you can change the options to use other exporters such as jaeger or
|
||||||
# zipkin. See https://github.com/open-telemetry/opentelemetry-java-instrumentation on how to config
|
# zipkin. See https://github.com/open-telemetry/opentelemetry-java-instrumentation on how to
|
||||||
# exporters and other components through system properties.
|
# configure exporters and other components through system properties.
|
||||||
# export HBASE_TRACE_OPTS="-Dotel.config.sampler.probability=0.1 -Dotel.exporter=logging"
|
# export HBASE_TRACE_OPTS="-Dotel.resource.attributes=service.name=HBase -Dotel.traces.exporter=logging otel.metrics.exporter=none"
|
||||||
|
|
Loading…
Reference in New Issue