Commit Graph

137 Commits (e196b977afdfd3cc72ac15de97845bec056a8a3d)

Author SHA1 Message Date
Owen Williams 9da75328ea
fix(utf8): ensure correct validation when legacy mode turned on (#14736) 1 year ago
beorn7 0f760f63dd lint: Revamp our linting rules, mostly around doc comments 1 year ago
Arve Knudsen 3a78e76282 Upgrade golangci-lint to v1.60.1 1 year ago
Owen Williams d90c5a71d7 support quoting in grouping label lists 1 year ago
Charles Korn 7fab72a280
promqltest: add support for setting counter reset hint on histogram samples (#14537) 1 year ago
darshanime bd4ea118e9 Allow durations for number rule 2 years ago
darshanime cfad8ff3b2 Deprecate duration token 2 years ago
darshanime 8c8860d2d6 Allow number literals as duration 2 years ago
JuanJo Ciarlante c94c5b64c3
feat: add limitk() and limit_ratio() operators (#12503) 2 years ago
Pranshu Srivastava 3c9e3ee552
parser: support underscores 2 years ago
Oleg Zaytsev 03cf6141d4
Fix Matcher.String() with empty label name 2 years ago
Filip Petkovski 6e68046c25
Implement histogram statistics decoder (#14097) 2 years ago
Oleg Zaytsev dabd789fd5
Quote label name in matchers when needed 2 years ago
zenador 545a7e48f9
[nhcb branch] Enhance unit test framework for nhcb and warnings (#14009) 2 years ago
Oleg Zaytsev 4b7a44c7a0
Fix `parser.VectorSelector.String()` with empty name matcher (#14015) 2 years ago
Owen Williams 4a6f8704ef
parser: remake generated_parser output (#13923) 2 years ago
Neeraj Gartia 612de026da
Adds Inf and NaN as Numbers to Histogram in Promql Testing Framework (#13916) 2 years ago
Matthieu MOREL 6f595c6762
golangci-lint: enable whitespace linter (#13905) 2 years ago
Bryan Boreham 7c28521451 [TESTS] Truncate some long test names, for readability 2 years ago
Owen Williams e01e7d36e2 fix: restore ability to match __name__ multiple times in selector 2 years ago
György Krajcsovits 5d0a0a7542 Add custom buckets to native histogram model (#13592) 2 years ago
Owen Williams ac51a8024c tests(utf8): confirm that other quote marks are handled correctly in promql 2 years ago
Owen Williams a28d7865ad UTF-8: Add support for parsing UTF8 metric and label names 2 years ago
Bryan Boreham 17f48f2b3b Tests: use replacement DeepEquals in more places 2 years ago
Faustas Butkus 6feffeb92e
promql: add histogram_avg function (#13467) 2 years ago
Paweł Szulik 1a47c7d59b Refactor lexer tests to use testify. 2 years ago
Marco Pracucci f639d7794c
Fix TestParseExpressions 2 years ago
Ayoub Mrini ace9c8a3da
promtool: allow setting multiple matchers to "promtool tsdb dump" command. (#13296) 2 years ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254) 2 years ago
Jeanette Tan 2910b48180 Make mad_over_time experimental and move tests 2 years ago
Jeanette Tan 9bf4cc993e Add mad_over_time function 2 years ago
Oleksandr Redko 2a75604f8e
Enable default revive rules (#13068) 2 years ago
Julien Pivotto c1ec6ae851 sort_by_label: Switch to feature flag 2 years ago
Alexander Trost 5051a993ab promql: add sort_by_label and sort_by_label_desc functions 2 years ago
Julien Pivotto c92fbf3fdf Add feature flag for PromQL experimental functions. 2 years ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments 2 years ago
Oleksandr Redko 8e5f0387a2
ci(lint): enable nolintlint and remove redundant comments (#12926) 2 years ago
zenador 69edd8709b
Add warnings (and annotations) to PromQL query results (#12152) 2 years ago
Gregor Zeitlinger f01718262a
Unit tests for native histograms (#12668) 2 years ago
zenador 54aaa2bd7e
Add `histogram_stdvar` and `histogram_stddev` functions (#12614) 2 years ago
Ziqi Zhao 42d9169ba1 enhance histogram_quantile to get min/max value 3 years ago
Carrie Edwards bc0ee4a469 Implement native histogram min and max query functions 3 years ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch` 3 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci 3 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters 3 years ago
Bryan Boreham b987afa7ef labels: simplify call to get Labels from Builder 3 years ago
Filip Petkovski 3d7783e663
Add nolint for NewParser function 3 years ago
Filip Petkovski 97c7fffbb8
parser: Allow parsing arbitrary functions 3 years ago
Julien Pivotto 1fd59791e1 Update tests 3 years ago
Bryan Boreham 56fefcd812 Update package promql for new labels.Labels type 3 years ago