Deprecated API
Contents
-
Deprecated Interfaces
-
Deprecated ClassesClassDescriptionsince 0.13, use
Aggregation.Distribution
instead.since 0.13, useAggregationData.DistributionData
instead.since 0.13. In the future allView
s will be cumulative.since 0.13. In the future allView
s will be cumulative.since 0.13. In the future allView
s will be cumulative.since 0.13, please use start and endTimestamp
instead.since 0.13, please use start and endTimestamp
instead.since 0.13, please use start and endTimestamp
instead.This class is for internal use only.UseMessageEvent
.Please useContextHandleUtils
Util methods/functionality to interact with theContext
. Users must interact with the current Context via the public APIs inTracer
and avoid usages of theContextUtils.CONTEXT_SPAN_KEY
directly.
-
Deprecated FieldsFieldDescriptionbecause error counts can be computed on your metrics backend by totalling the different per-status values.since finished count can be inferred with a
Count
aggregation onRpcMeasureConstants.GRPC_CLIENT_SERVER_LATENCY
.in favor ofRpcMeasureConstants.GRPC_CLIENT_SENT_BYTES_PER_RPC
.in favor ofRpcMeasureConstants.GRPC_CLIENT_ROUNDTRIP_LATENCY
.in favor ofRpcMeasureConstants.GRPC_CLIENT_SERVER_LATENCY
.in favor ofRpcMeasureConstants.GRPC_CLIENT_STARTED_RPCS
.in favor ofRpcMeasureConstants.GRPC_CLIENT_SENT_BYTES_PER_RPC
.because error counts can be computed on your metrics backend by totalling the different per-status values.since finished count can be inferred with aCount
aggregation onRpcMeasureConstants.GRPC_SERVER_SERVER_LATENCY
.in favor ofRpcMeasureConstants.GRPC_SERVER_SENT_BYTES_PER_RPC
.in favor ofRpcMeasureConstants.GRPC_SERVER_SERVER_LATENCY
.in favor ofRpcMeasureConstants.GRPC_SERVER_SERVER_LATENCY
.in favor ofRpcMeasureConstants.GRPC_SERVER_STARTED_RPCS
.in favor ofRpcMeasureConstants.GRPC_SERVER_SENT_BYTES_PER_RPC
.since error count measure is deprecated.in favor ofRpcViewConstants.GRPC_CLIENT_COMPLETED_RPC_VIEW
.in favor ofRpcViewConstants.GRPC_CLIENT_SENT_BYTES_PER_RPC_VIEW
.in favor ofRpcViewConstants.GRPC_CLIENT_ROUNDTRIP_LATENCY_VIEW
.in favor ofRpcViewConstants.GRPC_CLIENT_SERVER_LATENCY_VIEW
.in favor ofRpcViewConstants.GRPC_CLIENT_STARTED_RPC_VIEW
.in favor ofRpcViewConstants.GRPC_CLIENT_SENT_BYTES_PER_RPC_VIEW
.since error count measure is deprecated.in favor ofRpcViewConstants.GRPC_SERVER_COMPLETED_RPC_VIEW
.in favor ofRpcViewConstants.GRPC_SERVER_SENT_BYTES_PER_RPC_VIEW
.in favor ofRpcViewConstants.GRPC_SERVER_SERVER_LATENCY_VIEW
.in favor ofRpcViewConstants.GRPC_SERVER_SERVER_LATENCY_VIEW
.in favor ofRpcViewConstants.GRPC_SERVER_STARTED_RPC_VIEW
.in favor ofRpcViewConstants.GRPC_SERVER_SENT_BYTES_PER_RPC_VIEW
.
-
Deprecated MethodsMethodDescriptionin favor of
RpcViews.registerAllGrpcViews()
. It is likely that there won't be stats for the old views, but you may still want to register the old views before they are completely removed.because interval window is deprecated. There won't be interval views in the future.in favor ofRpcViews.registerAllGrpcViews()
.in favor ofK8sResource.create(String, String, String, String)
.since 0.20, useMetricRegistry.addDerivedDoubleGauge(String, MetricOptions)
.since 0.20, useMetricRegistry.addDerivedLongGauge(String, MetricOptions)
.since 0.20, useMetricRegistry.addDoubleGauge(String, MetricOptions)
.since 0.20, useMetricRegistry.addLongGauge(String, MetricOptions)
.since 0.17. UseAggregationData.DistributionData.create(double, long, double, List)
.since 0.17. Returns0
.since 0.17. Returns0
.in favor ofMeasureMap.putAttachment(String, AttachmentValue)
.This method is deprecated because other libraries could cache the result ofStats.getState()
, use a stale value, and behave incorrectly. It is only safe to call early in initialization. This method throwsIllegalStateException
aftergetState()
has been called, in order to limit changes to the result ofgetState()
.This method is deprecated because other libraries could cache the result ofStatsComponent.getState()
, use a stale value, and behave incorrectly. It is only safe to call early in initialization. This method throwsIllegalStateException
aftergetState()
has been called, in order to limit changes to the result ofgetState()
.since 0.13. In the future allView
s will be cumulative.in favor ofViewData.create(View, Map, Timestamp, Timestamp)
.in favor ofViewData.getStart()
andViewData.getEnd()
.in favor ofTag.create(TagKey, TagValue, TagMetadata)
.in favor ofTagContextBuilder.put(TagKey, TagValue, TagMetadata)
, orTagContextBuilder.putLocal(TagKey, TagValue)
if you only want in-process tags.This method is deprecated because other libraries could cache the result ofTags.getState()
, use a stale value, and behave incorrectly. It is only safe to call early in initialization. This method throwsIllegalStateException
afterTags.getState()
has been called, in order to limit changes to the result ofgetState()
.This method is deprecated because other libraries could cache the result ofTagsComponent.getState()
, use a stale value, and behave incorrectly. It is only safe to call early in initialization. This method throwsIllegalStateException
aftergetState()
has been called, in order to limit changes to the result ofgetState()
.since 0.18. UseEndSpanOptions.getSampleToLocalSpanStore()
.since 0.18. The need of controlling the registration the span name will be removed soon.UseBuilder.setIsSampled(true)
.