Fabian Reinartz
a236c01457
Add time series description parsing.
...
This commit adds parsing of time series description to the exisiting
query language parser. Time series descriptions are defined by a
metric followed by a sequence of values.
10 years ago
Fabian Reinartz
d122749b39
Enhance lexer testing output
10 years ago
Fabian Reinartz
969c231191
Make parser more strict about identifiers, extract number parsing
10 years ago
Julius Volz
1b3d3b4d5c
Merge pull request #685 from prometheus/fabxc/quptes
...
Fix single quote parsing, add tests
10 years ago
Fabian Reinartz
8707c54508
Fix single quote parsing, add tests
10 years ago
Julius Volz
b404ad5c91
Merge pull request #678 from prometheus/remove-rules-target
...
Remove obsolete "rules" target from main Makefile.
10 years ago
Julius Volz
0dc8f3cb04
Remove obsolete "rules" target from main Makefile.
10 years ago
Julius Volz
2579606e77
Merge pull request #676 from prometheus/fabxc/promql
...
Query/rules refactoring
10 years ago
Fabian Reinartz
1dd0b772cb
Fix missing Godep entry.
10 years ago
Fabian Reinartz
eeca323d24
Merge branch 'master' into promql
10 years ago
Björn Rabenstein
498b85f05f
Merge pull request #673 from prometheus/beorn7/fingerprint
...
Use FastFingerprint where appropriate.
10 years ago
beorn7
bb141fd3db
Updated vendoring.
...
This pulls in the required changes in client_golang.
10 years ago
beorn7
9820e5fe99
Use FastFingerprint where appropriate.
10 years ago
Fabian Reinartz
b365947bc4
Merge pull request #666 from prometheus/fabxc/pql/gate
...
Limit maximum number of concurrent queries.
10 years ago
Fabian Reinartz
9ab1f6c690
Limit maximum number of concurrent queries.
...
A high number of concurrent queries can slow each other down
so that none of them is reasonbly responsive. This commit limits
the number of queries being concurrently executed.
10 years ago
Julius Volz
f4d90a105e
Merge pull request #672 from prometheus/release-0.13.2
...
Release 0.13.2
10 years ago
Johannes 'fish' Ziemke
36023ed213
Cut 0.13.2
10 years ago
Julius Volz
874ff194c4
Merge pull request #671 from prometheus/add-rule-checker-to-archive
...
Include tools/rule_checker/rule_checker in tarball
10 years ago
Johannes 'fish' Ziemke
ab3e08e070
Add rule_checker and console templates to archive
10 years ago
Fabian Reinartz
d59d1cb2c1
Fix Error() methods.
10 years ago
Fabian Reinartz
b8fa0a9f8d
Merge pull request #665 from chkno/master
...
Fix storage/local tests for 32-bit systems
10 years ago
Scott Worley
e5f92d35fe
Fix storage/local tests for 32-bit systems
10 years ago
Julius Volz
44d2f7c9ba
Merge pull request #664 from fabxc/gitignore
...
Add *.rules to ignored files.
10 years ago
Fabian Reinartz
049b8eaafb
Add *.rules to ignored files.
10 years ago
Fabian Reinartz
6649306e63
Merge pull request #660 from prometheus/fabxc/pql/parse-errs
...
Fix and improve parsing error output.
10 years ago
Fabian Reinartz
279831cdf1
Fix and improve parsing error output.
10 years ago
Julius Volz
adba3b4daa
Merge pull request #661 from prometheus/fabxc/pql/rule-stmts
...
Stop routing rule statements through the engine.
10 years ago
Fabian Reinartz
fe935179cd
Stop routing rule statements through the engine.
10 years ago
Fabian Reinartz
8d7c479fed
Merge pull request #658 from prometheus/fabxc/pql/rules-manager
...
Rename RuleManager to Manager, remove interface.
10 years ago
Fabian Reinartz
43e291e978
Merge pull request #659 from prometheus/fabxc/pql/parse-err
...
Remove `name` arg from `Parse*` functions, enhance parsing errors.
10 years ago
Fabian Reinartz
479891c9be
Rename RuleManager to Manager, remove interface.
...
This commits renames the RuleManager to Manager as the package
name is 'rules' now. The unused layer of abstraction of the
RuleManager interface is removed.
10 years ago
Fabian Reinartz
25cdff3527
Remove `name` arg from `Parse*` functions, enhance parsing errors.
10 years ago
Fabian Reinartz
95fbe51c50
Merge pull request #655 from prometheus/fabxc/promql_3
...
Switch Prometheus to promql package.
10 years ago
Fabian Reinartz
3ca11bcaf5
Switch Prometheus to promql package.
...
This commit removes all functionality from rules/ that is now handled in
promql/.
All parts of Prometheus are changed to use the promql/ package.
10 years ago
Fabian Reinartz
555b630b52
Merge pull request #650 from prometheus/fabxc/promql_2
...
Refactor query evaluation.
10 years ago
Fabian Reinartz
5602328c7c
Refactor query evaluation.
...
This copies the evaluation logic from the current rules/ package.
The new engine handles the execution process from query string to final result.
It provides query timeout and cancellation and general flexibility for
future changes.
functions.go: Add evaluation implementation. Slight changes to in/out data but
not to the processing logic.
quantile.go: No changes.
analyzer.go: No changes.
engine.go: Actually new part. Mainly consists of evaluation methods
which were not changed.
setup_test.go: Copy of rules/helpers_test.go to setup test storage.
promql_test.go: Copy of rules/rules_test.go.
10 years ago
Johannes 'fish' Ziemke
fb3b464f7d
Write rule_checker to /bin/rule_checker
10 years ago
Johannes 'fish' Ziemke
166f492a0e
Remove /etc/prometheus from volume definition
10 years ago
Johannes 'fish' Ziemke
2bb3efc69d
Merge pull request #649 from sdurrheimer/master
...
Small size docker image refactoring
10 years ago
Steve Durrheimer
af99960974
Small size docker image refactoring
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
10 years ago
Fabian Reinartz
089f019660
Merge pull request #639 from fabxc/fabxc/promql_1
...
Create promql package with lexer/parser.
10 years ago
Fabian Reinartz
32b7595c47
Create promql package with lexer/parser.
...
This commit creates a (so far unused) package. It contains the a custom
lexer/parser for the query language.
ast.go: New AST that interacts well with the parser.
lex.go: Custom lexer (new).
lex_test.go: Lexer tests (new).
parse.go: Custom parser (new).
parse_test.go: Parser tests (new).
functions.go: Changed function type, dummies for parser testing (barely changed/dummies).
printer.go: Adapted from rules/ and adjusted to new AST (mostly unchanged, few additions).
10 years ago
Julius Volz
16920f4666
Merge pull request #648 from cesanta/cesanta
...
Make prepare{Instant,Range}Query public
10 years ago
rojer
a0c8b9abbe
Make Prepare{Instant,Range}Query public
...
Useful for embedding the query engine.
10 years ago
Julius Volz
fa42ed0e7e
Merge pull request #642 from brian-brazil/sort-nan
...
Sort NaN as the lowest value.
10 years ago
Brian Brazil
6c1689f0c6
Sort NaN as the lowest value.
...
Currently it ends up in a random position.
10 years ago
Julius Volz
e681a57d73
Merge pull request #641 from prometheus/stddev
...
Add stddev and stdvar aggregation functions.
10 years ago
Brian Brazil
c3a2b63fe9
Add stddev and stdvar aggregation functions.
...
This adds the population standard deviation and
variance as aggregation functions, useful for
spotting how many standard deviations some samples
are from the mean.
10 years ago
Julius Volz
f35e5b54cc
Merge pull request #640 from prometheus/pow
...
Add square root function
10 years ago
Brian Brazil
74aed55e55
Add square root function
10 years ago