ndimiduk commented on PR #4452:
URL: https://github.com/apache/hbase/pull/4452#issuecomment-1132879198

   Something like,
   
   ```
   modified   conf/hbase-env.sh
   @@ -149,11 +149,14 @@
    # https://github.com/open-telemetry/opentelemetry-java-instrumentation for 
details on how to
    # configure exporters and other components through system properties.
    #
   -# The presence HBASE_TRACE_OPTS indicates that tracing should be enabled, 
and serves as site-wide
   -# settings.
   +# The presence HBASE_TRACE_OPTS indicates that tracing should be enabled, 
adding the agent to the
   +# JVM launch command.
    # export HBASE_TRACE_OPTS="-Dotel.traces.exporter=none 
-Dotel.metrics.exporter=none"
    #
   -# Per-process configuration variables allow for fine-grained configuration 
control.
   +# You must explicitly add HBASE_TRACE_OPTS to HBASE_OPTS. Do this site wide 
by uncommenting this line,
   +# export HBASE_OPTS="${HBASE_OPTS} ${HBASE_TRACE_OPTS}"
   +# Or, enabled tracing with per-process configuration variables, allowing 
for fine-grained
   +# configuration control.
    # export HBASE_SHELL_OPTS="${HBASE_SHELL_OPTS} ${HBASE_TRACE_OPTS} 
-Dotel.resource.attributes=service.name=hbase-shell"
    # export HBASE_JSHELL_OPTS="${HBASE_JSHELL_OPTS} ${HBASE_TRACE_OPTS} 
-Dotel.resource.attributes=service.name=hbase-jshell"
    # export HBASE_HBCK_OPTS="${HBASE_HBCK_OPTS} ${HBASE_TRACE_OPTS} 
-Dotel.resource.attributes=service.name=hbase-hbck"
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to