adservice: restore old grpc views until new grpc version is released. (#144)
This commit is contained in:
parent
09f5ce89da
commit
741c669c34
1 changed files with 8 additions and 1 deletions
|
@ -270,7 +270,14 @@ public final class AdService {
|
||||||
/** Main launches the server from the command line. */
|
/** Main launches the server from the command line. */
|
||||||
public static void main(String[] args) throws IOException, InterruptedException {
|
public static void main(String[] args) throws IOException, InterruptedException {
|
||||||
// Registers all RPC views.
|
// Registers all RPC views.
|
||||||
RpcViews.registerAllGrpcViews();
|
/**
|
||||||
|
* [TODO:rghetia] replace registerAllViews with registerAllGrpcViews.
|
||||||
|
* registerAllGrpcViews registers new views using new measures however current grpc version records against
|
||||||
|
* old measures. When new version of grpc (0.19) is release revert back to new. After reverting
|
||||||
|
* back to new the new measure will not provide any tags (like method). This will create
|
||||||
|
* some discrepencies when compared grpc measurements in Go services.
|
||||||
|
*/
|
||||||
|
RpcViews.registerAllViews();
|
||||||
|
|
||||||
new Thread(
|
new Thread(
|
||||||
new Runnable() {
|
new Runnable() {
|
||||||
|
|
Loading…
Reference in a new issue