TracingUtilities (Cloud Bigtable HBase Client for Java 1.12.0 API)

Class TracingUtilities

  • public final class TracingUtilities
    extends Object
    These utilities are to be used in conjunction with the opencensus-contrib-zpages artifact to display a consistent set of Cloud Bigtable RPC methods.

    NOTE: if you are using HBase, use HBaseTracingUtilities instead of TracingUtilities.

    After including the artifact, the following code can be used for enabling grpcz pages:

     int port = ... ; // Choose a port number
     try {
     } catch (Throwable e) {
       LOG.error("Could not initialize ZPageHandlers", e);
    This is a method of enabling exports to stackdriver along with the opencensus-exporter-trace-stackdriver artifact:
     try {
     } catch (Throwable e) {
       LOG.error("Could not register stackdriver", e);

    • Method Detail

      • setupTracingConfig

        public static void setupTracingConfig()
        This is a one time setup for grpcz pages. This adds all of the methods to the Tracing environment required to show a consistent set of methods relating to Cloud Bigtable on the grpcz page. If HBase artifacts are present, this will add tracing metadata for HBase methods.