-
Notifications
You must be signed in to change notification settings - Fork 825
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(otlp-exporter-base): add retries (#3207)
* feat(otlp-exporter-base): add retries to sendWithHttp Signed-off-by: Svetlana Brennan <[email protected]> * feat(otlp-exporter-base): add tests and update abort logic Signed-off-by: Svetlana Brennan <[email protected]> * feat(otlp-exporter-base): fix lint Signed-off-by: Svetlana Brennan <[email protected]> * feat(otlp-exporter-base): add retry test Signed-off-by: Svetlana Brennan <[email protected]> * feat(otlp-exporter-base): add retry to browser exporter and add tests Signed-off-by: Svetlana Brennan <[email protected]> * feat(otlp-exporter-base): refactor Signed-off-by: Svetlana Brennan <[email protected]> * feat(otlp-exporter-base): add jitter Signed-off-by: Svetlana Brennan <[email protected]> * feat(otlp-exporter-base): initialize reqIsDestroyed to false Signed-off-by: Svetlana Brennan <[email protected]> * feat(otlp-exporter-base): add throttle logic Signed-off-by: Svetlana Brennan <[email protected]> * feat(otlp-exporter-base): add retry to readme Signed-off-by: Svetlana Brennan <[email protected]> * feat(otlp-exporter-base): add changelog Signed-off-by: Svetlana Brennan <[email protected]> * feat(otlp-exporter-base): update throttle time function Signed-off-by: Svetlana Brennan <[email protected]> * feat(otlp-exporter-base): refactor sec difference in throttle fun Signed-off-by: Svetlana Brennan <[email protected]> * feat(otlp-exporter-base): fix lint Signed-off-by: Svetlana Brennan <[email protected]> * feat(otlp-exporter-base): fix lint Signed-off-by: Svetlana Brennan <[email protected]> * feat(otlp-exporter-base): fix lint Signed-off-by: Svetlana Brennan <[email protected]> * feat(otlp-exporter-base): refactor retrieve throttle time func Signed-off-by: Svetlana Brennan <[email protected]> * feat(otlp-exporter-base): fix lint Signed-off-by: Svetlana Brennan <[email protected]> * feat(otlp-exporter-base): move parseRetryAfterToMills to utils file Signed-off-by: Svetlana Brennan <[email protected]> --------- Signed-off-by: Svetlana Brennan <[email protected]> Co-authored-by: Chengzhong Wu <[email protected]>
- Loading branch information
1 parent
708afd0
commit abfe059
Showing
10 changed files
with
419 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.