I am writing measurement to influxdb with InfluxDBClient
library
entry = [{
"time": int((self.end)),
"measurement": "measurement1",
"fields": {
"eventId": self.eventId,
"start": self.start,
"end": self.end,
"lifetime": self.lifetime,
},
I have noticed that the db is not respecting given order of columns, instead the time
is first and then column names in alphabetical order
>SELECT * FROM "measurement1"
time end eventId hostName lifetime start
How to enforce order given in entry?