summaryrefslogtreecommitdiffstats
path: root/src/plugins/influxdb-reader.c
AgeCommit message (Collapse)AuthorFilesLines
2018-07-10Convert the binding to use the controllerRomain Forlot1-29/+38
Ease Time series DB abstraction layer by using Dyn API that implemente the API defined by the JSON schema. Change-Id: I67de4fbca10048201fdd2da683732a5f4f5b5368 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Fix memory leak and avoid compile warningRomain Forlot1-3/+2
Change-Id: Ib0bcba9daad456f63c0ea704e1fa87f44b6acc98 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Handle query result and prepare to forward by APIRomain Forlot1-30/+82
First draft to be able to read at regular interval the TSDB InfluxDB. This prepare a JSON object formated to be handled as an input argument from a regular call to the API verb 'write' Then it is only needed to call the remote verb to forward all the results Change-Id: I80076dd9cf00ba43075d37dd4d15180e63e37289 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Improve writer/reader processingRomain Forlot1-39/+105
- Handle indefinite number and kind of tags and fields for a metric - Include only once header files - Cleaning and ordering code Change-Id: I14a4f0e6e1626971bff73ce7d9ac067bda69cfc4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Splitting code source, cleaning.Romain Forlot1-0/+125
Change-Id: I97c2a409d05ceb9babb23c23fbf818316d01419b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>