-
Notifications
You must be signed in to change notification settings - Fork 203
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 <[email protected]> (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 <[email protected]> --------- Co-authored-by: Erik Baranowski <[email protected]> (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 <[email protected]> (cherry picked from commit 3df2cd0) * otelcol: decouple otel/alloy component IDs (#882) Signed-off-by: Paschalis Tsilias <[email protected]> (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 <[email protected]> --------- Co-authored-by: William Dumont <[email protected]> (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 <[email protected]> * chore: refactor code to be more succinct Signed-off-by: hainenber <[email protected]> --------- Signed-off-by: hainenber <[email protected]> (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 <[email protected]> Co-authored-by: mattdurham <[email protected]> Co-authored-by: William Dumont <[email protected]> Co-authored-by: Matthew Penner <[email protected]> Co-authored-by: Paschalis Tsilias <[email protected]> Co-authored-by: Stefan Kurek <[email protected]> Co-authored-by: Đỗ Trọng Hải <[email protected]>
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