Collect statistics from a HTTP or HTTPS connexion


  • urllib2


Add the collector config as :

enabled = True ttl_multiplier = 2 path_suffix = "" measure_collector_time = False byte_unit = byte, req_vhost = req_url =,

Metrics are collected as : - servers..http..size (size of the page received in bytes) - servers..http..time (time to download the page in microsec)

'.' and '/' chars are replaced by __, url looking like are replaced by


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
metrics_blacklist None Regex to match metrics to block. Mutually exclusive with metrics_whitelist NoneType
metrics_whitelist None Regex to match metrics to transmit. Mutually exclusive with metrics_blacklist NoneType
req_port Port
req_url http://localhost/, array of full URL to get (ex : list
req_vhost Host header variable if needed. Will be added to every request str

Example Output

servers.hostname.http.http__www_my_server_com_.size 150