Data alignment feature does not seem to be fully working
See original GitHub issueDescribe the bug @alexanderzobnin explained the feature with screenshots here: https://github.com/alexanderzobnin/grafana-zabbix/issues/1109#issuecomment-749543471
However after upgrading to v4.1.1 still the graphs look like this (there are no gaps for missing points):
Expected behavior I expected graph to look like this:
Screenshots
See above. Although I realized when I select null as zero
only the left part of the graph is connected to zero but not the right part.
Network data
Software versions
Grafana | Zabbix | Grafana-Zabbix Plugin |
---|---|---|
7.3.6 | 5.0.7 | 4.1.1 |
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (8 by maintainers)
Top Results From Across the Web
About aligning features—ArcMap | Documentation
Align Edge provides a quick way of matching one edge to another edge by using topology. Align Edge works best for fixing gaps...
Read more >Reality Capture Alignment Settings, Tips, & Fixes
Sometimes forcing more features to be detected and using a lower image downscale factor might fix your alignment. Use these settings : Max ......
Read more >What is data alignment? - WolfSound
Today I want to explain how to take advantage of proper data alignment. To present the full picture, I will introduce the relevant...
Read more >A bug story: data alignment on x86
it can be done very efficiently using the ADC processor instruction (unfortunately, this feature is not accessible from C). it can be done...
Read more >Essential basic functionality — pandas 1.5.2 documentation
For heterogeneous data (e.g. some of the DataFrame's columns are not all the ... When working with heterogeneous data, the dtype of the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@alexanderzobnin +1 I see the same effect with Zabbix 4.2.8, Grafana 7.3.7 and Plugins 4.1.2 on some graphs, not all of them!. It looses one or 2 points point in the middle of the graph, no matter which range you take. I can see it for 30m, 1h, 3h until 1d ranges.
Similar problem: Grafana 8.1.2 Plugin 4.1.5 Zabbix 5.4.4
Data polled at 1m interval. Consider what happens when an item is polled late and recorded during a subsequent interval, and the next one is polled without delay.
Response data:
You’ll notice two “late” samples at minutes 14:00 and 14:05 When data alignment is enabled a “missing” value for 14:00 is an average of raw samples at 13:59:54 and 14:01:00. Then 14:01 shows value for raw 14:01 but subsequent samples are offset by one, i.e. 14:02 shows value for 14:01:56, 14:02:00 for 14:01:56. Then something strage happens at 14:05 - this sample is ommited in an aligned dataset. The following datapoints are offset by 2: 14:06:00 for 776 823 024, 14:07:00 for 14:06:00, 14:08:00 for 14:06:56 etc. You’ll also notice that an aligned dataset is one row shorter than an unaligned one. In fact for number of “late” samples n>1 the number of missing rows in aligned dataset is n-1.
The resulting graph shows values at wrong timestamps. If there are multiple stacked datasets where some of them contain such “late” data points the resulting values are misaligned as well.