Cocurrency otlp http session - #1274
Merged
lalitb merged 2 commits intoMar 21, 2022
Merged
Conversation
Export all datas before notify `ForceFlush` to continue Signed-off-by: owent <admin@owent.net> Fix timeout for `wait_for` Signed-off-by: owent <admin@owent.net> Fix wakeup notify Signed-off-by: owent <admin@owent.net> 1. Reduce busy waiting of `BatchSpanProcessor::ForceFlush` and `BatchSpanProcessor::ForceFlush` when another thread is exporting data. 2. Fix the deadlock when `Shutdown` is called and background thread is finished after first checking of `is_shutdown_` and before setting `is_shutdown_` in `ForceFlush` of BatchSpanProcessor and `BatchSpanProcessor`. Signed-off-by: owent <admin@owent.net> Fix initialization of `is_shutdown_` in internal constructor of `OtlpHttpClient` Signed-off-by: owent <admin@owent.net> Add `ForceFlush` for `LoggerProvider` Signed-off-by: owent <admin@owent.net> Merge open-telemetry#1185 and add `OnEvent` for `nosend::HttpClient` Signed-off-by: owent <admin@owent.net> Add changelog Signed-off-by: owentou <owentou@tencent.com> Fix asan of overflow of chrono Signed-off-by: owentou <owentou@tencent.com> Fix shutdown timeout Signed-off-by: owentou <owentou@tencent.com> Fix thread-safety problem when destroying `OtlpHttpClient` Signed-off-by: owentou <owentou@tencent.com> Fix some compiler do not generate the correct move construct/assignment operator implementation Signed-off-by: owent <admin@owent.net> Fix compatibility Signed-off-by: owent <admin@owent.net> Allow concurrency otlp http session for otlp http client Signed-off-by: owent <admin@owent.net>
Signed-off-by: owentou <owentou@tencent.com>
3 tasks
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Move from #1209
Changes
OtlpHttpClientconcurrency_sessionsto control the max concurrency http sessions.For significant contributions please make sure you have completed the following items:
CHANGELOG.mdupdated for non-trivial changes