librato / librato-metrics

Ruby wrapper to make it easy to interact with Librato's API.
https://librato.com
Other
108 stars 51 forks source link

Support proxy #112

Closed winebarrel closed 8 years ago

winebarrel commented 9 years ago

I added support for the http proxy.

Librato::Metrics.authenticate '...', '...'
Librato::Metrics.proxy 'http://proxy.example.com:8080'
Librato::Metrics.submit :my_metric => 42, :my_other_metric => 1002

Please merge If there is no problem.

nextmat commented 9 years ago

Thanks for the PR, will get this reviewed shortly!

nextmat commented 8 years ago

Apologies for the delays on this, released in v1.6.0

winebarrel commented 8 years ago

Thank you! :smiley:

nextmat commented 8 years ago

Thank you!

My pleasure, sorry it took so long.

If it is of interest, I'm planning to percolate proxy support up into librato-rack and librato-rails. You may want to watch https://github.com/librato/librato-rack/issues/45 if that matters to you.