Skip to content

discovery: prevent the manager from storing stale targets #13622

Merged
machine424 merged 1 commit intoprometheus:mainfrom
machine424:another-targets-leak
Aug 30, 2024
Merged

discovery: prevent the manager from storing stale targets #13622
machine424 merged 1 commit intoprometheus:mainfrom
machine424:another-targets-leak

Conversation

@machine424
Copy link
Member

@machine424 machine424 commented Feb 21, 2024

fixes #12436

needs #13147: merged.


>>>>>>> NOTE:

This fix concerns the SD manager behind the flag new-service-discovery-manager which is the manager used by most third parties but not the one used by default by Prometheus itself, as of now, Prometheus is still using the legacymanager

package legacymanager
by default. The plan is to switch to the new manager in 3.0 #13609


@roidelapluie
Copy link
Member

Thanks!

Signed-off-by: machine424 <ayoubmrini424@gmail.com>
@machine424 machine424 force-pushed the another-targets-leak branch from a781458 to 82b53c0 Compare August 30, 2024 12:24
@machine424 machine424 enabled auto-merge (rebase) August 30, 2024 12:25
@machine424 machine424 merged commit d23d196 into prometheus:main Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using Prometheus SD as a library did not work as expected

2 participants