{"action":"closed","issue":{"url":"https://api.github.com/repos/etsy/statsd/issues/464","labels_url":"https://api.github.com/repos/etsy/statsd/issues/464/labels{/name}","comments_url":"https://api.github.com/repos/etsy/statsd/issues/464/comments","events_url":"https://api.github.com/repos/etsy/statsd/issues/464/events","html_url":"https://github.com/etsy/statsd/issues/464","id":46454069,"number":464,"title":"What is best way to deal with Late Arrival Events ?","user":{"login":"bmistry13","id":9261969,"avatar_url":"https://avatars.githubusercontent.com/u/9261969?v=3","gravatar_id":"","url":"https://api.github.com/users/bmistry13","html_url":"https://github.com/bmistry13","followers_url":"https://api.github.com/users/bmistry13/followers","following_url":"https://api.github.com/users/bmistry13/following{/other_user}","gists_url":"https://api.github.com/users/bmistry13/gists{/gist_id}","starred_url":"https://api.github.com/users/bmistry13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmistry13/subscriptions","organizations_url":"https://api.github.com/users/bmistry13/orgs","repos_url":"https://api.github.com/users/bmistry13/repos","events_url":"https://api.github.com/users/bmistry13/events{/privacy}","received_events_url":"https://api.github.com/users/bmistry13/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-10-21T22:45:25Z","updated_at":"2015-02-02T16:43:05Z","closed_at":"2015-02-02T16:43:05Z","body":"Hi Dev Team,\r\n\r\nCan you please give suggestion how we can deal or suggestion how we can modify statsd code to handle following issues ?\r\n\r\n1)\tHow do flush every minute at minute level 0,1,2,3,4,5…..59 like crown to get more accurate accounting from our application because every minute we flush metric to Graphite so we need to have flush every minute at 0,1,2….59 for accuracy for that minute.\r\n\r\n2)\tData Arriving at late or aggregating at Time Stamp Level rather than current minute bucket ?  We have data pipe-line and event can get delayed upto 5 minutes so we discarded and counted for current minute so is there any way to aggregate at time stamp level and metric name.\r\n\r\n3)\tAlso, when StatsD starts/restart then is it possible to pull last X minute buckets data from Graphite for accurate counting when StatsD is redeployed or started.\r\n\r\nI know the intend of StatsD is to aggregate on current minute (real time event), but what it will take to achieve aggregation of past buckets ?\r\n\r\nThanks,\r\n\r\nBhavesh \r\n"}}