Support nano sec level precision in returned data, or at least micro sec. And Query timestamp format
Hi Team,
InfluxDBStudio is a great tool, we have been using it a lot. And we found some potential improvements.
-
It would be great if we have have nano-sec level time precision in the return data table. As influxdb support nano level time precision, and our systems do generates time at that level. see attached image.
-
Can we support ISO8601 time stamp format with timezone offset. Current 2017-11-17T09:00:00Z is suported, but 2017-11-17T17:00:00+08:00 is not supported. See attached image for instance.
Thanks.
Hi all,
The tool looks really good, alhtought I didn’t have time to test it deeply yet :_)
I think you could use NodaTime NuGet package to implement this feature. InfluxDB store data using UTC timestamp format, using NodaTime you can parse the timestamp to any timezone easily. For the nanosecond resolution, if you are using the official InfluxDB C# conector, instead of calling the web API directly, maybe there is not support for any other data type except .NET DateTime wich has no support for nanosecond resolution.
Enviado desde mi iPhone
El 17 nov 2017, a las 15:37, Travis Whidden [email protected] escribió:
Please correct me if I am wrong here...
for #1, if the studio is using a .net type, the DateTime object only supports milliseconds resolution.
https://msdn.microsoft.com/en-us/library/system.datetime(v=vs.110).aspx
as for #2, and this I could be wrong on but when I was using influx, I thought time zones were not supported in their DB -- this may have changed as I recall people requesting it. The ISO8601 with the +x:xx I had issues with, ironically last night with a SOAP call a customer was using with our non-related-product. I had them change it to a Z at the end, and that fixed it, so I suspect the DateTime serialization does not propertly support it because the DateTime object does not carry timezone information with, only DateTimeKind Local or UTC?
Thoughts? Not trying to salt the question, just stating things I have learned. BTW, Love this product too. I used it only once though when doing some influx research.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hi,
Bassically, we want the same feature as the influxdb web ui query interface as below.
@seafront12 InfluxData.Net, which is what this application uses internally, doesn't support nanoseconds. There is a fork of it that does, though. You can try and integrate it yourself (: