This repository was archived by the owner on Mar 18, 2025. It is now read-only.
This repository was archived by the owner on Mar 18, 2025. It is now read-only.
How to stream data through an HTTP Proxy? #78
Open
Description
Hi! I want to send requests through an HTTP proxy. This behavior is available in the ruby module (https://github.com/signalfx/signalfx-ruby) by setting the http_proxy
environment variables, but I tested it for this module, and it doesn't seem to work. I want to guess it is because the internal library used to send requests is urllib3, which doesn't support proxying, but I am hoping I am wrong? Is there a way to send requests through an HTTP proxy?
For context, I am using SignalFlow. The code I am running is below:
import signalfx
with signalfx.SignalFx().signalflow(ACCESS_TOKEN) as flow:
computation = flow.execute(program, start=start, stop=stop, resolution=resolution)
Thank you for the help!