This Yabeda adapter sends application metrics to Honeybadger Insights.
Add this line to your application's Gemfile:
gem 'yabeda-honeybadger_insights'
And then execute:
bundle
Register the adapter along with your other Yabeda initialization code (such as in config/initializers/yabeda.rb
).
Yabeda.configure do
register_adapter(:honeybadger_insights, Yabeda::HoneybadgerInsights::Adapter.new)
end
All metrics will be sent to Honeybadger Insights as events, so counters, gauges, and histograms are all treated the same way.
After checking out the repo, run bin/setup
to install dependencies. Then, run rake
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
Bug reports and pull requests are welcome on GitHub.
- Fork the repo.
- Create a topic branch
git checkout -b my_branch
. - Make your changes and add an entry to the CHANGELOG.
- Commit your changes
git commit -am "Boom"
- Push to your branch
git push origin my_branch
- Send a pull request
Releases are automated using GitHub Actions:
- When a PR is merged on main the test.yml workflow is executed to run the tests.
- If the tests pass, the release.yml workflow will be executed.
- Depending on the commit message, a release PR will be created with the suggested version bump and changelog.
Note: Not all commit messages trigger a new release. For example,
chore: ...
will not trigger a release. - If the release PR is merged, the release.yml workflow will be executed again, and this time it will create a GitHub release, bundle the gem, and push it to RubyGems.
The gem is available as open source under the terms of the MIT License.