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

Remove Pyroscope scrape loops for no longer active targets #1833

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

ptodev
Copy link
Contributor

@ptodev ptodev commented Oct 4, 2024

PR Description

There is a bug which causes pyroscope.scrape to keep trying to scrape targets even if they're no longer active. We can also see error logs in internal clusters, but we hadn't noticed them before.

Credits in the changelog go to @mattdurham, @wildum, and @dehaansa. We have a squad meeting once every few weeks for bug fixing and socializing. We chose this bug for today's meeting, so I'm adding all the folks from the meeting to the changelog :)

Which issue(s) this PR fixes

Fixes #1789

PR Checklist

  • CHANGELOG.md updated
  • Documentation added
  • Tests updated
  • Config converters updated

Copy link
Contributor

@wildum wildum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks for opening the PR and adding a test :)

@ptodev ptodev merged commit 239ad18 into main Oct 7, 2024
18 checks passed
@ptodev ptodev deleted the ptodev/pyro-scrape-bug branch October 7, 2024 12:49
pbailhache pushed a commit to pbailhache/alloy that referenced this pull request Oct 17, 2024
ptodev added a commit that referenced this pull request Oct 18, 2024
* Add v1.4.3 to the changelog

* [faro collector] add missing struct fields so that payload.meta.browser fields are not lost (#1824)

* Update payload.go

* Update CHANGELOG.md

* Update payload.go

* Update payload.go

* Update payload.json

* Update payload.json

* Update payload.json

* Update payload_test.go

* Update payload.json

* Remove Pyroscope scrape loops for no longer active targets (#1833)

* fix: increase timeout for informer on loki.source.podlogs (#1862)

* [prometheus.exporter.windows] Fix default values (#1878)

* Fix default values

* Wrap regexes

* Remove unnecessary comment

* Fix comment

* enabled_list in the smb block should be deprecated

* Fix docs and comments

* Apply suggestions from code review

Co-authored-by: Clayton Cornell <[email protected]>

* Replace "regex" with "regular expression"

* Update changelog

---------

Co-authored-by: Clayton Cornell <[email protected]>

* Fix changelog

* Change VERSION

---------

Co-authored-by: a <[email protected]>
Co-authored-by: Alex Burnett <[email protected]>
Co-authored-by: Clayton Cornell <[email protected]>
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.

Alloy doesn't drop old discovered targets on reload
2 participants