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

Verify that removed resources are no longer scraped during the next run #1244

Closed
tomkerkhove opened this issue Aug 27, 2020 · 1 comment · Fixed by #1383
Closed

Verify that removed resources are no longer scraped during the next run #1244

tomkerkhove opened this issue Aug 27, 2020 · 1 comment · Fixed by #1383
Labels
agents:discovery-agent All issues related to the resource discovery agent

Comments

@tomkerkhove
Copy link
Owner

Verify that removed resources are no longer scraped during the next run.

Scenario is:

  • Add resource
  • Run discovery
  • Scrape metrics (incl. that resource)
  • Remove resource
  • Run discovery
  • Scrape metrics (excl. that resource)
@tomkerkhove tomkerkhove added the agents:discovery-agent All issues related to the resource discovery agent label Aug 27, 2020
@tomkerkhove tomkerkhove added this to the Scraper - v2.0.0 milestone Aug 27, 2020
@tomkerkhove
Copy link
Owner Author

It works as expected - The resource is no longer scraped but Prometheus metrics are still served, but with an older timestamp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agents:discovery-agent All issues related to the resource discovery agent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant