{"action":"created","issue":{"url":"https://api.github.com/repos/firehol/netdata/issues/2600","repository_url":"https://api.github.com/repos/firehol/netdata","labels_url":"https://api.github.com/repos/firehol/netdata/issues/2600/labels{/name}","comments_url":"https://api.github.com/repos/firehol/netdata/issues/2600/comments","events_url":"https://api.github.com/repos/firehol/netdata/issues/2600/events","html_url":"https://github.com/firehol/netdata/issues/2600","id":250158561,"number":2600,"title":"netdata with graphite: no data for every last 2 minutes","user":{"login":"harutyundermenjyan","id":16855630,"avatar_url":"https://avatars3.githubusercontent.com/u/16855630?v=4","gravatar_id":"","url":"https://api.github.com/users/harutyundermenjyan","html_url":"https://github.com/harutyundermenjyan","followers_url":"https://api.github.com/users/harutyundermenjyan/followers","following_url":"https://api.github.com/users/harutyundermenjyan/following{/other_user}","gists_url":"https://api.github.com/users/harutyundermenjyan/gists{/gist_id}","starred_url":"https://api.github.com/users/harutyundermenjyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harutyundermenjyan/subscriptions","organizations_url":"https://api.github.com/users/harutyundermenjyan/orgs","repos_url":"https://api.github.com/users/harutyundermenjyan/repos","events_url":"https://api.github.com/users/harutyundermenjyan/events{/privacy}","received_events_url":"https://api.github.com/users/harutyundermenjyan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-14T21:23:43Z","updated_at":"2017-08-15T17:57:53Z","closed_at":null,"body":"Hello,\r\nI have setup netdata with the graphite backend  and noticed that the all data sent by netdata to graphite appears with 2 minutes delay in grafana dashboard. That is if I set the interval for last 2 minutes on the grafana dashboard no data is showing or in case of 15 minute it shows graph for 13min. \r\nHow to solve the issue?"},"comment":{"url":"https://api.github.com/repos/firehol/netdata/issues/comments/322540938","html_url":"https://github.com/firehol/netdata/issues/2600#issuecomment-322540938","issue_url":"https://api.github.com/repos/firehol/netdata/issues/2600","id":322540938,"user":{"login":"ktsaou","id":2662304,"avatar_url":"https://avatars3.githubusercontent.com/u/2662304?v=4","gravatar_id":"","url":"https://api.github.com/users/ktsaou","html_url":"https://github.com/ktsaou","followers_url":"https://api.github.com/users/ktsaou/followers","following_url":"https://api.github.com/users/ktsaou/following{/other_user}","gists_url":"https://api.github.com/users/ktsaou/gists{/gist_id}","starred_url":"https://api.github.com/users/ktsaou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktsaou/subscriptions","organizations_url":"https://api.github.com/users/ktsaou/orgs","repos_url":"https://api.github.com/users/ktsaou/repos","events_url":"https://api.github.com/users/ktsaou/events{/privacy}","received_events_url":"https://api.github.com/users/ktsaou/received_events","type":"User","site_admin":false},"created_at":"2017-08-15T17:57:53Z","updated_at":"2017-08-15T17:57:53Z","body":"Hi,\r\n\r\nCould you please post your `[backend]` section of your `netdata.conf`? I need it to reproduce this.\r\n\r\nI guess you are sending with `data source = average`. In this mode, netdata aligns the time, so that if you have `[backends].update every = 120` (2 minutes), it send metrics at 00:00:00, 00:02:00, 00:04:00, etc. but it always sends one iteration back. So, at 00:04:00 it will send metrics for 00:00:00 to 00:02:00. This is by design, because if at 00:04:00 we attempt to send 00:02:00 to 00:04:00, we will end up sending 00:02:00 to 00:03:59 (the last iteration most probably will not be complete).\r\n\r\nNow that I think of it, netdata could add some delay sending metrics, so instead of sending one iteration back, it could send the current iteration with a delay of a few seconds.\r\n\r\nPost your exact settings and I'll try to find a solution.\r\n"}}
{"actor":{"display_login":"ktsaou"}}