Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

chart with multiple series timestamp out of sync #331

Open
rliegmann opened this issue Nov 4, 2018 · 4 comments
Open

chart with multiple series timestamp out of sync #331

rliegmann opened this issue Nov 4, 2018 · 4 comments

Comments

@rliegmann
Copy link

Hello, I have the following problem. For a chart with more than two series, the timestamps in the Overley will not appear in sync. In the raw data the timestamp comes as Utc with milliseconds. Can the timestamp be rounded?

bildschirmfoto 2018-11-04 um 21 53 42
bildschirmfoto 2018-11-04 um 21 53 11

Thanks xD

@ghys
Copy link
Member

ghys commented Nov 5, 2018

What persistence service are you using?
First time I see this. It could simply a misconfiguration on that end?

@rliegmann
Copy link
Author

Hey,

I use InfluxDb.
With which configuration? InfluxDb or chart?

@ghys
Copy link
Member

ghys commented Nov 5, 2018

Okay, this doesn't happen with rrd4j obviously because it "rounds" them itself according to the step time: that's part of its "data consolidation" feature.
Neither the chart widget nor the n3-line-chart library has an option to do that consolidation (or "repeat" the previous value for each series and each timestamp encountered) on the client side - not sure whether it's a good idea to do that on the client at all since it's a performance hit for everyone. Then there's the question of what precision to choose for the consolidation (it depends on the chart period, the nearest second might not be enough for the longer periods).

@rliegmann
Copy link
Author

Possibly an additional setting in which you can select the GroupBy for InfluxDB.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants