Skip to content

Cocurrency otlp http session - #1274

Merged
lalitb merged 2 commits into
open-telemetry:async-changesfrom
owent:cocurrency_otlp_http_session
Mar 21, 2022
Merged

Cocurrency otlp http session#1274
lalitb merged 2 commits into
open-telemetry:async-changesfrom
owent:cocurrency_otlp_http_session

Conversation

@owent

@owent owent commented Mar 21, 2022

Copy link
Copy Markdown
Member

Move from #1209

Changes

  • Allow multiple running http sessions in OtlpHttpClient
  • Add concurrency_sessions to control the max concurrency http sessions.

For significant contributions please make sure you have completed the following items:

  • CHANGELOG.md updated for non-trivial changes
  • Unit tests have been added
  • Changes in public API reviewed

owent and others added 2 commits March 21, 2022 13:39
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>
@owent
owent requested a review from a team March 21, 2022 05:42
@lalitb
lalitb merged commit c3eaa9d into open-telemetry:async-changes Mar 21, 2022
@lalitb lalitb mentioned this pull request Mar 22, 2022
3 tasks
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