Integrating TSDB support to LabPlot
Project abstract
Integrating TSDB support to LabPlot
I am planning to extend the database plotting support to include TSDB(Time Series DataBases). I would be starting with adding support for InfluxDB to start with. This will allow real time data to be plotted using labplot.
Proposal
Currently InfluxDB has specific client libraries written in C++ like this. Based on the requirement of the user, the libraries can be built later and integrated with the application. This can be used to set up a client that will query the data and send the datapackets. Our current target is to get static data from a TSDB similiar to other databases support. Then finally the fetched data is plotted using the existing mechanism for generating plots from SQL Database (QTSQL Plugin). I will be documenting my changes on gitbook or something similiar that could be later used for generating documentation. For testing I will be using my own system for now. I am using Dragonized KDE on Garuda Linux (An Arch Linux Distro). I've successfully compiled Labplot frrom scratch so I will be working and testing on that. Detailed Proposal
Timeline
Tentative Timeline | Planned Action |
---|---|
15th - 30st Jan | Understanding the codebase |
31st Jan - 10th Feb | Data Fetching continiously using InfluxDB Headers |
11th - 24th Feb | Data Visualization and Plotting |
24th Feb - 10th March | Addidng Event listeners to sync the latest change from the database and plot that |
10th - 30th March | Unit Testing and Solving Bugs. |
Foreseen challenges
I will be working out every problem on my own initially. If it persists, I would contact my mentor and the LabPlot team. The only problem I envision now is the extension of library being used to create InfluxDB Client. The actual code has been archived so I'll net to upgrade that myself and make it usable again. Again InfluxDB is an open source software so I'll be contacting them for anything related to client or libraries.
References / relevant background info
Contribution in Aptos Blockchain main Repository.here I have interned as an SWE intern and have practical experience of working on production grade application in C# in Microsoft. Then I’ve worked with Linux Foundation as a mentee in Hyperledger Collaborative Learning Program where I worked to create a token standard in HyperLedger Besu mimicing ERC standards on Ethereum Open Source (changes pending to be approved). I am sort of beginner in this Open Source Domain So I want to begin my journey with this program.
How to reach you
Matrix ID: @mahakaal17:matrix.org
Email : mihir.singh@iitg.ac.in , mihir39nr@gmail.com
Note: we don't need (yet) your personal address/phone, it will be necessary only if you succeed the SoK and wants to get goodies.