Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

remove excessive request alignment, add MDP optimization and pre-normalisation #951

Merged
merged 46 commits into from
Jan 30, 2020
Merged
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
6e5f050
clarifications/simplification
Dieterbe Dec 2, 2019
29d86ce
WIP: don't over-align + implement MDP-optimization, pre-normalization
Dieterbe Dec 2, 2019
752cd66
simplify NewPlan()
Dieterbe Dec 2, 2019
41bca10
docs
Dieterbe Dec 2, 2019
d1fb28a
aggregators now need to be able to normalize at runtime
Dieterbe Dec 2, 2019
6b5c991
helper to generate combinations of uint32's
Dieterbe Jan 16, 2020
89ad210
rework request planning
Dieterbe Jan 15, 2020
f0f9b17
Loop new request identifiers/differentiators through request path
Dieterbe Jan 16, 2020
5dd295e
make fetch optimizations optional
Dieterbe Jan 17, 2020
0f28be9
mt-explain: support new req information
Dieterbe Jan 17, 2020
531a5f5
clean up expr docs.
Dieterbe Jan 18, 2020
1c17a8a
random clarification related to COW
Dieterbe Jan 19, 2020
8f11677
clarify
Dieterbe Jan 19, 2020
9b2db02
clarify limitations of pre-canonical, canonicalize when runtime norma…
Dieterbe Jan 19, 2020
35a725c
WIP fix tests
Dieterbe Jan 19, 2020
cb220e8
deal with non-pre-canonical normalizing like graphite does
Dieterbe Jan 20, 2020
4a7de6a
add msgp generate directives to request for PNGroup
robert-milan Jan 20, 2020
6e7a145
make PN- and MDP-optimizations separately configurable
Dieterbe Jan 20, 2020
80001d4
make it simpler to use models.Series in tests
Dieterbe Jan 20, 2020
9e7156c
fix dataprocessor tests
Dieterbe Jan 20, 2020
bc73917
Newreq for dataprocessor and
Dieterbe Jan 20, 2020
29a4054
testPlan tests
Dieterbe Jan 20, 2020
c863a42
update consolidaton tests for NewPlan taking optimizations
Dieterbe Jan 20, 2020
8ba064f
getModel(): set interval!
Dieterbe Jan 20, 2020
c041be3
fix TestConsolidateBy
Dieterbe Jan 20, 2020
95d51c8
fix tests: MDP is now used to mark MDP optimizations, don't set it
Dieterbe Jan 21, 2020
83da44d
fix planRequests tests to match new behavior
Dieterbe Jan 21, 2020
1929cb6
better query engine tests
Dieterbe Jan 21, 2020
44fdd93
fix query engine tests
Dieterbe Jan 21, 2020
dd85a3d
Req.Equals should also check TTL. we only used this for unit tests
Dieterbe Jan 22, 2020
ae2ff09
make maxPointsPerReq{Soft,Hard} explicit args, rather than globals
Dieterbe Jan 22, 2020
ca80978
do maxPointsPerReq testing same as other tests
Dieterbe Jan 22, 2020
163e222
tests for normalization
Dieterbe Jan 22, 2020
32d7ce2
expr.NewReq should take PNGroup and MDP fields also
Dieterbe Jan 22, 2020
4c8a573
unit test for planner optimizations
Dieterbe Jan 22, 2020
3054f19
note
Dieterbe Jan 22, 2020
427bb5f
refer to http errors by their name as per contribution docs
Dieterbe Jan 22, 2020
3052eb7
mt-explain docs
Dieterbe Jan 22, 2020
38ba464
cleanup docs and devdocs
Dieterbe Jan 23, 2020
076a490
allow passing optimizations as query parameters
Dieterbe Jan 23, 2020
526b443
asPercent: accommodate an extra case
Dieterbe Jan 24, 2020
635a4bb
sean feedback
Dieterbe Jan 24, 2020
d5c4228
asPercent safe again
Dieterbe Jan 24, 2020
7198dfb
robert feedback
Dieterbe Jan 24, 2020
260c7eb
sean feedback 2
Dieterbe Jan 24, 2020
2f9369e
planRequests() erroring is a user error
Dieterbe Jan 28, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
mt-explain docs
Dieterbe committed Jan 27, 2020
commit 3052eb779e644cf74ae13153e5656a1aac790e3a
14 changes: 14 additions & 0 deletions docs/tools.md
Original file line number Diff line number Diff line change
@@ -36,6 +36,20 @@ Explains the execution plan for a given query / set of targets
Usage:
mt-explain
-from string
get data from (inclusive) (default "-24h")
-mdp int
max data points to return (default 800)
-mdp-optimization
enable MaxDataPoints optimization (experimental)
-pre-normalization
enable pre-normalization optimization (default true)
-stable
whether to use only functionality marked as stable (default true)
-time-zone string
time-zone to use for interpreting from/to when needed. (check your config) (default "local")
-to string
get data until (exclusive) (default "now")
Example: