Commit Graph

51 Commits (57c799132b8d5b3bc1c0d5489653a789ccb617dc)

Author SHA1 Message Date
Paweł Szulik 7f24efccdb Refactor discovery tests to use testify.
10 months ago
Paulin Todev 78411d5e8b
SD Managers taking over responsibility for registration of debug metrics (#13375)
10 months ago
Paulin Todev 6a5306a53c
Use const labels for Discovery Manager metrics.
12 months ago
Paulin Todev 6de80d7fb0
Allow non-default registry to be used for metrics of SD components
12 months ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254)
12 months ago
Julien Pivotto 009017a3fb Revert "Remove deleted target from discovery manager"
1 year ago
haleyao c5a37ddad5 Remove deleted target from discovery manager
1 year ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci
2 years ago
Shihao Xia d26fd5c97b
fix potential goroutine leaks (#10057)
3 years ago
Julien Pivotto b9c814fce6
Merge pull request #9681 from prometheus/release-2.31
3 years ago
Julien Pivotto 9621c2c0cc
Fix race with targets update during ApplyConfig (#9656)
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
lzhfromustc d42be7be76
test:Fix two potential goroutine leaks (#8964)
3 years ago
Vladimir Kononov 1043d2b594
Discovery: abstain from restarting providers if possible (#9321) (#9349)
3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
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
Andy Bursavich 4e6a94a27d
Invert service discovery dependencies (#7701)
4 years ago
johncming 01d096567b
discovery: simplify code. (#7725)
4 years ago
Julien Pivotto 93e9c010f3
Add more Go leak tests (#7652)
4 years ago
ZouYu f494426f73
fix warning redundant type from array, slice, or map composite literal (#7106)
5 years ago
Nevill 7465f27ea5 Refactor on discovery/manager_test.go
5 years ago
Nevill 048f81218d Change prometheus_sd_configs_failed_total to Gauge
5 years ago
JoeWrightss e4b88704a6 Fix misspell in manager_test.go (#5279)
6 years ago
Matt Layher 302148fd69 *: apply gofmt -s
6 years ago
Simon Pasquier 8b91d39c43
discovery: send empty group on empty SD config (#4819)
6 years ago
Simon Pasquier e7cee1b5ba Remove tests redundant with TestTargetUpdatesOrder
6 years ago
Simon Pasquier 7dc3f11306 WIP discovery: refactor TestTargetUpdatesOrder
6 years ago
Simon Pasquier 8fd891bf3f Speed up tests that were still using the 5s timeout
6 years ago
Simon Pasquier 8289501420 Address krasi's comments
6 years ago
Simon Pasquier 1cee5b5b06 Don't multiple the interval value by 1ms in the mock
6 years ago
Simon Pasquier 4900405d2f Refactor TestCoordinationWithReceiver() to work with any Discoverer
6 years ago
Simon Pasquier 0798f14e02 Add TestCoordinationWithEmptyProvider
6 years ago
Simon Pasquier 48989d8996 discovery: add more tests
6 years ago
Krasi Georgiev ba7eb733e8 tidy up the discovery logs,updating loops and selects (#4556)
6 years ago
Simon Pasquier 674c76adb8 discovery: coalesce identical SD configurations (#3912)
6 years ago
Paul Gier d24d2acd11 config: set target group source index during unmarshalling (#4245)
7 years ago
Manos Fokas 25f929b772 Yaml UnmarshalStrict implementation. (#4033)
7 years ago
ferhat elmas ffa673f7d8 General simplifications (#3887)
7 years ago
Krasi Georgiev 818dda72db updated the sd tests
7 years ago
Krasi Georgiev fe926e7829 update the discover tests
7 years ago
Krasi Georgiev 767faa44b6 fixed the tests
7 years ago
Krasi Georgiev febebcd49a more comments for the future ME, and reverted the Discovery manager execution changes as these were correct in the first place
7 years ago
Krasi Georgiev cabce21b70 delete empty targets sets to avoid memory leaks
7 years ago
Krasi Georgiev 135ea0f793 discovery manager - doesn't need sorting of the target groups so move it in the discovery manager tests as we only need it there.
7 years ago
Shubheksha Jalan ec94df49d4 Refactor SD configuration to remove `config` dependency (#3629)
7 years ago
Krasi Georgiev 587dec9eb9 rebased and resolved conflicts with the new Discovery GUI page
7 years ago
Krasi Georgiev 80182a5d82 use poolKey as the pool map key to avoid multi dimensional maps
7 years ago
Krasi Georgiev 1ec76d1950 rearange the contexts variables and logic
7 years ago
Krasi Georgiev aca8f85699 fixed the tests
7 years ago