Commit Graph

82 Commits (ce1bf8b15aebea9f2f7b2381a5c63f9583e89202)

Author SHA1 Message Date
Matthieu MOREL 0906f2eafa
refactor (promql): move from github.com/pkg/errors to 'errors' and 'fmt' (#10817)
3 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528)
3 years ago
Alan Protasio 606ef33d91 Track and report Samples Queried per query
3 years ago
Julien Pivotto 9a2e93228e
Switch to grafana/regexp everywhere (#10268)
3 years ago
beorn7 c2b80d8643 PromQL: Test negative offset in PromQL tests
3 years ago
beorn7 b39f2739e5 PromQL: Always enable negative offset and @ modifier
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Paweł Szulik f5563bfe95
tests: Move from t.Errorf and others. (Part 2) (#9309)
3 years ago
Darshan Chaudhary c4f2e9eec5
Add present_over_time (#9097)
3 years ago
Levi Harrison 90976e7505
Promtool: Add feature flags to unit tests (#8958)
3 years ago
Callum Styan 8fd73b1d28
Add Exemplar Remote Write support (#8296)
4 years ago
Callum Styan 289ba11b79
Add circular in-memory exemplars storage (#6635)
4 years ago
Julien Pivotto 5742a18590 Fix subqueries with default resolution in promql unit tests
4 years ago
Tom Wilkie 7369561305
Combine Appender.Add and AddFast into a single Append method. (#8489)
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 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Annanay 7f98a744e5 Add context to Appender interface
4 years ago
Bartlomiej Plotka a0df8a383a
promql: Removed global and add ability to have better interval for subqueries if not specified (#7628)
4 years ago
Ben Ye 1e4e37144d
Fixed wrongly handled not ready TSDB on web and API. (#7182)
5 years ago
Brian Brazil 7646cbca32
Use .UTC everywhere we use time.Unix (#7066)
5 years ago
Tobias Guggenmos 4835bbf376
Merge branch 'master' into split_parser
5 years ago
Bartlomiej Plotka 849faa407b Minor fixes.
5 years ago
Bartlomiej Plotka 34426766d8 Unify Iterator interfaces. All point to storage now.
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
Tobias Guggenmos 6b1b323558 Export sequenceValue
5 years ago
Tobias Guggenmos 2f1113479f Fix usages of ValueType
5 years ago
Julien Pivotto 9adad8ad30 Remove MaxConcurrent from the PromQL engine opts (#6712)
5 years ago
Tobias Guggenmos d642570924 PromQL: Use PositionRange in parser errors (#6634)
5 years ago
yuxiaobo96 5f6a56a0bb Third correction (#6012)
5 years ago
Chris Marchbanks 0685eb5395
Refactor testutil.NewStorage into a new package
5 years ago
Advait Bhatwadekar 5d401f1e1b Added query logging for prometheus. Issue #1315 (#5794)
5 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
6 years ago
Matt Layher 43c9d9e91f promql: apply golint suggestions (#5066)
6 years ago
beorn7 d6841c52e0 Merge branch 'release-2.6'
6 years ago
Ganesh Vernekar 341f04ca9c
Empty slice after last append in promql test LazyLoader
6 years ago
Ganesh Vernekar dbe55c1352 Subquery (#4831)
6 years ago
Ganesh Vernekar cfb3769274 Lazily load samples for unit testing (#4851)
6 years ago
Callum Styan 9bca041285 WIP: keep track of samples per query, set a max # of samples (#4513)
6 years ago
Julius Volz 8fbe1b5133
Handle a bunch of unchecked errors (#4461)
6 years ago
Alin Sinpalean 91ce63a140 Log the line when failing a PromQL test. (#4272)
7 years ago
Brian Brazil dd6781add2 Optimise PromQL (#3966)
7 years ago
Brian Brazil c0ce35d2d3 Only show debug output on test failure
7 years ago
Brian Brazil e6ea146c81 Make benchmark tests pass
7 years ago
Fabian Reinartz 7ccd4b39b8 *: implement query params
7 years ago
Julius Volz 099df0c5f0 Migrate "golang.org/x/net/context" -> "context" (#3333)
7 years ago
Fabian Reinartz dba7586671 Merge branch 'master' into dev-2.0
7 years ago
Tom Wilkie 835eb8c653 Add _test.go suffix to promql/{bench.go, test.go} to prevent importing the testing package in a normal binary.
7 years ago
Fabian Reinartz 5772f1a7ba retrieval/storage: adapt to new interface
8 years ago