tikv / grpc-rs

The gRPC library for Rust built on C Core library and futures
Apache License 2.0
1.81k stars 253 forks source link

metrics: add running metrics for grpc #639

Open bufferflies opened 1 year ago

bufferflies commented 1 year ago

close: #640 the metrics after this pr 7adc4fcd-8c1c-421a-b461-60866449cfec

bufferflies commented 11 months ago

It's better not to directly introduce Prometheus. There are two ways to do it:

  1. Use the monitoring infrastructure that comes with grpc (C++ counter/histogram), like this PR Support collecting gRPC core metrics #625.
  2. Add a feature to make Prometheus an optional dependency.

good idea, I had add new feature("promethes ") to check the dependency.

bufferflies commented 11 months ago

/ping @overvenus

glorv commented 6 months ago

@overvenus PTAL