Class RpcViews
- Since:
- 0.11
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final com.google.common.collect.ImmutableSet
<View> (package private) static final com.google.common.collect.ImmutableSet
<View> (package private) static final com.google.common.collect.ImmutableSet
<View> (package private) static final com.google.common.collect.ImmutableSet
<View> (package private) static final com.google.common.collect.ImmutableSet
<View> (package private) static final com.google.common.collect.ImmutableSet
<View> (package private) static final com.google.common.collect.ImmutableSet
<View> (package private) static final com.google.common.collect.ImmutableSet
<View> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Deprecated.(package private) static void
registerAllCumulativeViews
(ViewManager viewManager) static void
Registers all basic gRPC views.(package private) static void
registerAllGrpcBasicViews
(ViewManager viewManager) static void
Registers all standard gRPC views.(package private) static void
registerAllGrpcViews
(ViewManager viewManager) static void
Deprecated.because interval window is deprecated.(package private) static void
registerAllIntervalViews
(ViewManager viewManager) static void
Deprecated.in favor ofregisterAllGrpcViews()
.(package private) static void
registerAllViews
(ViewManager viewManager) static void
Registers basic client gRPC views.(package private) static void
registerClientGrpcBasicViews
(ViewManager viewManager) static void
Registers all standard client gRPC views.(package private) static void
registerClientGrpcViews
(ViewManager viewManager) static void
Registers client retry gRPC views.(package private) static void
registerClientRetryGrpcViews
(ViewManager viewManager) static void
Registers views for real time metrics reporting for streaming RPCs.(package private) static void
registerRealTimeMetricsViews
(ViewManager viewManager) static void
Registers basic server gRPC views.(package private) static void
registerServerGrpcBasicViews
(ViewManager viewManager) static void
Registers all standard server gRPC views.(package private) static void
registerServerGrpcViews
(ViewManager viewManager)
-
Field Details
-
RPC_CUMULATIVE_VIEWS_SET
-
GRPC_CLIENT_VIEWS_SET
-
GRPC_SERVER_VIEWS_SET
-
RPC_INTERVAL_VIEWS_SET
-
GRPC_REAL_TIME_METRICS_VIEWS_SET
-
GRPC_CLIENT_BASIC_VIEWS_SET
-
GRPC_CLIENT_RETRY_VIEWS_SET
-
GRPC_SERVER_BASIC_VIEWS_SET
-
-
Constructor Details
-
RpcViews
private RpcViews()
-
-
Method Details
-
registerAllGrpcViews
public static void registerAllGrpcViews()Registers all standard gRPC views.It is recommended to call this method before doing any RPC call to avoid missing stats.
This is equivalent with calling
registerClientGrpcViews()
andregisterServerGrpcViews()
.- Since:
- 0.13
-
registerAllGrpcViews
-
registerClientGrpcViews
public static void registerClientGrpcViews()Registers all standard client gRPC views.It is recommended to call this method before doing any RPC call to avoid missing stats.
- Since:
- 0.16
-
registerClientGrpcViews
-
registerClientRetryGrpcViews
public static void registerClientRetryGrpcViews()Registers client retry gRPC views.It is recommended to call this method before doing any RPC call to avoid missing stats.
- Since:
- 0.31.0
-
registerClientRetryGrpcViews
-
registerServerGrpcViews
public static void registerServerGrpcViews()Registers all standard server gRPC views.It is recommended to call this method before doing any RPC call to avoid missing stats.
- Since:
- 0.16
-
registerServerGrpcViews
-
registerAllGrpcBasicViews
public static void registerAllGrpcBasicViews()Registers all basic gRPC views.It is recommended to call this method before doing any RPC call to avoid missing stats.
This is equivalent with calling
registerClientGrpcBasicViews()
andregisterServerGrpcBasicViews()
.- Since:
- 0.19
-
registerAllGrpcBasicViews
-
registerClientGrpcBasicViews
public static void registerClientGrpcBasicViews()Registers basic client gRPC views.It is recommended to call this method before doing any RPC call to avoid missing stats.
- Since:
- 0.19
-
registerClientGrpcBasicViews
-
registerServerGrpcBasicViews
public static void registerServerGrpcBasicViews()Registers basic server gRPC views.It is recommended to call this method before doing any RPC call to avoid missing stats.
- Since:
- 0.19
-
registerServerGrpcBasicViews
-
registerAllCumulativeViews
Deprecated.in favor ofregisterAllGrpcViews()
. 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.Registers all standard cumulative views.It is recommended to call this method before doing any RPC call to avoid missing stats.
- Since:
- 0.11.0
-
registerAllCumulativeViews
-
registerAllIntervalViews
Deprecated.because interval window is deprecated. There won't be interval views in the future.Registers all standard interval views.It is recommended to call this method before doing any RPC call to avoid missing stats.
- Since:
- 0.11.0
-
registerAllIntervalViews
-
registerAllViews
Deprecated.in favor ofregisterAllGrpcViews()
.Registers all views.This is equivalent with calling
registerAllCumulativeViews()
andregisterAllIntervalViews()
.It is recommended to call this method before doing any RPC call to avoid missing stats.
- Since:
- 0.11.0
-
registerAllViews
-
registerRealTimeMetricsViews
public static void registerRealTimeMetricsViews()Registers views for real time metrics reporting for streaming RPCs. This views will produce data only for streaming gRPC calls.- Since:
- 0.18
-
registerRealTimeMetricsViews
-
registerAllGrpcViews()
.