Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add datapoints info

  • Loading branch information...
commit e574450d47831f6c6f3f9c1eb2ac25a6d1ffbd5c 1 parent e9490f5
Jason Harvey authored
8 ZenPacks/community/HAProxy/datasources/HAProxyDataSource.py
@@ -27,6 +27,14 @@ class HAProxyDataSource(ZenPackPersistence,
27 27
28 28 ZENPACKID = 'ZenPacks.community.HAProxy'
29 29
  30 + # Mostly for my info; can probably be removed
  31 + DATAPOINTS = ('pxname', 'svname', 'qcur', 'qmax', 'scur', 'smax', 'slim', 'stot', 'bin', 'bout',
  32 + 'dreq', 'dresp', 'ereq', 'econ', 'eresp', 'wretr', 'wredis', 'status', 'weight', 'act',
  33 + 'bck', 'chkfail', 'chkdown', 'lastchg', 'downtime', 'qlimit', 'pid', 'iid', 'sid',
  34 + 'throttle', 'lbtot', 'tracked', 'type', 'rate', 'rate_lim', 'rate_max', 'check_status',
  35 + 'check_code', 'check_duration', 'hrsp_1xx', 'hrsp_2xx', 'hrsp_3xx', 'hrsp_4xx', 'hrsp_5xx',
  36 + 'hrsp_other', 'hanafail', 'req_rate', 'req_rate_max', 'req_tot', 'cli_abrt', 'srv_abrt')
  37 +
30 38 sourcetypes = (SOURCETYPE,)
31 39 sourcetype = SOURCETYPE
32 40

0 comments on commit e574450

Please sign in to comment.
Something went wrong with that request. Please try again.