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