-
Notifications
You must be signed in to change notification settings - Fork 204
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 staleness during target handover #703
Fix staleness during target handover #703
Conversation
1e65243
to
b8c6837
Compare
c931b8d
to
27e1b00
Compare
I propose we use our fork with this change until we have a decision on the issue with the upstream. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I have a few questions, but nothing major that would prevent this from moving forward shortly. Nice work with the testing framework!
5132633
to
c596503
Compare
@@ -0,0 +1,45 @@ | |||
package assertmetrics |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this file move to a _test.go
file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you can depend on _test.go
files in tests of other packages... Similar to testappender
package.
* Refactor out DistributedTargets and clean up. * Add MovedAway method to DistributedTargets and rename existing methods. * distributed_targets.go tests and benchmarks and refactor * tests and refactor * fix race condition in pyroscope test * workaround for data race in prometheus * changelog * fix changelog * feedback * use a better named prom fork branch (cherry picked from commit 12fb273)
This includes all bugfixes found in main to date except for grafana#703, which is a more involved change that should probably wait for a minor release.
This includes all bugfixes found in main to date except for #703, which is a more involved change that should probably wait for a minor release.
This includes all bugfixes found in main to date except for grafana#703, which is a more involved change that should probably wait for a minor release. (cherry picked from commit 3bceb1a)
* Fix panic when component ID contains `/` in `otelcomponent.MustNewType(ID)` (#858) Signed-off-by: Weifeng Wang <qclaogui@gmail.com> (cherry picked from commit 7bae89c) * No error when http fails (#841) * Fail if we see the port is not available * Update changelog * cleanup message * Update CHANGELOG.md Co-authored-by: Erik Baranowski <39704712+erikbaranowski@users.noreply.github.com> --------- Co-authored-by: Erik Baranowski <39704712+erikbaranowski@users.noreply.github.com> (cherry picked from commit 4ca3f84) * fix panic loki source docker (#875) (cherry picked from commit 4fb1df9) * clustering: fix ipv6 advertise addresses (#869) Signed-off-by: Matthew Penner <me@matthewp.io> (cherry picked from commit 3df2cd0) * otelcol: decouple otel/alloy component IDs (#882) Signed-off-by: Paschalis Tsilias <paschalist0@gmail.com> (cherry picked from commit d018e6e) * updates with latest snowflake prometheus exporter (fixes null issues) (#939) * updates with latest snowflake prometheus exporter (fixes null issues) * Update CHANGELOG.md Co-authored-by: William Dumont <william.dumont@grafana.com> --------- Co-authored-by: William Dumont <william.dumont@grafana.com> (cherry picked from commit 551d407) * feat(vcs): bubble up SSH key conversion error for better debugging experience (#943) * feat(vcs): bubble up SSH key conversion error for better debugging experience Signed-off-by: hainenber <dotronghai96@gmail.com> * chore: refactor code to be more succinct Signed-off-by: hainenber <dotronghai96@gmail.com> --------- Signed-off-by: hainenber <dotronghai96@gmail.com> (cherry picked from commit 037893f) * prepare changelog for 1.1.1 (#958) This includes all bugfixes found in main to date except for #703, which is a more involved change that should probably wait for a minor release. (cherry picked from commit 3bceb1a) --------- Co-authored-by: Weifeng Wang <qclaogui@gmail.com> Co-authored-by: mattdurham <mattdurham@ppog.org> Co-authored-by: William Dumont <william.dumont@grafana.com> Co-authored-by: Matthew Penner <me@matthewp.io> Co-authored-by: Paschalis Tsilias <tpaschalis@users.noreply.github.com> Co-authored-by: Stefan Kurek <stefan.kurek@observiq.com> Co-authored-by: Đỗ Trọng Hải <41283691+hainenber@users.noreply.github.com>
PR Description
As described in the required upstream prometheus PR:
grafana/prometheus#34
In this PR, we:
Which issue(s) this PR fixes
Fixes #249
(at least one way in which this symptom can happen)
PR Checklist