Class RpcViews
- Since:
- 0.11
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidDeprecated.static voidRegisters all basic gRPC views.static voidRegisters all standard gRPC views.static voidDeprecated.because interval window is deprecated.static voidDeprecated.in favor ofregisterAllGrpcViews().static voidRegisters basic client gRPC views.static voidRegisters all standard client gRPC views.static voidRegisters client retry gRPC views.static voidRegisters views for real time metrics reporting for streaming RPCs.static voidRegisters basic server gRPC views.static voidRegisters all standard server gRPC views.
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
registerAllGrpcViews().