-
Notifications
You must be signed in to change notification settings - Fork 3
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 support for weekly aggregates with period origin #26
base: master
Are you sure you want to change the base?
Conversation
src/partials/config.html
Outdated
<div class="gf-form max-width-70"> | ||
<span class="gf-form-label">Period Origin</span> | ||
<div class="gf-form-select-wrapper gf-form-select-wrapper--has-help-icon max-width-50"> | ||
<input type="text" class="gf-form-input" ng-model="ctrl.current.jsonData.periodOrigin" spellcheck='false' /> |
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.
would it be better to have a drop down with possible values ? or text field with placeholder
src/partials/config.html
Outdated
@@ -119,6 +119,13 @@ <h3 class="page-heading">Druid Settings</h3> | |||
<info-popover mode="right-absolute">This enables the to query hourly data in different timezone.</info-popover> | |||
</div> | |||
</div> | |||
<div class="gf-form max-width-70"> | |||
<span class="gf-form-label">Period Origin</span> | |||
<div class="gf-form-select-wrapper gf-form-select-wrapper--has-help-icon max-width-50"> |
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.
gf-form-select-wrapper class can be replaced as gf-form-input width-20 gf-form-input--has-help-icon
Weekly aggregate is now possible with a custom origin
this enables week to start at Monday
druid doc : https://druid.apache.org/docs/latest/querying/granularities.html