-
Notifications
You must be signed in to change notification settings - Fork 453
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
[query] Implemented the Graphite timeSlice
function
#2581
Merged
Merged
Changes from 18 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
4e901d7
Added the moving movingMin function
teddywahle f42685a
Merge branch 'master' into twahle-moving-min
teddywahle f0df4ce
worked on moving min
teddywahle bef6377
Merge branch 'twahle-moving-min' of https://github.com/teddywahle/m3 …
teddywahle 8ce6dc3
more work on the moving min func
teddywahle 30ef946
Merge branch 'master' into twahle-moving-min
teddywahle cf9288f
updated movingMedian
teddywahle 50b0ae9
Merge branch 'twahle-moving-min' of https://github.com/teddywahle/m3 …
teddywahle 1ebe629
Apply suggestions from code review
teddywahle ebaafce
testMovingFunction
teddywahle 2a0643c
wrote test movingSum function
teddywahle 53222b9
Merge branch 'master' into twahle-moving-min
teddywahle b2d895c
Merge branch 'master' into graphite-timeslice
teddywahle 88260f7
Apply suggestions from code review
teddywahle 73e279f
Apply suggestions from code review
teddywahle 007e83e
Update src/query/graphite/native/builtin_functions.go
teddywahle dafe31b
added graphite timeslice function
teddywahle 0c9f44e
completed a merge
teddywahle 17c42bd
Apply suggestions from code review
teddywahle f246f82
Finished the timeSlice function
teddywahle 8f60dca
Update src/query/graphite/native/builtin_functions_test.go
teddywahle ca19d91
fixed up the timeSlice code
teddywahle 9f0e2c7
Apply suggestions from code review
teddywahle 5ebab5a
Merge branch 'master' into graphite-timeslice
teddywahle c164a5f
Merge branch 'master' into graphite-timeslice
teddywahle 902accc
Update src/query/graphite/native/builtin_functions.go
teddywahle 381dcec
added method description
teddywahle a6f915c
Merge branch 'graphite-timeslice' of https://github.com/teddywahle/m3…
teddywahle 89a9600
Update src/query/graphite/native/builtin_functions.go
teddywahle 2d7c62a
Merge branch 'graphite-timeslice' of https://github.com/teddywahle/m3…
teddywahle 2659565
Added suggestions from code review
teddywahle 9e558a8
fixed indexing bug
teddywahle 5d2c66b
Merge branch 'master' into graphite-timeslice
teddywahle fbe5d13
Merge branch 'master' into graphite-timeslice
robskillington File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Instead of passing different
time.Now()
values, it's best to use a single time.Now() for both these time parsings so they see the same starting point if they are relative time offsets.i.e. declare
now
first, then use them in both calls.