Commit Graph

134 Commits (fc3fb3265a0f0061d07d0bf5fb4103e2144565b2)

Author SHA1 Message Date
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
Shubheksha Jalan ec94df49d4 Refactor SD configuration to remove `config` dependency (#3629)
7 years ago
Bryan Boreham a8cce41882 Set MaxIdleConnsPerHost alongside MaxIdleConns (#3592)
7 years ago
Alberto Cortés 29da2fb9cd testutil: update to go1.9 testing.Helper
7 years ago
Alberto Cortés 8f6a9f7833 config: simplify tests by using testutil.NotOk (#3289)
7 years ago
David Kaltschmidt 8e01e7e388 Handle runtime errors as fatal test results
7 years ago
David Kaltschmidt 3c5d207a53 Changed test failure handler to Fatalf(), added comment
7 years ago