Commit Graph

115 Commits (73f74d301e5410880f8f977afbef754e33fae9e3)

Author SHA1 Message Date
Oleg Zaytsev dabd789fd5
Quote label name in matchers when needed
7 months ago
Oleg Zaytsev 4b7a44c7a0
Fix `parser.VectorSelector.String()` with empty name matcher (#14015)
7 months ago
Owen Williams 4a6f8704ef
parser: remake generated_parser output (#13923)
8 months ago
Neeraj Gartia 612de026da
Adds Inf and NaN as Numbers to Histogram in Promql Testing Framework (#13916)
8 months ago
Matthieu MOREL 6f595c6762
golangci-lint: enable whitespace linter (#13905)
8 months ago
Bryan Boreham 7c28521451 [TESTS] Truncate some long test names, for readability
8 months ago
Bryan Boreham 080d440bf8 Merge remote-tracking branch 'origin/main' into pr/13461
8 months ago
Owen Williams e01e7d36e2 fix: restore ability to match __name__ multiple times in selector
9 months ago
Owen Williams ac51a8024c tests(utf8): confirm that other quote marks are handled correctly in promql
9 months ago
Owen Williams a28d7865ad UTF-8: Add support for parsing UTF8 metric and label names
9 months ago
Bryan Boreham 17f48f2b3b Tests: use replacement DeepEquals in more places
10 months ago
Bryan Boreham 98c4889029
Merge pull request #9298 from Creatone/creatone/use-testify
10 months ago
Faustas Butkus 6feffeb92e
promql: add histogram_avg function (#13467)
10 months ago
Paweł Szulik 1a47c7d59b Refactor lexer tests to use testify.
10 months ago
Marco Pracucci f639d7794c
Fix TestParseExpressions
10 months ago
Ayoub Mrini ace9c8a3da
promtool: allow setting multiple matchers to "promtool tsdb dump" command. (#13296)
11 months ago
Bartlomiej Plotka 91a383f52c
Merge pull request #13059 from zenador/add-mad-function
12 months ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254)
12 months ago
Jeanette Tan 2910b48180 Make mad_over_time experimental and move tests
1 year ago
Jeanette Tan 9bf4cc993e Add mad_over_time function
1 year ago
Oleksandr Redko 2a75604f8e
Enable default revive rules (#13068)
1 year ago
Julien Pivotto c1ec6ae851 sort_by_label: Switch to feature flag
1 year ago
Alexander Trost 5051a993ab promql: add sort_by_label and sort_by_label_desc functions
1 year ago
Julien Pivotto c92fbf3fdf Add feature flag for PromQL experimental functions.
1 year ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments
1 year ago
Oleksandr Redko 8e5f0387a2
ci(lint): enable nolintlint and remove redundant comments (#12926)
1 year ago
zenador 69edd8709b
Add warnings (and annotations) to PromQL query results (#12152)
1 year ago
Gregor Zeitlinger f01718262a
Unit tests for native histograms (#12668)
1 year ago
zenador 54aaa2bd7e
Add `histogram_stdvar` and `histogram_stddev` functions (#12614)
1 year ago
Julien Pivotto a605b81b14
Merge pull request #12170 from fpetkovski/parser-inject-functions
1 year ago
Matthieu MOREL bae9a21200
Merge branch 'main' into linter/nilerr
2 years ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch`
2 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci
2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters
2 years ago
Bryan Boreham b987afa7ef labels: simplify call to get Labels from Builder
2 years ago
Filip Petkovski 3d7783e663
Add nolint for NewParser function
2 years ago
Filip Petkovski 97c7fffbb8
parser: Allow parsing arbitrary functions
2 years ago
Julien Pivotto 1fd59791e1 Update tests
2 years ago
Bryan Boreham 56fefcd812 Update package promql for new labels.Labels type
2 years ago
Bryan Boreham 6bdecf377c
Switch from 'sanity' to more inclusive lanuage (#9376)
2 years ago
Jesus Vazquez e934d0f011 Merge 'main' into sparsehistogram
2 years ago
Bryan Boreham b01d29cf9e promql: in tests use labels.FromStrings
2 years ago
Julien Pivotto 96d5a32659
Update go to 1.19, set min version to 1.18 (#11279)
2 years ago
beorn7 c9fd3c235d Merge branch 'main' into sparsehistogram
2 years ago
Vilius Pranckaitis 4660656312
Allow setting custom lookback delta for instant queries (#9946)
2 years ago
Julien Pivotto d41e5a5582
Prettifier: Add spaces with non-callable keywords (#11005)
2 years ago
beorn7 28f028e938 Merge branch 'main' into sparsehistogram
2 years ago
Harkishen Singh 44fcf876ca
Adds support for prettifying PromQL expression (#10544)
2 years ago
beorn7 9eafed0f79 promql: Add `histogram_count` and `histogram_sum`
2 years ago
beorn7 a3a8f58bb3 promql: Add histogram_fraction function
2 years ago