{"action":"created","issue":{"url":"https://api.github.com/repos/graphite-project/carbon/issues/437","labels_url":"https://api.github.com/repos/graphite-project/carbon/issues/437/labels{/name}","comments_url":"https://api.github.com/repos/graphite-project/carbon/issues/437/comments","events_url":"https://api.github.com/repos/graphite-project/carbon/issues/437/events","html_url":"https://github.com/graphite-project/carbon/pull/437","id":106133634,"number":437,"title":"Add support for minimum datapoints per update","user":{"login":"obfuscurity","id":494338,"avatar_url":"https://avatars.githubusercontent.com/u/494338?v=3","gravatar_id":"","url":"https://api.github.com/users/obfuscurity","html_url":"https://github.com/obfuscurity","followers_url":"https://api.github.com/users/obfuscurity/followers","following_url":"https://api.github.com/users/obfuscurity/following{/other_user}","gists_url":"https://api.github.com/users/obfuscurity/gists{/gist_id}","starred_url":"https://api.github.com/users/obfuscurity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obfuscurity/subscriptions","organizations_url":"https://api.github.com/users/obfuscurity/orgs","repos_url":"https://api.github.com/users/obfuscurity/repos","events_url":"https://api.github.com/users/obfuscurity/events{/privacy}","received_events_url":"https://api.github.com/users/obfuscurity/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-12T05:42:02Z","updated_at":"2015-09-27T06:54:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/graphite-project/carbon/pulls/437","html_url":"https://github.com/graphite-project/carbon/pull/437","diff_url":"https://github.com/graphite-project/carbon/pull/437.diff","patch_url":"https://github.com/graphite-project/carbon/pull/437.patch"},"body":"Introduced by @pratX in #231. I love the feature, but it needs some more eyes on it. My primary concern is the possible confusion between `LOW_CACHE_SIZE` and `CACHE_SIZE_LOW_WATERMARK`."},"comment":{"url":"https://api.github.com/repos/graphite-project/carbon/issues/comments/143525284","html_url":"https://github.com/graphite-project/carbon/pull/437#issuecomment-143525284","issue_url":"https://api.github.com/repos/graphite-project/carbon/issues/437","id":143525284,"user":{"login":"pratX","id":4785802,"avatar_url":"https://avatars.githubusercontent.com/u/4785802?v=3","gravatar_id":"","url":"https://api.github.com/users/pratX","html_url":"https://github.com/pratX","followers_url":"https://api.github.com/users/pratX/followers","following_url":"https://api.github.com/users/pratX/following{/other_user}","gists_url":"https://api.github.com/users/pratX/gists{/gist_id}","starred_url":"https://api.github.com/users/pratX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pratX/subscriptions","organizations_url":"https://api.github.com/users/pratX/orgs","repos_url":"https://api.github.com/users/pratX/repos","events_url":"https://api.github.com/users/pratX/events{/privacy}","received_events_url":"https://api.github.com/users/pratX/received_events","type":"User","site_admin":false},"created_at":"2015-09-27T06:54:25Z","updated_at":"2015-09-27T06:54:25Z","body":"At Media.Net we have many per day metrics, and we plot their aggregate. When I set MIN_DATAPOINTS_PER_UPDATE to 10, the new metrics took 10 days to reflect in the graphs. So, I added the logic to waive min_number_of_datapoints constraint for new metrics. But as @obfuscurity  has mentioned, a better way to do this is to make graphite-web look for a metric in carbon-cache even if there is no whisper file for it. So, I'll be removing the logic for special handling of new metrics from DrainStrategy. "}}