{"action":"created","issue":{"url":"https://api.github.com/repos/grobian/carbon-c-relay/issues/211","repository_url":"https://api.github.com/repos/grobian/carbon-c-relay","labels_url":"https://api.github.com/repos/grobian/carbon-c-relay/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/grobian/carbon-c-relay/issues/211/comments","events_url":"https://api.github.com/repos/grobian/carbon-c-relay/issues/211/events","html_url":"https://github.com/grobian/carbon-c-relay/issues/211","id":173174472,"number":211,"title":"Aggregator sends nan to carbon-cache","user":{"login":"kshcherban","id":2072958,"avatar_url":"https://avatars.githubusercontent.com/u/2072958?v=3","gravatar_id":"","url":"https://api.github.com/users/kshcherban","html_url":"https://github.com/kshcherban","followers_url":"https://api.github.com/users/kshcherban/followers","following_url":"https://api.github.com/users/kshcherban/following{/other_user}","gists_url":"https://api.github.com/users/kshcherban/gists{/gist_id}","starred_url":"https://api.github.com/users/kshcherban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshcherban/subscriptions","organizations_url":"https://api.github.com/users/kshcherban/orgs","repos_url":"https://api.github.com/users/kshcherban/repos","events_url":"https://api.github.com/users/kshcherban/events{/privacy}","received_events_url":"https://api.github.com/users/kshcherban/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-25T11:04:04Z","updated_at":"2016-08-25T12:17:56Z","closed_at":null,"body":"Hello,\r\n\r\nI'm using 2.1 version of c-relay and have set the following aggregation rule. Collectd sends metrics every minute.\r\n```\r\naggregate\r\n  ^collectd\\.servers\\.[^.]+\\.[^.]+\\.[^.]+\\.[^.]+\\.interface-.+\\.if_octets\\.[^.]+\r\n  every 60 seconds\r\n  expire after 70 seconds\r\n  compute sum write to\r\n    collectd.sum.if_octets.total\r\n  ;\r\n```\r\n\r\nAnd seeing some strange null points every several minutes\r\n```\r\ntcpdump -A -i lo port 2003 | grep collectd.sum.if_octets.total\r\ntcpdump: verbose output suppressed, use -v or -vv for full protocol decode\r\nlistening on lo, link-type EN10MB (Ethernet), capture size 65535 bytes\r\n\"...\"..Scollectd.sum.if_octets.total 8493552654.250317 1472122500\r\n\"..-\"...collectd.sum.if_octets.total 8321547501.755362 1472122560\r\n\".\".\".\".collectd.sum.if_octets.total nan 1472122620\r\n\".].\".]Ecollectd.sum.if_octets.total 8391914814.025881 1472122680\r\ncollectd.sum.if_octets.total 8408852262.608275 1472122740\r\n``` \r\n\r\nCan you shed some light why aggregator sends NaN values?"},"comment":{"url":"https://api.github.com/repos/grobian/carbon-c-relay/issues/comments/242365560","html_url":"https://github.com/grobian/carbon-c-relay/issues/211#issuecomment-242365560","issue_url":"https://api.github.com/repos/grobian/carbon-c-relay/issues/211","id":242365560,"user":{"login":"grobian","id":667105,"avatar_url":"https://avatars.githubusercontent.com/u/667105?v=3","gravatar_id":"","url":"https://api.github.com/users/grobian","html_url":"https://github.com/grobian","followers_url":"https://api.github.com/users/grobian/followers","following_url":"https://api.github.com/users/grobian/following{/other_user}","gists_url":"https://api.github.com/users/grobian/gists{/gist_id}","starred_url":"https://api.github.com/users/grobian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grobian/subscriptions","organizations_url":"https://api.github.com/users/grobian/orgs","repos_url":"https://api.github.com/users/grobian/repos","events_url":"https://api.github.com/users/grobian/events{/privacy}","received_events_url":"https://api.github.com/users/grobian/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T12:17:56Z","updated_at":"2016-08-25T12:17:56Z","body":"Right, it looks like there's a \"garbage value\" which ends up being NaN, and math on NaNs end up being NaN.\r\n\r\nQuestion right now is (given we can't fix why incomplete data is being received/sent) if the relay should ignore NaNs in the aggregator or not."}}
{"actor":{"display_login":"grobian"}}