-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
## 0.0.1 | ||
- Basic flow for usage. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# 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 | ||
|
||
```ruby | ||
gem "rabbit_messaging" | ||
... | ||
gem "yabeda" | ||
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/table_sync. | ||
|
||
## 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> |