-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data alignment feature does not seem to be fully working #1133
Comments
@yurtesen What's an update interval of the item? Is it a kind of dynamic? |
I have a fixed update interval of 1 minute. I rolled back to plugin version 4.0.2 on this version there are no such problems. |
@Shmakovm you can disable data alignment feature in plugin config. What's an issue in your case? |
@alexanderzobnin The update interval for item in Zabbix is 5m. But in cases if consecutive values are same, there is no value in zabbix due to threshold/discard option. How is your plugin retrieving item update interval? from where? |
It gets it from zabbix item (if it's fixed interval) or tries to autodetect (if no success with previous step). |
@yurtesen How did you get the second graph (with gaps)? |
Ok, looks like just a photoshop. |
@yurtesen make sure data alignment is not disabled in data source config. |
Yes, 2nd graph is what I expected to see. I edited to emulate it. I guess you are using the "delay" from the API? Now that I think about it, this item is probably a dependent item. Therefore it does not have its own interval. Could this be the problem? Do you check the interval from master item in these cases? |
Do you need more information? |
Try to use latest version - I fixed a bug related to alignment, maybe it affected you as well. |
@alexanderzobnin +1 |
Encountered same problem. |
Similar problem: Data polled at 1m interval. Response data:
You'll notice two "late" samples at minutes 14:00 and 14:05 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. |
This issue has been automatically marked as stale because it has not had activity in the last 2 years. It will be closed in 60 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions! |
The thread is quite old, but let me report another issue with data alignment in current Grafana Cloud implementation. My data consists of a status expressed as integer values. Data is polled at 1m interval but due to the nature of the setup there is some fluctuation of the timestamp. If I align the data, the plugin "calculates" something like an average. I.e. if there are two data points (status 1 and 2) within one minute the aligned data point results in 1.5 which makes no sense. Is there a way to stop the calculation and instead use e.g. the last or first value and if there is a data point missing just repeat it from previous or following data point? |
Describe the bug
@alexanderzobnin explained the feature with screenshots here:
#1109 (comment)
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
The text was updated successfully, but these errors were encountered: