Commit Graph

58 Commits (main)

Author SHA1 Message Date
Matthieu MOREL af1a19fc78 enable errorf rule from perfsprint linter
2 weeks ago
TJ Hoplock 6ebfbd2d54 chore!: adopt log/slog, remove go-kit/log
2 months ago
machine424 d23d196db5 fix(discovery): prevent the manager from storing stale targetGroups
3 months ago
machine424 c586c15ae6 fix(discovery): make discovery manager notify consumers of dropped targets for still defined jobs
3 months ago
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code
6 months ago
David Ashpole bbfc72b4e2
support unregistering discovery manager metrics (#13896)
8 months ago
sellskin ff15b17400 remove code that will not be executed
8 months ago
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