Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Configurable max backoff for GRPC exporter #4333

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

Merged

Conversation

awoimbee
Copy link
Contributor

@awoimbee awoimbee commented Nov 28, 2024

Description

Fixes #4331

This makes it so _create_exp_backoff_generator is called with self._MAX_RETRY_TIMEOUT instead of a local var in the grpc exporter. like absolutely everywhere else (HTTP log exporter, HTTP span exporter, ...).

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • tox

Does This PR Require a Contrib Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@awoimbee awoimbee requested a review from a team as a code owner November 28, 2024 15:39
@awoimbee
Copy link
Contributor Author

Bump. I don't think there is any potential downside to merging this

@awoimbee
Copy link
Contributor Author

awoimbee commented Jan 7, 2025

bump: this is super small, ez to review, and fixes a real problem

Copy link
Contributor

@tammy-baylis-swi tammy-baylis-swi 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 the HTTP equivalent links. Please could you resolve the merge conflict?

@awoimbee awoimbee force-pushed the aw/grpc-exporter-configurable-backoff branch from 9963542 to f43c845 Compare January 20, 2025 10:52
@awoimbee
Copy link
Contributor Author

Sorry I missed the notification, should be good to merge now !

@awoimbee
Copy link
Contributor Author

image

@krzym1
Copy link

krzym1 commented May 9, 2025

So, any plans to get it finally merged ?

@tammy-baylis-swi
Copy link
Contributor

Hi @open-telemetry/python-maintainers please take a look. (I can't do merges)

@lzchen lzchen merged commit f4f3253 into open-telemetry:main May 12, 2025
387 of 388 checks passed
xrmx added a commit to xrmx/opentelemetry-python that referenced this pull request May 19, 2025
xrmx added a commit that referenced this pull request May 19, 2025
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.

grpc OTLPSpanExporter max retry timeout is not configurable
5 participants