{"action":"created","issue":{"url":"https://api.github.com/repos/firehol/netdata/issues/449","repository_url":"https://api.github.com/repos/firehol/netdata","labels_url":"https://api.github.com/repos/firehol/netdata/issues/449/labels{/name}","comments_url":"https://api.github.com/repos/firehol/netdata/issues/449/comments","events_url":"https://api.github.com/repos/firehol/netdata/issues/449/events","html_url":"https://github.com/firehol/netdata/issues/449","id":156405866,"number":449,"title":"Feature request: measuring data in the sub-second range","user":{"login":"koppi","id":9458631,"avatar_url":"https://avatars.githubusercontent.com/u/9458631?v=3","gravatar_id":"","url":"https://api.github.com/users/koppi","html_url":"https://github.com/koppi","followers_url":"https://api.github.com/users/koppi/followers","following_url":"https://api.github.com/users/koppi/following{/other_user}","gists_url":"https://api.github.com/users/koppi/gists{/gist_id}","starred_url":"https://api.github.com/users/koppi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koppi/subscriptions","organizations_url":"https://api.github.com/users/koppi/orgs","repos_url":"https://api.github.com/users/koppi/repos","events_url":"https://api.github.com/users/koppi/events{/privacy}","received_events_url":"https://api.github.com/users/koppi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/firehol/netdata/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-24T02:16:33Z","updated_at":"2016-05-24T10:20:23Z","closed_at":null,"body":"Hi @ktsaou, thank's for netdata.\r\n\r\nI have a CNC mill which is driven by [LinuxCNC](http://linuxcnc.org/) / [Machinekit](http://www.machinekit.io/). There are [about 50 real-time process values](https://github.com/koppi/mk/blob/master/Machinekit-Xenomai-Thinkpad-X200.md#hal-graph-visualisierung) I want to visualize. These process values get measured at a rate of about 1000 times per second – yes, that's correct, the measurement happens at a rate of 1kHz.\r\n\r\nI'm currently using Grafana:\r\n![Graphana on Machinekit](https://raw.githubusercontent.com/koppi/mk/master/pics/20150607-001.png)\r\nBut unfortunately Grafana does not (yet?) support sub-seconds measuring intervals, too.\r\n\r\nI'd like to record and stream those real-time measurement values via netdata and make some nice rrd graphs. – Is this possible with the current netdata release? – Or can you point me to the relevant source code locations to make this high measurement rate possible in the rrd and plugins codebase?"},"comment":{"url":"https://api.github.com/repos/firehol/netdata/issues/comments/221227309","html_url":"https://github.com/firehol/netdata/issues/449#issuecomment-221227309","issue_url":"https://api.github.com/repos/firehol/netdata/issues/449","id":221227309,"user":{"login":"koppi","id":9458631,"avatar_url":"https://avatars.githubusercontent.com/u/9458631?v=3","gravatar_id":"","url":"https://api.github.com/users/koppi","html_url":"https://github.com/koppi","followers_url":"https://api.github.com/users/koppi/followers","following_url":"https://api.github.com/users/koppi/following{/other_user}","gists_url":"https://api.github.com/users/koppi/gists{/gist_id}","starred_url":"https://api.github.com/users/koppi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koppi/subscriptions","organizations_url":"https://api.github.com/users/koppi/orgs","repos_url":"https://api.github.com/users/koppi/repos","events_url":"https://api.github.com/users/koppi/events{/privacy}","received_events_url":"https://api.github.com/users/koppi/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T10:20:23Z","updated_at":"2016-05-24T10:20:23Z","body":"I'm already doing a ```min```, ```max``` and ```avg``` calculation in a realtime kernel module (– this happens at a rate of 20kHz – so the 1kHz values are aleady interpolated), see: [[1](https://github.com/koppi/mk/blob/master/linuxcnc/configs/koppi-cnc/ownanalytics.icomp)], [[2](https://www.youtube.com/watch?v=NuxXcNMVCuM)] and [[3](https://www.youtube.com/watch?v=Aq9YJkyT15E)]. So right now in netdata the ```update_every``` variable is ```int``` and assumed to be ```seconds```.\r\n\r\nWhat do you think is simpler / cleaner?\r\n  * **1** – Turn ```update_every``` from ```int``` into ```double``` and allow fractions of a second (```0.1```, ```0.01```, etc.).\r\n  * **2** – Don't change the type of ```update_every``` but assume ```update_every``` not to be ```seconds``` but ```milliseconds``` and change all plugin code accordingly.\r\n\r\n**1** or **2** ?"}}
{"actor":{"display_login":"koppi"}}