Commit Graph

196 Commits (de172049abc9b795e226c2153fcfaea48804bbf9)

Author SHA1 Message Date
Martin Disibio 1bcd13d6b5
Exemplar resize (#8974)
3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
Levi Harrison 7bc11dcb06
React UI: Add Starting Screen (#8662)
4 years ago
Julien Pivotto 29c65de359
Ignore k8s' updateUnfinishedWorkLoop go routine in goleak tests (#8598)
4 years ago
Callum Styan 289ba11b79
Add circular in-memory exemplars storage (#6635)
4 years ago
Julien Pivotto 120a84da5d zookeeper: change upstream to github.com/go-zookeeper/zk
4 years ago
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
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
David Kaltschmidt 79caf5342e Comment styles
7 years ago
David Kaltschmidt 0a3faee526 Pushed query timings into timings field, added tests
7 years ago
David Kaltschmidt 87c46ea6c3 Renamed TotalEvalTime to EvalTotalTime
7 years ago
David Kaltschmidt af75ce02c1 Review feedback
7 years ago
David Kaltschmidt c93e54d240 Adds execution timer stats to the range query
7 years ago
Julius Volz c3d6abc8e6 Fix some lint errors (#3334)
7 years ago
Alexander Kazarin 2c163f32a5 fix for issue 2976 (#3313)
7 years ago
Thibault Chataigner bf4a279a91 Remote storage reads based on oldest timestamp in primary storage (#3129)
7 years ago
Julien Levesy 8c1b9e45cf add a NotOk helper method in the testing package
7 years ago
Fabian Reinartz 269b5cf936 Merge pull request #3245 from jlevesy/use-require-web
7 years ago
Marc Sluiter 6a633eece1 Added go-conntrack for monitoring http connections (#3241)
7 years ago
Julien Levesy 332910d02d import assertion helpers in testutil
7 years ago
Fabian Reinartz 2d0b8e8b94 Merge branch 'master' into dev-2.0
7 years ago
Alberto Cortés 2c9739162e utils/stats: remove dead code
7 years ago
Bryan Boreham e0a4d18301 Allow http keep-alive setting to be overridden in config
7 years ago
Fabian Reinartz d21f149745 *: migrate to go-kit/log
7 years ago
Fabian Reinartz 87918f3097 Merge branch 'master' into dev-2.0
7 years ago
Lynn Lin 1bf25dc1b2 fix issues reported by gofmt and spelling typo (#3127)
7 years ago
Fabian Reinartz 921c6ebb3b Merge branch 'dev-2.0' into mergemaster
7 years ago
Fabian Reinartz 25f3e1c424 Merge branch 'master' into mergemaster
7 years ago
Fabian Reinartz 9516d04472 util: Add idle timeout for scrape connections
7 years ago
Pablo Andres Fuente c79a4db812 Adding tests for util/httputil/client (#3002)
7 years ago
Fabian Reinartz dba7586671 Merge branch 'master' into dev-2.0
8 years ago
Fabian Reinartz ccf9e62972 *: add admin grpc API
8 years ago
Fuente, Pablo Andres 902fafb8e7 Fixing tests for Windows
8 years ago
Goutham Veeramachaneni e3701077c3
Move promtool to kingpin
8 years ago
Goutham Veeramachaneni d407bd150c Consolidate the duration params in CLI
8 years ago
Goutham Veeramachaneni 507790a357
Rework logging to use explicitly passed logger
8 years ago
Fabian Reinartz 669075c6b9 Merge branch 'master' into dev-2.0
8 years ago
Conor Broderick 6766123f93 Replace regex with Secret type and remarshal config to hide secrets (#2775)
8 years ago
Fabian Reinartz d289dc55c3 storage: update TSDB
8 years ago
Fabian Reinartz 6e804b3497 Merge branch 'master' into dev-2.0
8 years ago
Stephan Erb 0b9fca983b Fix reload of ZooKeeper service discovery config (#2669)
8 years ago
Fabian Reinartz 0f3110487d Merge remote-tracking branch 'origin/dev-2.0' into dev-2.0
8 years ago
Fabian Reinartz 73b8ff0ddc Merge branch 'master' into dev-2.0
8 years ago
Brian Brazil 5c9a6ce747 Add license to files.
8 years ago
Matt Layher 1faf33acac Add promlint check for histogram/summary reserved names (#2626)
8 years ago
Matt Layher cc4198f421
Simplify promlint problems gathering, use protobuf accessors
8 years ago