Closed Aubermean closed 11 months ago
Hi @Aubermean ,
good call, I don't think this is properly documented in the wiki.
FWIW you have to set:
config.breadcrumbs_logger = [:http_logger]
config.enabled_patches << :httpx
in your sentry initialization code, after requiring the adapter. Loading the plugin is not necessary (it already is by default).
Hi, thank you for the sentry integration.
To enable it, is it only required to add
require 'httpx/adapters/sentry'
to the top ofconfig/initializers/sentry.rb
? Or is settingconfig.breadcrumbs_logger = :httpx
or usingHTTPX.plugin(HTTPX::Plugins::Sentry)
also necessary? Despite attempting different ways I have not managed to get the httpx breadcrumbs to show.