Sha256: 6a818db83da9155de4f9e7361c8a8ef2bd95090003591242cd2c9d79b9aac8ec

Contents?: true

Size: 1.24 KB

Versions: 2

Compression:

Stored size: 1.24 KB

Contents

# 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

---

<a href="https://github.com/umbrellio/">
<img style="float: left;" src="https://umbrellio.github.io/Umbrellio/supported_by_umbrellio.svg" alt="Supported by Umbrellio" width="439" height="72">
</a>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yabeda-rabbit_messaging-0.0.3 README.md
yabeda-rabbit_messaging-0.0.2 README.md