airbrake / pybrake

Python exception notifier for Airbrake
https://airbrake.io
Other
37 stars 17 forks source link

How to notify from behind a proxy #260

Open nic-lan opened 1 year ago

nic-lan commented 1 year ago

Hi,

I write because I am struggling in finding documentation and/or the code about how to configure the Notifier for when the code needs to send from behind a proxy.

For example I know in ruby I could do that as described at https://github.com/airbrake/airbrake-ruby#proxy

Airbrake.configure do |c|
  c.proxy = {
    host: 'proxy.example.com',
    port: 4038,
    user: 'john-doe',
    password: 'p4ssw0rd'
  }
end

But how can I achieve the same with pybrake ? Can anybody provide some help ?