Commit Graph

78 Commits (5da5ea3ee2091eb3dfc1aca815f9c4c2630fa8f6)

Author SHA1 Message Date
Fabian Reinartz 5e13880201 General cleanup of rules.
10 years ago
Fabian Reinartz 25cdff3527 Remove `name` arg from `Parse*` functions, enhance parsing errors.
10 years ago
Fabian Reinartz 3ca11bcaf5 Switch Prometheus to promql package.
10 years ago
Fabian Reinartz 624f27f4b6 Add ln, log2, log10 and exp functions to the query language.
10 years ago
Julius Volz b2651027fc Fix special value handling in division and modulo.
10 years ago
beorn7 13fcf1ddbc Implement double-delta encoded chunks.
10 years ago
Fabian Reinartz 182de6b99f Fix unary +/- expressions.
10 years ago
Fabian Reinartz 6f754073d5 Add OR operation and vector matching options.
10 years ago
Julius Volz 0ac931aed1 Also support parsing float formats like "2.".
10 years ago
Julius Volz c2ab54e9a6 Support scientific notation and special float values.
10 years ago
beorn7 9e7c3e3bcd Add the histogram_quantile function.
10 years ago
Julius Volz 42601acfde Replace labelsToKey() with metric Fingerprint (fixes grouping bug).
10 years ago
Julius Volz 645cf57bed Fix aggregation grouping key calculation.
10 years ago
Julius Volz 15b2b5aa66 Add tests for invalid uses of "offset".
10 years ago
Julius Volz 72d7b325a1 Implement offset operator.
10 years ago
Brian Brazil 60271d58bf Change the 2nd argument of round to toNearest.
10 years ago
Marko Mikulicic 8fdacbdf17 Add floor, ceil and round functions. Closes #402
10 years ago
Brian Brazil a31730e88b Make 2nd arg to delta optional. Add a deriv() function.
10 years ago
Bjoern Rabenstein 5859b74f1b Clean up license issues.
10 years ago
Julius Volz cc27fb8aab Rename remaining all-caps constants in AST layer.
10 years ago
Julius Volz 00a2a93a05 Add regression tests for metrics mutations in AST.
10 years ago
Bjoern Rabenstein 0ae1d8889a Fix tests after merge.
10 years ago
Julius Volz b7bf11230a Add absent() function.
10 years ago
Julius Volz 3d47f94149 Drop metric names after transformations.
10 years ago
Julius Volz 0712d738d1 Allow alternative "by"-clause position in grammar.
10 years ago
Julius Volz 0e48c18bbf Allow omitting the metric name in queries.
10 years ago
Julius Volz 7f5d3c2c29 Fix and improve the fp locker.
10 years ago
Julius Volz e7ed39c9a6 Initial experimental snapshot of next-gen storage.
10 years ago
Julius Volz 85497e3f38 Add function to drop common labels in a vector.
10 years ago
Julius Volz 3fdb74e571 Add more topk() / bottomk() tests.
10 years ago
Julius Volz c582ae73c2 Implement topk() and bottomk() functions.
10 years ago
Julius Volz 00b9489f1c Fix time() behavior.
10 years ago
Julius Volz c5984f1818 Add abs() and over-time aggregation functions.
10 years ago
Brian Brazil e041c0cd46 Add console and alert templates with access to all data.
11 years ago
Bjoern Rabenstein ca6a4fccef Weed out our homegrown test.Tester.
11 years ago
Julius Volz 01f652cb4c Separate storage implementation from interfaces.
11 years ago
Julius Volz d411a7d810 Allow reversing vector and scalar arguments in binops.
11 years ago
Julius Volz c7c0b33d0b Add regex-matching support for labels.
11 years ago
Julius Volz 7e9ecaac3a Add count_scalar() function.
11 years ago
Julius Volz 0378c2ca1f Nonexistent labels in BY-clauses shouldn't propagate to result.
11 years ago
Julius Volz 6dc36d0c3e Don't keep extra labels in aggregations by default.
11 years ago
Julius Volz 740d448983 Use custom timestamp type for sample timestamps and related code.
11 years ago
Julius Volz 35ee2cd3cb Add alertmanager notification support to Prometheus.
11 years ago
Julius Volz 64b0ade171 Swap rules lexer for much faster one.
12 years ago
Matt T. Proud 30b1cf80b5 WIP - Snapshot of Moving to Client Model.
12 years ago
Julius Volz fc97e688c6 Improve printing of rules and expressions.
12 years ago
Matt T. Proud 2c3df44af6 Ensure database access waits until it is started.
12 years ago
Julius Volz 51689d965d Add debug timers to instant and range queries.
12 years ago
Julius Volz 138334fb31 Fix handling of negative deltas for non-counter values.
12 years ago
Julius Volz 750f862d9a Use GetBoundaryValues() for non-counter deltas.
12 years ago