Class StatsWrapper

java.lang.Object
com.google.cloud.bigtable.stats.StatsWrapper

@InternalApi("For internal use only") public class StatsWrapper extends Object
Wrapper class for accessing opencensus. We use a shaded version of opencensus to avoid polluting the global opencensus namespace. And this provides a facade that will not be relocated.
  • Constructor Details

    • StatsWrapper

      public StatsWrapper()
  • Method Details

    • createRecorder

      public static StatsRecorderWrapper createRecorder(com.google.api.gax.tracing.ApiTracerFactory.OperationType operationType, com.google.api.gax.tracing.SpanName spanName, Map<String,String> statsAttributes)
    • getOperationLatencyViewTagValueStrings

      @InternalApi("Visible for testing") public static List<String> getOperationLatencyViewTagValueStrings()