{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/haproxy_exporter/issues/37","labels_url":"https://api.github.com/repos/prometheus/haproxy_exporter/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/haproxy_exporter/issues/37/comments","events_url":"https://api.github.com/repos/prometheus/haproxy_exporter/issues/37/events","html_url":"https://github.com/prometheus/haproxy_exporter/issues/37","id":111994103,"number":37,"title":"Response time from HAproxy stats","user":{"login":"vitorarins","id":1065028,"avatar_url":"https://avatars.githubusercontent.com/u/1065028?v=3","gravatar_id":"","url":"https://api.github.com/users/vitorarins","html_url":"https://github.com/vitorarins","followers_url":"https://api.github.com/users/vitorarins/followers","following_url":"https://api.github.com/users/vitorarins/following{/other_user}","gists_url":"https://api.github.com/users/vitorarins/gists{/gist_id}","starred_url":"https://api.github.com/users/vitorarins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitorarins/subscriptions","organizations_url":"https://api.github.com/users/vitorarins/orgs","repos_url":"https://api.github.com/users/vitorarins/repos","events_url":"https://api.github.com/users/vitorarins/events{/privacy}","received_events_url":"https://api.github.com/users/vitorarins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-18T01:24:57Z","updated_at":"2015-10-18T07:38:25Z","closed_at":null,"body":"Is there a way to get the response time from HAProxy exporter? The HAProxy stats shows the average response time for the last 1024 successful connections."},"comment":{"url":"https://api.github.com/repos/prometheus/haproxy_exporter/issues/comments/148987118","html_url":"https://github.com/prometheus/haproxy_exporter/issues/37#issuecomment-148987118","issue_url":"https://api.github.com/repos/prometheus/haproxy_exporter/issues/37","id":148987118,"user":{"login":"brian-brazil","id":7115638,"avatar_url":"https://avatars.githubusercontent.com/u/7115638?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-brazil","html_url":"https://github.com/brian-brazil","followers_url":"https://api.github.com/users/brian-brazil/followers","following_url":"https://api.github.com/users/brian-brazil/following{/other_user}","gists_url":"https://api.github.com/users/brian-brazil/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-brazil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-brazil/subscriptions","organizations_url":"https://api.github.com/users/brian-brazil/orgs","repos_url":"https://api.github.com/users/brian-brazil/repos","events_url":"https://api.github.com/users/brian-brazil/events{/privacy}","received_events_url":"https://api.github.com/users/brian-brazil/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T07:38:25Z","updated_at":"2015-10-18T07:38:25Z","body":"The problem is that we need a counter to do it properly, and that's not a counter. From when I looked into this about a year ago it's an exponentially decaying average, and depending on your request rate may be quite off the true value. What we really need to do is add counters for latency to haproxy."}}