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

feat otlp: add retries #787

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

nepridumalnik
Copy link
Contributor

There were problems when sending logs and traces due to the reconfiguration of the load balancer between data centers so I added a sending retries.


Note: by creating a PR or an issue you automatically agree to the CLA. See CONTRIBUTING.md. Feel free to remove this note, the agreement holds.

otlp/src/otlp/logs/component.cpp Outdated Show resolved Hide resolved
otlp/src/otlp/logs/component.cpp Outdated Show resolved Hide resolved
otlp/src/otlp/logs/component.cpp Outdated Show resolved Hide resolved
otlp/src/otlp/logs/logger.cpp Outdated Show resolved Hide resolved
otlp/src/otlp/logs/logger.cpp Outdated Show resolved Hide resolved
otlp/src/otlp/logs/logger.cpp Outdated Show resolved Hide resolved
}

engine::GetAll(tasks);
Copy link
Collaborator

Choose a reason for hiding this comment

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

why do we need these async calls?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because retries are performed there, so as not to block the execution of one log sending while traces are being sent

@segoon segoon changed the title Add otlp send retry feat otlp: add retries Dec 15, 2024
@nepridumalnik nepridumalnik requested a review from segoon December 24, 2024 03:12
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.

2 participants