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

Add retries to BBE DNS probe #803

Merged
merged 1 commit into from
Jul 29, 2024
Merged

Add retries to BBE DNS probe #803

merged 1 commit into from
Jul 29, 2024

Conversation

mem
Copy link
Contributor

@mem mem commented Jul 27, 2024

Copy the BBE DNS probe code to modify it in order to add retry logic. We can try to upstream this, that's why this is not adding any metrics yet.

This will retry 3 times if there's enough time (at least 15 seconds). No DNS check should actually take more than 5 seconds, so when we see a long timeout, inject the retry logic in there.

@mem mem requested a review from a team as a code owner July 27, 2024 00:13
@mem mem force-pushed the mem/add-retries-to-bbe-dns-probe branch 5 times, most recently from 1c48b13 to 3696267 Compare July 29, 2024 19:59
Copy the BBE DNS probe code to modify it in order to add retry logic. We
can try to upstream this, that's why this is not adding any metrics yet.

This will retry 3 times if there's enough time (at least 15 seconds). No
DNS check should actually take more than 5 seconds, so when we see a
long timeout, inject the retry logic in there.

This experimental DNS prober is behind a feature flag called
"experimental-dns-prober". The existing behavior is the default.

Signed-off-by: Marcelo E. Magallon <[email protected]>
@mem mem force-pushed the mem/add-retries-to-bbe-dns-probe branch from 3696267 to 0d818c1 Compare July 29, 2024 22:41
@mem mem merged commit ee78463 into main Jul 29, 2024
2 checks passed
@mem mem deleted the mem/add-retries-to-bbe-dns-probe branch July 29, 2024 22:51
mem added a commit that referenced this pull request Jul 30, 2024
* ci/renovate: update gomod digests before 8 AM UTC
* Update ghcr.io/grafana/grafana-build-tools Docker tag to v0.16.0 (#800)
* Info message for -features used deprecated syntax. (#801)
* Update golang.org/x/exp digest to 8a7402a (#806)
* k6runner: handle ErrorCodeFailed (#791)
* Add retries to BBE DNS probe (#803)
* Update ghcr.io/grafana/grafana-build-tools Docker tag to v0.17.1 (#808)
* Update github.com/grafana/loki/pkg/push digest to 5a87ccb (#804)

Signed-off-by: Marcelo E. Magallon <[email protected]>
@mem mem mentioned this pull request Jul 30, 2024
mem added a commit that referenced this pull request Jul 30, 2024
* ci/renovate: update gomod digests before 8 AM UTC
* Update ghcr.io/grafana/grafana-build-tools Docker tag to v0.16.0 (#800)
* Info message for -features used deprecated syntax. (#801)
* Update golang.org/x/exp digest to 8a7402a (#806)
* k6runner: handle ErrorCodeFailed (#791)
* Add retries to BBE DNS probe (#803)
* Update ghcr.io/grafana/grafana-build-tools Docker tag to v0.17.1 (#808)
* Update github.com/grafana/loki/pkg/push digest to 5a87ccb (#804)

Signed-off-by: Marcelo E. Magallon <[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.

1 participant