Commit Graph

140 Commits (8f6c5e8cb07f686d29a37b3458c2353d1d2d221e)

Author SHA1 Message Date
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Julien Pivotto 93e9c010f3
Add more Go leak tests (#7652)
4 years ago
Guangwen Feng f50786bcd1
Add unit test case to improve test coverage for quote.go (#7482)
4 years ago
Hongcai Ren c7e82274c6
replace github.com/prometheus/prometheus/testutil/promlint by github.com/prometheus/client_golang/prometheus/testutil/promlint from our codebase (#7209)
5 years ago
Ben Ye 1e4e37144d
Fixed wrongly handled not ready TSDB on web and API. (#7182)
5 years ago
ZouYu 2b7437d60e
Fix some warnings: 'redundant type from array, slice, or map composite literal' (#7109)
5 years ago
Bartlomiej Plotka 104a1313d4
testutil: Enriched Equals with diff on error. (#7053)
5 years ago
Björn Rabenstein bc703b6456
Use `struct{}` as underlying type for context keys (#6965)
5 years ago
Peter Štibraný a7d3a456d6 Updated code based on Juliens comments (via Slack).
5 years ago
Peter Štibraný fe3fe5740e Updated comment.
5 years ago
Peter Štibraný baa6f60384 Changed var name.
5 years ago
Peter Štibraný 318cd413fc Don't return error in ContextFromRequest function.
5 years ago
Bartlomiej Plotka cfba92a133 Addressed comments.
5 years ago
Bartlomiej Plotka fb79f515fc Fixed second bug.
5 years ago
Bartlomiej Plotka aadffd1360 Finally found a fix for the bug I was chasing for 2h...
5 years ago
Bartlomiej Plotka 34426766d8 Unify Iterator interfaces. All point to storage now.
5 years ago
Julien Pivotto 5f27ac3583 Refactor query log fields (#6694)
5 years ago
Julien Pivotto 2b2eb79e8b Add windows tests for query logger (#6653)
5 years ago
Julien Pivotto e7f7b6a06f Query Log: Add source IP from console queries (#6593)
5 years ago
Josh Soref 91d76c8023 Spelling (#6517)
5 years ago
Julien Pivotto 31700a05df Improve testutil.ErrorEqual (#6471)
5 years ago
Simon Pasquier b15dda9e07
util/promlint: simplify sorting function (#6448)
5 years ago
RainbowMango f9de671cdd Fix promlint order algorithm not work issue.
5 years ago
Dipack P Panjabi ce7bab04dd Compute WAL size and use it during retention size checks (#5886)
5 years ago
陈谭军 0f022aa42b fix unreasonable goimports (#6115)
5 years ago
Krasi Georgiev 29c190df73
remove missing substitution in the Equal test util. (#6039)
5 years ago
zhulongcheng 970ef41bb6 Fix exported function comments (#6002)
5 years ago
David Ellis dbfd493265 More promlint rules (#5515)
5 years ago
Bartek Plotka f0863a604e Removed extra tsdb/testutil after merge.
5 years ago
Chris Marchbanks 529ccff07b
Remove all usages of stretchr/testify
5 years ago
Chris Marchbanks 0685eb5395
Refactor testutil.NewStorage into a new package
5 years ago
Ye Ji 2c715d22cf Fix zk connection leak (#5675)
6 years ago
Simon Pasquier 45506841e6
*: enable all default linters (#5504)
6 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
6 years ago
Hrishikesh Barman 9c4e258651 corrected regex string check for anyorigin(*) (#5117)
6 years ago
Hrishikesh Barman a1f34bec2e Added CORS Origin flag (#5011)
6 years ago
Simon Pasquier f678e27eb6
*: use latest release of staticcheck (#5057)
6 years ago
Tariq Ibrahim a188693015 Adding unit tests for the util package (#4534)
6 years ago
Goutham Veeramachaneni 71855a22a4
Add tracing spans to promql (#4436)
6 years ago
Tom Wilkie 3b5dea4e6d Don't import testing in code which is imported from non-test code. (#4400)
6 years ago
Brian Brazil dd6781add2 Optimise PromQL (#3966)
7 years ago
Adam Shannon 809881d7f5 support reading basic_auth password_file for HTTP basic auth (#4077)
7 years ago
Philippe Laflamme 2aba238f31 Use common HTTPClientConfig for marathon_sd configuration (#4009)
7 years ago
Manos Fokas 25f929b772 Yaml UnmarshalStrict implementation. (#4033)
7 years ago
ferhat elmas ffa673f7d8 General simplifications (#3887)
7 years ago
pasquier-s a9c93b8918 Remove unused flock package (#3853)
7 years ago
Krasi Georgiev 4d47a48422 client test comment nits.
7 years ago
Krasi Georgiev d202718116 read bearer token on every request , + some http and scrape tests
7 years ago
Shubheksha Jalan 0471e64ad1 Use shared types from the `common` repo (#3674)
7 years ago