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

Adjust default retry settings for the PRW Exporter #3416

Merged
merged 1 commit into from
Jun 11, 2021
Merged

Adjust default retry settings for the PRW Exporter #3416

merged 1 commit into from
Jun 11, 2021

Conversation

rakyll
Copy link
Contributor

@rakyll rakyll commented Jun 10, 2021

The default retry settings are far off from the Prometheus
Server's behavior. Retry more aggressively to avoid excessive
in-memory buffering.

Fixes open-telemetry/prometheus-interoperability-spec#54 because the test
times out before the retry is sent.

@rakyll rakyll requested a review from alolita as a code owner June 10, 2021 15:57
@rakyll rakyll requested review from a team and tigrannajaryan June 10, 2021 15:57
@alolita
Copy link
Member

alolita commented Jun 10, 2021

@Aneurysm9 @odeke-em can you review too?

Copy link
Member

@odeke-em odeke-em left a comment

Choose a reason for hiding this comment

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

LGTM, but with a question. Thank you @rakyll!

exporter/prometheusremotewriteexporter/factory.go Outdated Show resolved Hide resolved
The default retry settings are far off from the Prometheus
Server's behavior. Retry more aggressively to avoid excessive
in-memory buffering.

Also fixes open-telemetry/prometheus-interoperability-spec#54 because the test
times out before the retry is sent.
@bogdandrutu bogdandrutu merged commit 56a929a into open-telemetry:main Jun 11, 2021
@rakyll rakyll deleted the prom-retry branch June 11, 2021 15:59
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.

Remote write compliance: TestRemoteWrite/otelcollector/Retries500
5 participants