Commit Graph

215 Commits (0a4d31477a75ff229ddfd95f610919c493a5a9c7)

Author SHA1 Message Date
Morten Siebuhr 0ebcca5eb7 Add basic fuzzer of the parser.
9 years ago
Brian Brazil 68e70d992a Clarify error message around on(x) group_left(x)
9 years ago
Brian Brazil 7201c010c4 Rename On to MatchingLabels
9 years ago
Brian Brazil d991f0cf47 For many-to-one matches, always copy label from one side.
9 years ago
Brian Brazil 768d09fd2a Change on+group_* to take copy from the one side.
9 years ago
Brian Brazil d1edfb25b3 Add support for OneToMany with IGNORING.
9 years ago
Brian Brazil 1d08c4fef0 Add 'ignoring' as modifier for binops.
9 years ago
Brian Brazil f5084ab1c5 Add tests for group_left/group_right
9 years ago
Fabian Reinartz fceedfa807 Add error message if old alert rule tokens are read
9 years ago
Julius Volz 6ac39700ea Fix missing printed keep_common without grouping.
9 years ago
Jonathan Boulle 38098f8c95 Add missing license headers
9 years ago
Fabian Reinartz 9ee91062c4 Merge pull request #1522 from prometheus/unless-operator
9 years ago
Tobias Schmidt 8cc86f25c0 Implement relative complement set operator "unless"
9 years ago
Tobias Schmidt e82ef154ee Remove unused code leftovers
9 years ago
Tobias Schmidt 4c3dc25e35 Fix whitespace in promql test data
9 years ago
Fabian Reinartz 235e6c554b Use ContainsRune
9 years ago
Brian Brazil 24a3ad3d16 Merge pull request #1485 from eliothedeman/master
9 years ago
eliothedeman 1543ef92b2 Adds holt-winters query function
9 years ago
beorn7 507f550cd4 Merge branch 'master' into beorn7/storage7
9 years ago
Brian Brazil 070d663948 Merge pull request #1501 from prometheus/and-dummy
9 years ago
Fabian Reinartz ab3d7a0ec0 Remove old alerting syntax
9 years ago
beorn7 4b574e8a61 Switch chunk encoding to type 2 where it was hardcoded type 1 before
9 years ago
Brian Brazil 8788701ce7 Add test for incorrect behaviour
9 years ago
Brian Brazil 39d556f0d5 Move all the operator tests into one file
9 years ago
beorn7 99854a84d7 Merge branch 'beorn7/storage6' into beorn7/storage7
9 years ago
beorn7 d0a4477446 Merge branch 'beorn7/storage3' into beorn7/storage4
9 years ago
beorn7 dad302144d Make a naked return less naked
9 years ago
beorn7 836f1db04c Improve MetricsForLabelMatchers
9 years ago
beorn7 f7fc542db6 Merge branch 'master' into beorn7/storage4
9 years ago
beorn7 3d86130d8c Merge branch 'master' into beorn7/storage3
9 years ago
Björn Rabenstein 2a2cc52828 Merge pull request #1405 from prometheus/beorn7/storage
9 years ago
Patrick Bogen 250344b344 use short variable assignment
9 years ago
Patrick Bogen 2062fbae0f rewrite operator balancing to be recursive
9 years ago
beorn7 0ea5801e47 Handle errors caused by data corruption more gracefully
9 years ago
beorn7 8766f99085 Merge branch 'beorn7/storage2' into beorn7/storage3
9 years ago
beorn7 162f6fa6f6 Merge branch 'beorn7/storage' into beorn7/storage2
9 years ago
beorn7 79a2ae2d2e Add missing test file
9 years ago
beorn7 b6840997a7 Merge branch 'beorn7/storage2' into beorn7/storage3
9 years ago
beorn7 ce58fd357b Merge branch 'beorn7/storage' into beorn7/storage2
9 years ago
beorn7 2581648f70 Separate iterators by offset
9 years ago
Fabian Reinartz 95c9706d2d Fix missing comment period.
9 years ago
Julius Volz 9ea2465b99 Fix typo in lexer test.
9 years ago
Tobias Schmidt 907b1380a7 Add tests to specify the string escaping behavior
9 years ago
beorn7 c740789ce3 Improve predict_linear
9 years ago
beorn7 454ecf3f52 Rework the way ranges and instants are handled
9 years ago
beorn7 0e202dacb4 Streamline series iterator creation
9 years ago
Julius Volz 9b6d69610a Fix various typos in comments.
9 years ago
Brian Brazil 9d0112d7cf Add without aggregator modifier.
9 years ago
Brian Brazil b7ef0b45e8 Break aggregation tests out. Add missing tests.
9 years ago
beorn7 a7408bfb47 Unify duration parsing
9 years ago
Fabian Reinartz a6935024e1 Remove old WITH clause in alert printing
9 years ago
Tobias Schmidt 1a91cd6e09 Rename matrix to range selector in external error messages
9 years ago
Tobias Schmidt 411ca4dba1 Consolidate offset modifier parsing
9 years ago
Fabian Reinartz 6b4a6962d2 Support old alerting rule syntax
9 years ago
Brian Brazil c77c3a8c56 promql: Limit extrapolation of delta/rate/increase
9 years ago
Brian Brazil 89760dd77d Handle NaN for min/max.
9 years ago
Brian Brazil bac1f28cad Similar to topk/bottomk, have sort/sort_desc put NaN at end.
9 years ago
Fabian Reinartz 4209ec6864 Change WITH keyword to LABELS
9 years ago
Brian Brazil 88ca82304c Make topk/bottomk prefer returning real numbers over NaN.
9 years ago
Brian Brazil edf3e123f5 Move topk/bottomk tests from legacy.
9 years ago
Fabian Reinartz af3a6661ed Implement new alerting rule syntax
9 years ago
James Sanford 5b53262b7a promql: Add clamp_max/clamp_min functions.
9 years ago
Brian Brazil a287264989 Print offsets in promql.
9 years ago
Fabian Reinartz 33aab4169c Anchor regexes in vector matching
9 years ago
Fabian Reinartz 51e8badc7f Merge pull request #1159 from prometheus/scalar-bool
9 years ago
Brian Brazil c36961130b promql: Remove scalar/scalar comparisons.
9 years ago
Brian Brazil 5740a8fade promql: Remove deprecated 2nd argument to delta()
9 years ago
Brian Brazil 965a71dc4d Merge pull request #1155 from prometheus/irate
9 years ago
Brian Brazil f08abdb48b promql: Add irate() function
9 years ago
Julius Volz 0088aa4d45 Merge pull request #1132 from prometheus/fix-quoting-and-escaping
9 years ago
Julius Volz 46c5260761 Support escape sequences in strings and add raw strings.
9 years ago
Fabian Reinartz e3b6ec9784 Switch to common/log
9 years ago
Brian Brazil 653ff71f1f promql: Reduce flakiness of concurrency test
9 years ago
Fabian Reinartz 171f50706a Fix unkeyed field errors.
9 years ago
Fabian Reinartz 36ec8ba460 Fix missing return on error
9 years ago
Fabian Reinartz e005f939fd Fix scalar construction in function
9 years ago
Fabian Reinartz eca41f5319 Run gofmt
9 years ago
Brian Brazil fa793d917e Merge pull request #1080 from prometheus/query-timeout-test
9 years ago
Brian Brazil ce7f31e03c promql: Bump sleep in query timeout test
9 years ago
Julius Volz 347630431c Merge pull request #1077 from prometheus/cleanups
9 years ago
Julius Volz af513468eb Fix some dead code, missing error checks, shadowings.
9 years ago
Brian Brazil 29de4ee2b0 Merge pull request #1078 from prometheus/whats-our-vector-victor
9 years ago
Brian Brazil 9b382647b5 Remove optional vector() 2nd argument
9 years ago
Fabian Reinartz a1617d90f4 Merge pull request #1073 from prometheus/whats-our-vector-victor
9 years ago
Brian Brazil 69f5fa0c1e promql: Add vector function.
9 years ago
Julius Volz 6d3e054692 Fix bool modifier in recording rules and printing.
9 years ago
Brian Brazil 9ec11b1847 Merge pull request #1049 from prometheus/bool-nofilter
9 years ago
Brian Brazil 29e8dc2c49 promql: Add 'bool' modifier to comparison functions
9 years ago
Julius Volz 61c42c8da0 Change relabel_replace() to do full-string matches.
9 years ago
Julius Volz 744d5d5a7a Merge pull request #1029 from prometheus/vet-fixes
9 years ago
Julius Volz 995d3b831d Fix most golint warnings.
9 years ago
Julius Volz 963ad82dcb Fix "go vet" errors.
9 years ago
Julius Volz 077a753e6b Merge pull request #1006 from prometheus/true-values
9 years ago
Fabian Reinartz d6b8da8d43 Switch promql types to common/model
9 years ago
Brian Brazil fb585e4591 promql: Remove interpolation of vector values.
9 years ago
Fabian Reinartz 1535ef1457 Replace metric.SamplePair with model.SamplePair
9 years ago
Fabian Reinartz 438e232c9b Fix grouping of import blocks
9 years ago
Fabian Reinartz 306e8468a0 Switch from client_golang/model to common/model
9 years ago
Brian Brazil 296f551418 Merge pull request #1014 from prometheus/scalar-rules
9 years ago
Brian Brazil e6a67476c2 rules: Allow recorded rules expressions to be scalars.
9 years ago