Commit Graph

261 Commits (716c5164e45eca472711d4c8932fe934a68303c0)

Author SHA1 Message Date
Alan Protasio 606ef33d91 Track and report Samples Queried per query
3 years ago
Jan Fajerski 2c3d45c88a
Replace vfsgen with embed for static web assets (#10220)
3 years ago
Łukasz Mierzwa a4317bf0ec
Run gofumpt on all files (#10392)
3 years ago
Julien Pivotto 9a2e93228e
Switch to grafana/regexp everywhere (#10268)
3 years ago
Matej Gera 2c61d29b2a
Tracing: Migrate to OpenTelemetry library (#9724)
3 years ago
David Leadbeater a961062c37
Disable time based retention in tests (#8818)
3 years ago
Julius Volz 2c49860f69 Add license notice for code adapted from Go
3 years ago
Julien Pivotto b48a1e9e9b
Revert "Replace vfsgen with embed for static web assets (#9719)" (#9870)
3 years ago
Jan Fajerski ddaddc2a7a
Replace vfsgen with embed for static web assets (#9719)
3 years ago
Mateusz Gozdek 5e002dec68 util/testutil: add RandomUnprivilegedPort function
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Dieter Plaetinck cda025b5b5
TSDB: demistify SeriesRefs and ChunkRefs (#9536)
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
Paweł Szulik f5563bfe95
tests: Move from t.Errorf and others. (Part 2) (#9309)
3 years ago
austin ce 5bdfba1d20
Extract and export GetFQDN()
3 years ago
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
7 years ago
Fabian Reinartz ccf9e62972 *: add admin grpc API
7 years ago
Fuente, Pablo Andres 902fafb8e7 Fixing tests for Windows
7 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
Matt Layher 34a4813464 Initial promlint counter _total suffix check (#2624)
8 years ago
Matt Layher 254cb1ec29 Use untyped metrics for some promlint tests (#2623)
8 years ago
Matt Layher 283756c503 Initial commit of 'promtool check-metrics', promlint package (#2605)
8 years ago
Fabian Reinartz 8ffc851147 Merge branch 'master' into dev-2.0
8 years ago
Julius Volz 815762a4ad Move retrieval.NewHTTPClient -> httputil.NewClientFromConfig
8 years ago
Fabian Reinartz c389193b37 Merge branch 'master' into dev-2.0
8 years ago
Stephan Erb 3038d0eb9b Prevent deadlock in ZK TreeCache constructor by deferring the initial sync.
8 years ago
Fabian Reinartz 4397b4d508 *: pass Prometheus registry into storage
8 years ago
Fabian Reinartz 311e7b5069 storage/vendor: update to latest fabxc/tsdb
8 years ago
Fabian Reinartz 5772f1a7ba retrieval/storage: adapt to new interface
8 years ago
Fabian Reinartz 71fe0c58a8 promql: misc fixes
8 years ago
Fabian Reinartz fecf9532b9 *: fix misc compile errors
8 years ago
Fabian Reinartz 622ece6273 *: fix recording tests, migrate matcher types
8 years ago
Tom Wilkie 4520e12440 Add HTTP Basic Auth & TLS support to the generic write path. (#1957)
8 years ago
Ulfsparre, Tommy 3730255392 remove deleted zookeeper nodes
8 years ago
beorn7 094a098ce6 Revert "Revert the /graph changes."
8 years ago
beorn7 aa43d34a86 Revert the /graph changes.
8 years ago
Bora Tunca fc6cdd0611 Update backend helpers and templates to new url schema
8 years ago
Julius Volz 3bfec97d46 Make the storage interface higher-level.
8 years ago
Gregory G. Tseng 7997c14b0d Add ServerName into TLS Config
9 years ago
Jonathan Boulle 38098f8c95 Add missing license headers
9 years ago
beorn7 3d86130d8c Merge branch 'master' into beorn7/storage3
9 years ago
beorn7 f193f2b8ef Add a command to promtool that dumps metadata of heads.db
9 years ago
beorn7 c740789ce3 Improve predict_linear
9 years ago
Ignacio Carbajo 0c537d6af6 Fix minor typo
9 years ago
Julius Volz 9b6d69610a Fix various typos in comments.
9 years ago
beorn7 a7408bfb47 Unify duration parsing
9 years ago
Julien Dehee 061fe2f364 Support AirBnB's Smartstack Nerve client for SD
9 years ago
Julius Volz 46c5260761 Support escape sequences in strings and add raw strings.
9 years ago
Julius Volz 7e86cd1ef4 Add Unquote() strutil function.
9 years ago
Fabian Reinartz 398bbf906b Switch to common/route package
9 years ago
Julius Volz 0179bbfe03 Fix / -> /graph redirect when using a path prefix.
9 years ago
Julius Volz af513468eb Fix some dead code, missing error checks, shadowings.
9 years ago
Jimmi Dyson a1574aa2b3 Move TLS options to scrape config
9 years ago
Julius Volz 995d3b831d Fix most golint warnings.
9 years ago