From 2fe742086a8aa7b871b1bd414e1704c96f415679 Mon Sep 17 00:00:00 2001 From: Benjamin Curtis Date: Wed, 28 Aug 2024 13:26:24 -0700 Subject: [PATCH 1/2] Add Honeybadger and Honeybadger Insights to Appenders doc. --- docs/appenders.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/appenders.md b/docs/appenders.md index 361a6c6c..e723f57b 100644 --- a/docs/appenders.md +++ b/docs/appenders.md @@ -29,6 +29,8 @@ Log messages can be written to one or more of the following destinations at the * MongoDB * Rollbar * Sentry +* Honeybadger +* Honeybadger Insights * Logger, log4r, etc. To ensure no log messages are lost it is recommend to use TCP over UDP for logging purposes. @@ -739,6 +741,22 @@ SemanticLogger.tagged(transaction_name: "foo", user_id: 42, baz: "quz") do end ~~~ +### Honeybadger and Honeybadger Insights + +Forward errors to Honeybadger. + +~~~ruby +SemanticLogger.add_appender(appender: :honeybadger) +~~~ + +Forward all log messages to Honeybadger Insights as events. + +~~~ruby +SemanticLogger.add_appender(appender: :honeybadger_insights) +~~~ + +Both appenders use the Honeybadger [gem configuration](https://docs.honeybadger.io/lib/ruby/gem-reference/configuration/). + ### Logger, log4r, etc. Semantic Logger can log to other logging libraries: From 4979271b7e2141efba4710320d7bfa7266d6ec08 Mon Sep 17 00:00:00 2001 From: Benjamin Curtis Date: Wed, 28 Aug 2024 13:27:33 -0700 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ff009ae..03244865 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [unreleased] +- Add Honeybadger and Honeybadger Insights to Appenders doc. + ## [4.16.0] - Add appender for Honeybadger Insights using the events API