public final class RpcViews extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
registerAllCumulativeViews()
Deprecated.
in favor of
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. |
static void |
registerAllGrpcViews()
Registers all standard gRPC views.
|
static void |
registerAllIntervalViews()
Deprecated.
because interval window is deprecated. There won't be interval views in the future.
|
static void |
registerAllViews()
Deprecated.
in favor of
registerAllGrpcViews(). |
public static void registerAllGrpcViews()
It is recommended to call this method before doing any RPC call to avoid missing stats.
@Deprecated public static void registerAllCumulativeViews()
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.It is recommended to call this method before doing any RPC call to avoid missing stats.
@Deprecated public static void registerAllIntervalViews()
It is recommended to call this method before doing any RPC call to avoid missing stats.
@Deprecated public static void registerAllViews()
registerAllGrpcViews().This is equivalent with calling registerAllCumulativeViews() and registerAllIntervalViews().
It is recommended to call this method before doing any RPC call to avoid missing stats.