Commit Graph

299 Commits (0deb74626f7db7a3b6c0965effb5bd6615c184c3)

Author SHA1 Message Date
Fabian Reinartz 28f547bcc7 api/v1: fix tests, restore series queries
8 years ago
Fabian Reinartz e94b0899ee rules: fix tests, remove model types
8 years ago
Fabian Reinartz f8fc1f5bb2 *: migrate ingestion to new batch Appender
8 years ago
Fabian Reinartz 71fe0c58a8 promql: misc fixes
8 years ago
Fabian Reinartz fecf9532b9 *: fix misc compile errors
8 years ago
Fabian Reinartz 0492ddbd4d *: fully decouple tsdb, add new storage interfaces
8 years ago
Fabian Reinartz 9ea10d5265 promql: use labels.Builder to modify labels
8 years ago
Fabian Reinartz c6cd998905 promql: use local labels, add conversion
8 years ago
Fabian Reinartz ff504af2aa promql: undo accidental exports
8 years ago
Fabian Reinartz 6dedf89cc3 promql: rename SampleStream to Series
8 years ago
Fabian Reinartz c5f225b920 promql: export Sample
8 years ago
Fabian Reinartz 65581a3d46 promql: export SmapleStream
8 years ago
Fabian Reinartz 6315d00942 promql: export String value
8 years ago
Fabian Reinartz ac5d3bc05e promql: scalar T/V and Point
8 years ago
Fabian Reinartz 09666e2e2a promql: make scalar public
8 years ago
Fabian Reinartz b3f71df350 promql: make matrix exported
8 years ago
Fabian Reinartz a62df87022 promql: rename vector
8 years ago
Fabian Reinartz 15a931dbdb promql: migrate model types, use tsdb interfaces
8 years ago
Tristan Colgate ab60bc3929 Fix export of grouping modifier
8 years ago
Tristan Colgate 68fc15fe4e Report type names in the form used in documentation
8 years ago
beorn7 4e3abc6cbf Simply use `math.Mod(float64, float64)` after all
8 years ago
beorn7 5cf5bb427a Check for int64 overflow when converting from float64
8 years ago
beorn7 92c0ef1a92 Merge branch 'release-1.2' into beorn7/release
8 years ago
beorn7 07f1bdfe94 Fix MOD binop for scalars and vectors
8 years ago
Brian Brazil e1cfc994f7 Correctly handle on() in alerts. (#2096)
8 years ago
Brian Brazil c4b4a58e3a Correctly handle on() in alerts. (#2096)
8 years ago
Fabian Reinartz 8fa18d564a storage: enhance Querier interface usage
8 years ago
Fabian Reinartz ccbce0c51f promql: handle NaN in changes() correctly
8 years ago
Julius Volz c187308366 storage: Contextify storage interfaces.
8 years ago
Julius Volz ed5a0f0abe promql: Allow per-query contexts.
8 years ago
Tobias Schmidt 29ced0090f Fix common english misspellings
8 years ago
Matt Bostock a0201036fa PromQL: Add tests for time/date funcs with arg
8 years ago
Matt Bostock 9628eb5998 PromQL: Add minute() function
8 years ago
Tobias Schmidt 04ae6196f2 Fix parsing of label names which are also keywords
8 years ago
Fabian Reinartz ab88057063 Merge pull request #1908 from prometheus/on-dates
8 years ago
Brian Brazil 4680daf237 Default date functions to current time.
8 years ago
Fabian Reinartz 23ddbd64aa Merge pull request #1925 from hashmap/1898-test-race
8 years ago
Alexey Miroshkin bf0e441576 Instantiate lexer inline for the test
8 years ago
Alexey Miroshkin 485f7dde08 Fix data race in lexer and lexer test
8 years ago
beorn7 71571a8ec4 promql: Fix (and simplify) populating iterators
8 years ago
Brian Brazil ea1318f38b Short names of some date related functions
8 years ago
Brian Brazil d2ca2b496a Add days_in_month function.
8 years ago
Brian Brazil 0ed31c8c47 Sort list of functions.
8 years ago
Brian Brazil fd7822829c Add date related functions.
8 years ago
Fabian Stäber 08b6556ee6 Assume counters start at zero after reset.
8 years ago
Fabian Reinartz 98c0d33567 Merge pull request #1875 from brancz/idelta-function
8 years ago
Frederic Branczyk f02df4138c refactor duplication of irate and idelta functions implementations
8 years ago
Frederic Branczyk dbf83666bb add idelta function
8 years ago
Frederic Branczyk 0ce5e7fe6d move legacy test for delta function
8 years ago
Julius Volz 3bfec97d46 Make the storage interface higher-level.
8 years ago
Brian Brazil 0303ccc6a7 Add quantile aggregator.
8 years ago
Brian Brazil 15f9fe0a45 Factor out quantile fucntion.
8 years ago
Brian Brazil b0342ba9ec Add quantile_over_time function
8 years ago
beorn7 fc6737b7fb storage: improve index lookups
8 years ago
Brian Brazil 40f8da699e Merge pull request #1815 from prometheus/stddev
8 years ago
Brian Brazil 1edd6875f5 Add stddev_over_time and stdvar_over_time.
8 years ago
Fabian Reinartz f8bb0ee91f Merge pull request #1793 from prometheus/count_values
9 years ago
Brian Brazil 875818d060 Clean out old keywords
9 years ago
Brian Brazil 16690736ab Add count_values() aggregator.
9 years ago
Brian Brazil 7f23a4a099 Add type check on topk/bottomk parameter.
9 years ago
Brian Brazil fa9cc15573 Add topk/bottomk tests for multiple buckets.
9 years ago
Brian Brazil 3b0c182eee Move topk/bottomk unittests over to aggregators.
9 years ago
Brian Brazil 3e5136e36d Make topk/bottomk aggregators.
9 years ago
Fabian Reinartz 4d1985e405 Merge pull request #1778 from mattbostock/fix_annotations
9 years ago
Matt Bostock cc98e164d3 promql: Fix annotations conflated with labels
9 years ago
Brian Brazil 3b89616d82 Allow on, ignoring, by and without wit empty laberls.
9 years ago
Brian Brazil 246a817300 Flip vector matching to be ignoring by default.
9 years ago
Julius Volz b7b6717438 Separate query interface out of local.Storage.
9 years ago
Fabian Reinartz 0e281f5500 Merge pull request #1687 from royels/issue-1629
9 years ago
royels 2fdc5717a3 promql: add power binary operation
9 years ago
Fatih Arslan 362e44501a promql: fix printing annotations of an *AlertStmt
9 years ago
beorn7 e3ec8fa83b Merge branch 'release-0.19'
9 years ago
beorn7 5408666387 Correctly stringify GROUP_x modifiers without labels
9 years ago
Ali Reza e7eba75690 remove keeping_extra because it's replaced with keep_common
9 years ago
Brian Brazil 74094947ea effect -> affect
9 years ago
Brian Brazil 68aaea618a Merge pull request #1624 from dmitris/golint
9 years ago
Fabian Reinartz bbc4f11bcc Merge pull request #945 from msiebuhr/fuzz
9 years ago
Dmitry Savintsev 7fdb62c253 fix several minor golint style issues
9 years ago
Morten Siebuhr ffc8cab39a Updates fuzzers to discard less interesting data
9 years ago
Brian Brazil ef55fd6176 Add unittest for using a metric for thresholds with group_left.
9 years ago
Morten Siebuhr 981b636004 Bring fuzzer error handling in line.
9 years ago
Morten Siebuhr 9eb2e98509 Fix up documentation + go fmt.
9 years ago
Morten Siebuhr 7371dcc787 Fuzzing corpus for ParseMetric.
9 years ago
Morten Siebuhr 5fec020b27 Initial fuzzing corpus for ParseExpr.
9 years ago
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