rsocket / rsocket-java

Java implementation of RSocket
http://rsocket.io
Apache License 2.0
2.36k stars 354 forks source link

Collection Micrometer rate metrics at the `RSocket` stream layer #487

Open nebhale opened 6 years ago

nebhale commented 6 years ago

Currently it's hard to tell how quickly or slowly a given stream is emitting data. Timing between start and a terminal signal doesn't tell that (which is why we don't time stream-based responses). We should collect Micrometer metrics for rate at which stream-based responses are emitting data. (see comment in #486.)

nebhale commented 6 years ago

Note that this is a candidate for a Micrometer 1.1 IntervalTimer.