@InternalApi
public class MetricsApiTracerAdapter
extends com.google.cloud.bigtable.data.v2.stub.metrics.BigtableTracer
| Constructor and Description |
|---|
MetricsApiTracerAdapter(com.google.cloud.bigtable.metrics.RpcMetrics rpcMetrics,
String methodName,
com.google.api.gax.tracing.ApiTracerFactory.OperationType operationType) |
| Modifier and Type | Method and Description |
|---|---|
void |
attemptCancelled() |
void |
attemptFailed(Throwable error,
org.threeten.bp.Duration delay) |
void |
attemptFailedRetriesExhausted(Throwable error) |
void |
attemptPermanentFailure(Throwable error) |
void |
attemptStarted(int attemptNumber) |
void |
attemptSucceeded() |
void |
batchRequestSent(long elementCount,
long requestSize) |
void |
connectionSelected(String id) |
com.google.api.gax.tracing.ApiTracer.Scope |
inScope() |
void |
operationCancelled() |
void |
operationFailed(Throwable error) |
void |
operationFinishEarly() |
void |
operationSucceeded() |
void |
requestSent() |
void |
responseReceived() |
afterResponse, batchRequestThrottled, disableFlowControl, getAttempt, grpcChannelQueuedLatencies, grpcMessageSent, onRequest, recordGfeMetadata, setLocations, setTotalTimeoutDuration, setTransportAttrsattemptStarted, getInstance, lroStartFailed, lroStartSucceededpublic MetricsApiTracerAdapter(com.google.cloud.bigtable.metrics.RpcMetrics rpcMetrics,
String methodName,
com.google.api.gax.tracing.ApiTracerFactory.OperationType operationType)
public com.google.api.gax.tracing.ApiTracer.Scope inScope()
inScope in interface com.google.api.gax.tracing.ApiTracerinScope in class com.google.api.gax.tracing.BaseApiTracerpublic void operationFinishEarly()
operationFinishEarly in class com.google.cloud.bigtable.data.v2.stub.metrics.BigtableTracerpublic void operationSucceeded()
operationSucceeded in interface com.google.api.gax.tracing.ApiTraceroperationSucceeded in class com.google.api.gax.tracing.BaseApiTracerpublic void operationCancelled()
operationCancelled in interface com.google.api.gax.tracing.ApiTraceroperationCancelled in class com.google.api.gax.tracing.BaseApiTracerpublic void operationFailed(Throwable error)
operationFailed in interface com.google.api.gax.tracing.ApiTraceroperationFailed in class com.google.api.gax.tracing.BaseApiTracerpublic void connectionSelected(String id)
connectionSelected in interface com.google.api.gax.tracing.ApiTracerconnectionSelected in class com.google.api.gax.tracing.BaseApiTracerpublic void attemptStarted(int attemptNumber)
attemptStarted in interface com.google.api.gax.tracing.ApiTracerattemptStarted in class com.google.cloud.bigtable.data.v2.stub.metrics.BigtableTracerpublic void attemptSucceeded()
attemptSucceeded in interface com.google.api.gax.tracing.ApiTracerattemptSucceeded in class com.google.api.gax.tracing.BaseApiTracerpublic void attemptCancelled()
attemptCancelled in interface com.google.api.gax.tracing.ApiTracerattemptCancelled in class com.google.api.gax.tracing.BaseApiTracerpublic void attemptFailed(Throwable error, org.threeten.bp.Duration delay)
attemptFailed in interface com.google.api.gax.tracing.ApiTracerattemptFailed in class com.google.api.gax.tracing.BaseApiTracerpublic void attemptFailedRetriesExhausted(Throwable error)
attemptFailedRetriesExhausted in interface com.google.api.gax.tracing.ApiTracerattemptFailedRetriesExhausted in class com.google.api.gax.tracing.BaseApiTracerpublic void attemptPermanentFailure(Throwable error)
attemptPermanentFailure in interface com.google.api.gax.tracing.ApiTracerattemptPermanentFailure in class com.google.api.gax.tracing.BaseApiTracerpublic void responseReceived()
responseReceived in interface com.google.api.gax.tracing.ApiTracerresponseReceived in class com.google.api.gax.tracing.BaseApiTracerpublic void requestSent()
requestSent in interface com.google.api.gax.tracing.ApiTracerrequestSent in class com.google.api.gax.tracing.BaseApiTracerpublic void batchRequestSent(long elementCount,
long requestSize)
batchRequestSent in interface com.google.api.gax.tracing.ApiTracerbatchRequestSent in class com.google.api.gax.tracing.BaseApiTracer