admin管理员组文章数量:1389757
I'm starting to work on a small space payload that generate two sets of histograms (basically a radio wave signal), one with 512 bins and another one with 4096 bins. My plan is to use Grafana for data visualization, which would work perfect for my other metrics like temperature, status switches, etc.
I am starting to learn how to store data in InfluxDB to then use Grafana for visualization. But I'm curious on how would it be the best way to store the histogram data into InfluxDB. Is this something recommended for InfluxDB or should I have a combination of InfluxDB (for all the time series data) and a relational database like PostgreSQL (for the histogram data). I guess I could store the 512/4096 data as a HEX string in InfluxDB, but then I would have to figure out a way to translate it to use it in Grafana.
Do I store all 4096 data as fields? or separately with a tag with the bin number and a simple field for the bin data.
time | tags | fields
time histogram_type bin1 bin2 bin3 .. bin4096
or
time | tags | fields
time histogram_type, bin_number bin
I also know that InfluxDB has a function for a cumulative histogram, not sure if that is what I'm looking for. I just need to store the data and show it in Grafana.
Thanks for any help.
本文标签: grafanaProper way to store histogram data in InfluxDBStack Overflow
版权声明:本文标题:grafana - Proper way to store histogram data in InfluxDB - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744647161a2617465.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论