{"action":"opened","issue":{"url":"https://api.github.com/repos/Mashape/kong/issues/1845","repository_url":"https://api.github.com/repos/Mashape/kong","labels_url":"https://api.github.com/repos/Mashape/kong/issues/1845/labels{/name}","comments_url":"https://api.github.com/repos/Mashape/kong/issues/1845/comments","events_url":"https://api.github.com/repos/Mashape/kong/issues/1845/events","html_url":"https://github.com/Mashape/kong/issues/1845","id":191634270,"number":1845,"title":"Statsd plugin uses gauge instead of timer for latencey metrics","user":{"login":"endeepak","id":310608,"avatar_url":"https://avatars.githubusercontent.com/u/310608?v=3","gravatar_id":"","url":"https://api.github.com/users/endeepak","html_url":"https://github.com/endeepak","followers_url":"https://api.github.com/users/endeepak/followers","following_url":"https://api.github.com/users/endeepak/following{/other_user}","gists_url":"https://api.github.com/users/endeepak/gists{/gist_id}","starred_url":"https://api.github.com/users/endeepak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endeepak/subscriptions","organizations_url":"https://api.github.com/users/endeepak/orgs","repos_url":"https://api.github.com/users/endeepak/repos","events_url":"https://api.github.com/users/endeepak/events{/privacy}","received_events_url":"https://api.github.com/users/endeepak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-25T06:37:41Z","updated_at":"2016-11-25T06:37:41Z","closed_at":null,"body":"### Summary\r\n\r\nStatsd plugin uses gauge instead of timer for for lateney and upstream_latency\r\n\r\n### Steps To Reproduce\r\n\r\n1. Add an API called 'testApi'\r\n2. Enable statsd plugin for the API\r\n3. Access the API via kong proxy\r\n4. Capture the metric posted via statsd plugin\r\n\r\n### Actual output\r\n\r\n```\r\nkong.testAPi.latency:23|g\r\nkong.testAPi.upstream_latency:19|g\r\n```\r\n\r\n### Expected output\r\n\r\n```\r\nkong.testAPi.latency:23|ms\r\nkong.testAPi.upstream_latency:19|ms\r\n```\r\n### Additional Details & Logs\r\n\r\n- Kong version (`$ kong version`) : 0.9\r\n- Operating System : ubuntu\r\n"}}
{"actor":{"display_login":"endeepak"}}