https://github.com/o/riemann-curl
Utility for submitting informational curl metrics to Riemann
https://github.com/o/riemann-curl
Last synced: 8 months ago
JSON representation
Utility for submitting informational curl metrics to Riemann
- Host: GitHub
- URL: https://github.com/o/riemann-curl
- Owner: o
- License: mit
- Created: 2014-11-25T15:01:46.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-25T15:02:16.000Z (over 11 years ago)
- Last Synced: 2025-10-08T04:41:38.740Z (8 months ago)
- Language: Ruby
- Homepage:
- Size: 109 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Riemann::Curl
riemann-curl submits informational curl metrics to Riemann after a successful transfer.
## Prerequisities
* Ruby 1.8+
* libcurl
* build-essential (gcc, make..)
## Installation
riemann-curl uses [curb](https://github.com/taf2/curb) -Ruby bindings for curl- for sending requests, and it requires libraries related to `curl`.
On Ubuntu, the dependencies can be satisfied by installing the following packages:
$ sudo apt-get install libcurl3 libcurl3-gnutls libcurl4-openssl-dev
$ gem install riemann-curl
## Usage
$ riemann-curl --uri http://api.foobar.com/test
Transfer and connection timeout parameters can be overridden with `max-time` and `connect-timeout` flags.
$ riemann-curl --uri http://www.foobar.com --max-time 10