Skip to content
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

dashboard: use fill(null) in InfluxQL requests #172

Merged
merged 1 commit into from
Aug 3, 2022

Conversation

DifferentialOrange
Copy link
Member

@DifferentialOrange DifferentialOrange commented Aug 1, 2022

This patch replaces fill(none) with fill(null) in dashboards InfluxQL requests. After this patch, all panels with non-derivative requests will show the gap in metrics for an interval if there were no metrics for this interval. Before this patch, they had displayed a straight line connecting border values in the area. Derivative requests will still display a straight line [1]. There is a workaround to make derivative requests result consistent with non-derivative one, but it makes query more complicated both in terms of readability and performance, so it's not worth it.

  1. Derivative of nulls is not null influxdata/influxdb#7185

Closes #23

@DifferentialOrange DifferentialOrange force-pushed the DifferentialOrange/gh-154-vinyl-panels branch from b2a43e3 to d2194c7 Compare August 3, 2022 11:03
This patch replaces fill(none) with fill(null) in dashboards InfluxQL
requests. After this patch, all panels with non-derivative requests
will show the gap in metrics for an interval if there were no metrics
for this interval. Before this patch, they had displayed a straight line
connecting border values in the area. Derivative requests will still
display a straight line [1]. There is a workaround to make derivative
requests result consistent with non-derivative one, but it makes query
more complicated both in terms of readability and performance, so it's
not worth it.

1. influxdata/influxdb#7185

Closes #23
@DifferentialOrange DifferentialOrange force-pushed the DifferentialOrange/gh-23-fill-null branch from a6c0634 to eae1574 Compare August 3, 2022 11:05
@DifferentialOrange DifferentialOrange marked this pull request as ready for review August 3, 2022 11:07
@DifferentialOrange DifferentialOrange changed the base branch from DifferentialOrange/gh-154-vinyl-panels to master August 3, 2022 11:08
@DifferentialOrange DifferentialOrange merged commit f4eb116 into master Aug 3, 2022
@DifferentialOrange DifferentialOrange deleted the DifferentialOrange/gh-23-fill-null branch August 3, 2022 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rework fill(none) to fill(null)
1 participant