Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: only collate configured services #211

Closed
wants to merge 1 commit into from

Conversation

cmars
Copy link
Contributor

@cmars cmars commented Jun 27, 2022

If a service is removed from configuration, stop collating it. Storage is left intact.

This fixes an issue where past service scrapes continue to show up in the collated output, even when removed from the services configuration.

The same result might be had by removing a service from config and manually deleting items from storage on deploy, but this is not a very desirable thing to do in production. It's akin to a stop-the-world manual database migration.

Stacked on #210
Fixes #209

@cmars cmars requested a review from a team as a code owner June 27, 2022 22:41
@cmars cmars marked this pull request as draft June 27, 2022 22:42
@cmars cmars force-pushed the fix/only-scrape-collate-configured branch 2 times, most recently from df9f250 to 4db55db Compare June 28, 2022 15:30
If a service is removed from configuration, stop collating it.
@cmars cmars force-pushed the fix/only-scrape-collate-configured branch from 4db55db to dc86458 Compare June 28, 2022 16:27
@cmars
Copy link
Contributor Author

cmars commented Jul 29, 2022

Superseded by #216

@cmars cmars closed this Jul 29, 2022
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.

VU: cannot remove old services, cannot override paths
1 participant