{"action":"created","issue":{"url":"https://api.github.com/repos/twitter/twitter-server/issues/33","repository_url":"https://api.github.com/repos/twitter/twitter-server","labels_url":"https://api.github.com/repos/twitter/twitter-server/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/twitter/twitter-server/issues/33/comments","events_url":"https://api.github.com/repos/twitter/twitter-server/issues/33/events","html_url":"https://github.com/twitter/twitter-server/issues/33","id":130636997,"number":33,"title":"Time based metrics disappearing on second visit on metrics page","user":{"login":"wojniemiec","id":1919072,"avatar_url":"https://avatars.githubusercontent.com/u/1919072?v=3","gravatar_id":"","url":"https://api.github.com/users/wojniemiec","html_url":"https://github.com/wojniemiec","followers_url":"https://api.github.com/users/wojniemiec/followers","following_url":"https://api.github.com/users/wojniemiec/following{/other_user}","gists_url":"https://api.github.com/users/wojniemiec/gists{/gist_id}","starred_url":"https://api.github.com/users/wojniemiec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojniemiec/subscriptions","organizations_url":"https://api.github.com/users/wojniemiec/orgs","repos_url":"https://api.github.com/users/wojniemiec/repos","events_url":"https://api.github.com/users/wojniemiec/events{/privacy}","received_events_url":"https://api.github.com/users/wojniemiec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-02-02T10:14:08Z","updated_at":"2016-03-14T23:33:04Z","closed_at":null,"body":"Hello, I didn't know where should I ask this question, I hope it's ok to put it here. I use Finatra Framework, we want to gather some metrics using built in admin server. I saw some documentation about metrics on Twitter Server github pages (http://twitter.github.io/twitter-server/Features.html#metrics).\r\nThis is the endpoint I use: http://localhost:9990/admin/metrics.json?pretty=true\r\n\r\nLet's say we have created some endpoints in our app, when I visit those, I see that number of requests displayed on metrics admin page increases (route/endpoint/GET/requests: 2), also I see some nice numbers for time based metrics, for example route/endpoint/GET/time.avg. The problem is that after I refresh metrics page, time based metrics are cleared. Number of requests remain the same, but metrics like time.avg, time.count, time.max, response_size.avg have value of 0. It looks like admin page counts only those requests that were not measured after last /metrics page visit. How can I get metrics for last 5 or 10 minutes? "},"comment":{"url":"https://api.github.com/repos/twitter/twitter-server/issues/comments/196568628","html_url":"https://github.com/twitter/twitter-server/issues/33#issuecomment-196568628","issue_url":"https://api.github.com/repos/twitter/twitter-server/issues/33","id":196568628,"user":{"login":"mosesn","id":156562,"avatar_url":"https://avatars.githubusercontent.com/u/156562?v=3","gravatar_id":"","url":"https://api.github.com/users/mosesn","html_url":"https://github.com/mosesn","followers_url":"https://api.github.com/users/mosesn/followers","following_url":"https://api.github.com/users/mosesn/following{/other_user}","gists_url":"https://api.github.com/users/mosesn/gists{/gist_id}","starred_url":"https://api.github.com/users/mosesn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mosesn/subscriptions","organizations_url":"https://api.github.com/users/mosesn/orgs","repos_url":"https://api.github.com/users/mosesn/repos","events_url":"https://api.github.com/users/mosesn/events{/privacy}","received_events_url":"https://api.github.com/users/mosesn/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T23:33:04Z","updated_at":"2016-03-14T23:33:04Z","body":"@wojniemiec let us know if you need any help with this feature!"}}