Chronograf: Support for millisecond queries

Created on 9 May 2017  ·  12Comments  ·  Source: influxdata/chronograf

Most helpful comment

I was the guy who asked on the webinar and I would like to extend my question a bit:

Something Grafana and Chronograf as of today are not able to do is display timeseries plots with timestamps of nano- or microseconds.

This seems to be related to Javascript not supporting 64bit timestamps, but maybe you engineering guys come up with some clever tricks to avoid that?

As I want to plot scientific data measured at a few MS/s and let the scientists quickly view things in dashboards / ..., it would be a great relief to have this feature available. :-)

All 12 comments

I was the guy who asked on the webinar and I would like to extend my question a bit:

Something Grafana and Chronograf as of today are not able to do is display timeseries plots with timestamps of nano- or microseconds.

This seems to be related to Javascript not supporting 64bit timestamps, but maybe you engineering guys come up with some clever tricks to avoid that?

As I want to plot scientific data measured at a few MS/s and let the scientists quickly view things in dashboards / ..., it would be a great relief to have this feature available. :-)

Hi @poikilotherm, just did a bit of research on this and we could definitely do it.

InfluxDB can return RFC3339 with nanosecond precision.

We'd need to update our front-end parsing in a few places like https://github.com/influxdata/chronograf/blob/8ad883906379c54f59b74dbf69c1714cadf46142/ui/src/utils/timeSeriesToDygraph.js#L158
...
and our backend server here: https://github.com/influxdata/chronograf/blob/master/influx/influx.go#L87

With a touch of Star Wars: that seem to be the droid you are looking for... 👍

If dygraphs 2.0 does not support auto x-axis relabeling spin out another issue

1470 and #1471 are now prerequisites for this issue

Looks like the prerequisites for this are complete

We're going to do some requirements gathering and then potentially break this out into multiple stories

Side note: in the community influxdb Node client they have implemented nanosecond-based Dates: https://github.com/node-influx/node-influx/blob/master/src/doc.ts. Looks like there may be some useful stuff there to glean or at least for reference.

• The math for interval selection needs to support values less than one
• Dygraph will need updating to support display less than one second

This feature would definitely be of interest to me. I have an urgent need to display waveforms for electricity. I'm happily loading 6000-7000 samples per second into Influx at nanosecond resolution, but right now i have no way to display them.

@relihanl we are starting with milliseconds, both micro and nano seconds produce new sets of challenges on the frontend. Hopefully micro second resolution won't be far behind, but nanosecond might prove more challenging.

Thanks for the update Nathan. Appreciate the work you are doing on this.

L

On 11 Oct 2017 21:24, "Nathan Haugo" notifications@github.com wrote:

@relihanl https://github.com/relihanl we are starting with
milliseconds, both micro and nano seconds produce new sets of challenges on
the frontend. Hopefully micro second resolution won't be far behind, but
nanosecond might prove more challenging.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/influxdata/chronograf/issues/1449#issuecomment-335936805,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGM3SxeKvvGVBfn0PP-A4oc1Fw6Pl6cJks5srSQIgaJpZM4NVoDx
.

Was this page helpful?
0 / 5 - 0 ratings