Skip to content

collectors HTTPJSONCollector

Rob Smith edited this page Apr 30, 2014 · 2 revisions

HTTPJSONCollector

Simple collector which get JSON and parse it into flat metrics

Dependencies

  • urllib2

Options - Generic Options

Setting Default Description Type
byte_unit byte Default numeric output(s) str
enabled False Enable collecting these metrics bool
measure_collector_time False Collect the collector run time in ms bool
url http://localhost/stat Full URL str

Example Output

__EXAMPLESHERE__

This file was generated from the python source

Please edit the source to make changes

Clone this wiki locally