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

added possibility to skip empty buckets in timeseries query #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RestfulBlue
Copy link

added checkbox for skipping empty buckets, #43
with skipping empty buckets:
with
without :
without
button :
btn

@@ -187,7 +189,8 @@ function (angular, _, dateMath, moment) {
});
}
else {
promise = this._timeSeriesQuery(datasource, intervals, granularity, filters, aggregators, postAggregators)

Copy link
Collaborator

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)
Copy link
Collaborator

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){
Copy link
Collaborator

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.

@liuhang93
Copy link

When does this feature join the master branch? @pranit22

@jbguerraz
Copy link
Collaborator

@RestfulBlue Hello! Thank you for your contribution!
Better later than never, is there any chance you would like to rebase your work on top of master and implement the cosmetic changes pointed by @pranit22 ?
Thank you a lot!

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.

5 participants