Built-in metrics for TableSync out of the box! Patch rabbit_messaging gem. Works through Yabeda Framework.
Put gem in your Gemfile after rabbit_messaging
gem.
gem "rabbit_messaging"
gem "table_sync"
...
gem "yabeda-rabbit_messaging"
And then execute:
$ bundle
After application launch gem patch Rabbit::Receiving::Job
class to collect the metrics.
Metrics representing state of TableSync receiving jobs processing:
- Total number of executed jobs:
rabbit_messages_total
(segmented byexchange
,routing_key
andsuccess
status) - Duration of executed jobs:
rabbit_messages_duration
(segmented byexchange
,routing_key
andsuccess
status)
Bug reports and pull requests are welcome on GitHub at https://github.com/umbrellio/yabeda-rabbit_messaging.
Released under MIT License.
Team Umbrellio