Commit Graph

50 Commits (8f75da3fd675dbde9a1caca82dc6643ae1d729d4)

Author SHA1 Message Date
Simon Pasquier 71217a6e43
fix: prevent invalid array access in aggregate expression 1 week ago
György Krajcsovits 06d0b063ea fix(parser): parenthesis around aggregate expression parsing 2 months ago
Julien Pivotto 2f6ad79edf Move calculation to the engine 3 months ago
Julien Pivotto 9cfd6f7df8 PromQL duration expr: Add a check for durations our of range 3 months ago
Julien Pivotto 7370d62acf PromQL: allow arithmetic in durations in PromQL parser 3 months ago
Arve Knudsen 56929ffa42 Upgrade to Go v1.24 (#16180) 4 months ago
Owen Williams 8d4bcd2c77 promql: Fix various UTF-8 bugs related to quoting 7 months ago
zenador e13c28bd4a
Use a function to determine if an aggregation function is experimental (#15331) 7 months ago
Arve Knudsen de16f5e387
[FEATURE] PromQL: Add experimental info function MVP (#14495) 8 months ago
Charles Korn 7fab72a280
promqltest: add support for setting counter reset hint on histogram samples (#14537) 11 months ago
darshanime cfad8ff3b2 Deprecate duration token 12 months ago
darshanime 8c8860d2d6 Allow number literals as duration 12 months ago
JuanJo Ciarlante c94c5b64c3
feat: add limitk() and limit_ratio() operators (#12503) 12 months ago
zenador 545a7e48f9
[nhcb branch] Enhance unit test framework for nhcb and warnings (#14009) 1 year ago
Matthieu MOREL 6f595c6762
golangci-lint: enable whitespace linter (#13905) 1 year ago
Owen Williams e01e7d36e2 fix: restore ability to match __name__ multiple times in selector 1 year ago
György Krajcsovits 5d0a0a7542 Add custom buckets to native histogram model (#13592) 1 year ago
Owen Williams a28d7865ad UTF-8: Add support for parsing UTF8 metric and label names 1 year ago
Ayoub Mrini ace9c8a3da
promtool: allow setting multiple matchers to "promtool tsdb dump" command. (#13296) 1 year ago
Oleksandr Redko 2a75604f8e
Enable default revive rules (#13068) 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
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
Filip Petkovski 3d7783e663
Add nolint for NewParser function 2 years ago
Filip Petkovski 97c7fffbb8
parser: Allow parsing arbitrary functions 2 years ago
Bryan Boreham 6bdecf377c
Switch from 'sanity' to more inclusive lanuage (#9376) 3 years ago
Matthieu MOREL 0906f2eafa
refactor (promql): move from github.com/pkg/errors to 'errors' and 'fmt' (#10817) 3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory 4 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra' 4 years ago
Levi Harrison 4a4882d4c7 Replace godoc.org links 4 years ago
Julius Volz e313ffa8ab
Fix "instant selector vector" typo in error messages (#8800) 4 years ago
schou efbf3af05d reduce addOffst to 2 parameters 4 years ago
schou 0c577c547b add negative offset ability 4 years ago
Ganesh Vernekar 86c71856e8
Add start() and end() pre-processors for @ modifier (#8425) 4 years ago
Ganesh Vernekar 9199fcb8d1
'@ <timestamp>' modifier (#8121) 4 years ago
Julien Pivotto 34656bbf8e
PromQL parser: fastpath for non-empty matchers and metric name (#8345) 5 years ago
Brian Brazil bef9d4e182
Don't include rendered expression in parse errors. (#8177) 5 years ago
johncming 267dd17fe7
promql/parser: use pos instead of origin. (#7853) 5 years ago
Julien Pivotto 7eedcc708e promql/parser: Cleanup generatedParserResult accross reuse 5 years ago
Julien Pivotto 1f6f8e60ee promql/parser: Cleanup generatedParserResult accross reuse 5 years ago
Ben Kochie 269e7c8091
Fix golint issues. 5 years ago
Tobias Guggenmos 012161d90d
PromQL: Fix lexer error handling (#6958) 5 years ago
Julien Pivotto 5ddd1dcf0f
Fix panic when parsing varags (#6940) 5 years ago
LongKB 82f7ed208b
Remove some duplicated words (#6882) 5 years ago
Tobias Guggenmos 1360f9ff12 Fix all build errors in promql package 5 years ago
Tobias Guggenmos ff0ea1c1ac Fix more identifiers 5 years ago