abrandoned / protobuf-nats

MIT License
8 stars 4 forks source link

Add client and server instrumentation #30

Closed film42 closed 7 years ago

film42 commented 7 years ago

Server metrics:

  1. Message received.
  2. Message dropped.
  3. Thread pool execution delay.
  4. Request duration.

Client metrics:

  1. Request duration.
  2. A nack.
  3. An ack timeout.

Let me know if you have ideas for better names or how to make some of these tests look nicer.

Next is to add a tiny companion gem to wire these up to harness.

cc @abrandoned @mmmries

abrandoned commented 7 years ago

:shipit:

film42 commented 7 years ago

Woot! Created https://github.com/mxenabled/harness-protobuf-nats to auto send these metrics to statsd via harness.