-
Notifications
You must be signed in to change notification settings - Fork 600
Chang timeout value to miliseconds #2656
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
Chang timeout value to miliseconds #2656
Conversation
…st into chang-timeout-value-to-miliseconds
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2656 +/- ##
=====================================
Coverage 79.1% 79.1%
=====================================
Files 122 122
Lines 22562 22562
=====================================
Hits 17861 17861
Misses 4701 4701 ☔ View full report in Codecov by Sentry. |
|
@mohammadVatandoost Thanks for working on this. Can you have a look into the OTLP flow, as I believe there are some other places too. E,g opentelemetry-rust/opentelemetry-otlp/src/exporter/http/mod.rs Lines 120 to 123 in 0592075
Also update the changelog as this is a breaking change. @cijothomas @TommyCpp - Should this be a breaking change for environment variables, or should we maintain the current behavior (interpreting values as seconds) while adding support for specifying milliseconds? For example, |
I think this is a bug and must be treated accordingly. Every bug can be thought of as a breaking change for those users who were relying on the buggy behavior 🤣 ! I agree that the impact is bad - A user who had set 1 sec timeout now instantly only has a 1 ms timeout (that can easily be hit much more frequently) with the upgrade - this can be covered in change-log and migration guide as a key warning/bullet point. Happy to hear other thoughts. |
probably additional complexity we don't want to maintain on the long term. I think we should just note it in breaking changes |
@lalitb The line, you mentioned, is already changed. Please see the PR file changes. Changelog is updated |
I think it looks good.
The changes also affects signal specific env-variables - |
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, nit comment on updating changelog with signal specific env-variables.
Added |
Co-authored-by: Braden Steffaniak <[email protected]> Co-authored-by: Cijo Thomas <[email protected]> Co-authored-by: Lalit Kumar Bhasin <[email protected]>
Fixes #2591