summaryrefslogtreecommitdiffstats
path: root/src/plugins/influxdb.h
AgeCommit message (Collapse)AuthorFilesLines
2018-07-10Fix compilation error 'unitialized variable'Romain Forlot1-1/+1
Change-Id: I5add16da1851262268eca5f71ee793cbb6ef62dc Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Escape special characters according to influxDB docSebastien Douheret1-12/+41
Change-Id: I22724b547033b40b3160c3bbe1b2141349a1ead2 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-10Escaped special characters for measurement, tags and fieldsSebastien Douheret1-12/+63
See https://docs.influxdata.com/influxdb/v1.5/write_protocols/line_protocol_reference/#special-characters for more info. Change-Id: Iad2f7d00b7d6c42dbea33df03a75353e9cac97a9 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-10Improved perf (define concatenate as inline function).Sebastien Douheret1-1/+7
Change-Id: If682e464346078b7254fbc10123e82787e089011 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-10Convert the binding to use the controllerRomain Forlot1-1/+2
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-10Fully handle array of metrics to be writen in DBRomain Forlot1-3/+3
Move a function code. Change-Id: I35a90e08e7019e634676915858aa0a666d46f711 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Improve writer/reader processingRomain Forlot1-2/+20
- 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/+27
Change-Id: I97c2a409d05ceb9babb23c23fbf818316d01419b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>