-
-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add examples of alternative HTTP clients in the documentation #539
Comments
For anyone else who is new to Sentry, you can configure Sentry to use this client by adding the following to your config :sentry,
client: Sentry.FinchClient Thanks @ream88! EDIT: I'm still pretty new to Elixir/Phoenix, so I'm not sure if adding it to the |
@ream88 Everything seems to working fine, but I'm getting a Dialyzer error in the
I am about to go on a deep dive of some interesting Elixir features, but right now I'm not familiar with supervisors, implementing behaviors, Thanks |
Does this fix the problem? def child_spec() do
Supervisor.child_spec({Finch, name: __MODULE__}, id: __MODULE__)
end |
Well, it made the Dialyzer error go away, and I hope that prevents any issues that could arise (I'm still learning). Thanks a lot! |
Note that there are some issues with that kind of Finch client implementations right now: #514 |
Not sure if we should add it directly to the code base, maybe mentioning in the README.md is enough. 😊
This is an alternative implementation of
Sentry.HTTPClient
based onfinch
, instead ofhackney
.req
,finch
andmint
are kinda the new kids on the block, and I tend to use them more often nowadays and having multiple HTTP libraries in one code base is somewhat a code smell imo:EDIT: Updated the example, thx for the help @arcanemachine!
The text was updated successfully, but these errors were encountered: