-
Notifications
You must be signed in to change notification settings - Fork 83
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
added possibility to skip empty buckets in timeseries query #49
base: master
Are you sure you want to change the base?
Conversation
@@ -187,7 +189,8 @@ function (angular, _, dateMath, moment) { | |||
}); | |||
} | |||
else { | |||
promise = this._timeSeriesQuery(datasource, intervals, granularity, filters, aggregators, postAggregators) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RestfulBlue, just a minor comment to remove this space.
@@ -187,7 +189,8 @@ function (angular, _, dateMath, moment) { | |||
}); | |||
} | |||
else { | |||
promise = this._timeSeriesQuery(datasource, intervals, granularity, filters, aggregators, postAggregators) | |||
|
|||
promise = this._timeSeriesQuery(datasource, intervals, granularity, filters, aggregators, postAggregators,skipEmptyBuckets) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need a space between , and skipEmptyBuckets.
@@ -247,6 +250,12 @@ function (angular, _, dateMath, moment) { | |||
"intervals": intervals | |||
}; | |||
|
|||
if(skipEmptyBuckets){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please indent this piece correctly following the current indentation.
When does this feature join the master branch? @pranit22 |
@RestfulBlue Hello! Thank you for your contribution! |
added checkbox for skipping empty buckets, #43
with skipping empty buckets:
without :
button :