Commit Graph

83 Commits (8a34c43515fc0b9452ecf4f238c44a9f249d5da3)

Author SHA1 Message Date
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
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
Matthieu MOREL 0906f2eafa
refactor (promql): move from github.com/pkg/errors to 'errors' and 'fmt' (#10817)
3 years ago
Ivo Gosemann e22b54e253 Adds day_of_year function to PromQL
3 years ago
Łukasz Mierzwa a4317bf0ec
Run gofumpt on all files (#10392)
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Mateusz Gozdek b7bdf6fab2 Fix imports formatting
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
Levi Harrison f5c6ee4df6 Add lex test
3 years ago
Levi Harrison 7471208b5c Add `ATAN2` to `maybe_label`
3 years ago
Levi Harrison 8547a2bd86 Add `atan2` binary operator
3 years ago
Levi Harrison 6faca22eec Add inverse hyperbolic functions
3 years ago
Levi Harrison 53d88fd147 Added hyperbolic trig functions
3 years ago
Levi Harrison ecc29d38b8 Fixed `pi` definition
3 years ago
Levi Harrison 9fc7ba33aa Remove `atan2()`
3 years ago
Levi Harrison d5ecdc4597 Remove variadic
3 years ago
Levi Harrison 309e020c0a Added functions
3 years ago
Paweł Szulik f5563bfe95
tests: Move from t.Errorf and others. (Part 2) (#9309)
3 years ago
Oleg Zaytsev 0a43e788af
Allow VectorSelector.String() without matchers (#9282)
3 years ago
Julien Pivotto cab96a06ef
Merge release 2.29 in main (#9196)
3 years ago
Darshan Chaudhary c4f2e9eec5
Add present_over_time (#9097)
3 years ago
Levi Harrison 4a4882d4c7 Replace godoc.org links
3 years ago
Julius Volz e313ffa8ab
Fix "instant selector vector" typo in error messages (#8800)
4 years ago
Callum Styan 289ba11b79
Add circular in-memory exemplars storage (#6635)
4 years ago
schou 3bafe17870 add negative offset to printer
4 years ago
pschou f80b52be69
Merge branch 'main' into dev_neg_offset
4 years ago
schou efbf3af05d reduce addOffst to 2 parameters
4 years ago
schou 851acf86ee rebuild generated_parser.y.go
4 years ago
schou 0c577c547b add negative offset ability
4 years ago
pschou aff3c702ab
promql: Add sgn, clamp and last_over_time functions (#8457)
4 years ago
Danny Kopping 42a0e0acad
Prevent lexer from seeking to next rune after lexing escape sequence. (#8517)
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)
4 years ago