Package com.google.cloud.bigtable.stats
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 Summary
Constructors Constructor Description StatsWrapper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StatsRecorderWrapper
createRecorder(com.google.api.gax.tracing.ApiTracerFactory.OperationType operationType, com.google.api.gax.tracing.SpanName spanName, Map<String,String> statsAttributes)
static List<String>
getOperationLatencyViewTagValueStrings()
-
-
-
Method Detail
-
createRecorder
public static StatsRecorderWrapper createRecorder(com.google.api.gax.tracing.ApiTracerFactory.OperationType operationType, com.google.api.gax.tracing.SpanName spanName, Map<String,String> statsAttributes)
-
-