Skip to content

Register praefect server for grpc prom metrics

John Cai requested to merge jc-register-praefect-prom-metrics into master

Register the praefect grpc server for grpc prometheus metrics. As it says in the godoc:

// Register takes a gRPC server and pre-initializes all counters to 0. This
// allows for easier monitoring in Prometheus (no missing metrics), and should
// be called *after* all services have been registered with the server. This
// function acts on the DefaultServerMetrics variable.

Merge request reports