Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

etcdserver/api/v3rpc: display all registered gRPC metrics at start (v3.2) #10032

Merged
merged 1 commit into from
Aug 25, 2018

Commits on Aug 23, 2018

  1. etcdserver/api/v3rpc: display all registered gRPC metrics at start

    Previously, only display the one that has been requested at least once.
    Now it shows all metrics, as we do in v3.3 and v3.4+.
    
    grpc_server_started_total{grpc_method="Alarm",grpc_service="etcdserverpb.Maintenance",grpc_type="unary"} 0
    grpc_server_started_total{grpc_method="AuthDisable",grpc_service="etcdserverpb.Auth",grpc_type="unary"} 0
    grpc_server_started_total{grpc_method="AuthEnable",grpc_service="etcdserverpb.Auth",grpc_type="unary"} 0
    grpc_server_started_total{grpc_method="Authenticate",grpc_service="etcdserverpb.Auth",grpc_type="unary"} 0
    grpc_server_started_total{grpc_method="Compact",grpc_service="etcdserverpb.KV",grpc_type="unary"} 0
    grpc_server_started_total{grpc_method="Defragment",grpc_service="etcdserverpb.Maintenance",grpc_type="unary"} 0
    grpc_server_started_total{grpc_method="DeleteRange",grpc_service="etcdserverpb.KV",grpc_type="unary"} 0
    
    Should help document metrics.
    
    Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
    gyuho committed Aug 23, 2018
    Configuration menu
    Copy the full SHA
    4928558 View commit details
    Browse the repository at this point in the history