Implement https://github.com/open-telemetry/opentelemetry-specification/pull/2452 - #1456
Conversation
* add owent as reviewer * fix order
…elemetry#1301) Signed-off-by: owent <admin@owent.net>
…emetry#1309) Signed-off-by: owent <admin@owent.net>
Signed-off-by: owent <admin@owent.net>
Co-authored-by: Tom Tan <Tom.Tan@microsoft.com> Co-authored-by: Lalit Kumar Bhasin <lalit_fin@yahoo.com>
Co-authored-by: Lalit Kumar Bhasin <lalit_fin@yahoo.com>
…alues (open-telemetry#1427) * validate histogram value * handle Nan * add changelog * divide by 0 error on windows * fix markdown lint
Signed-off-by: WenTao Ou <admin@owent.net> # Conflicts: # CHANGELOG.md
…#2452](open-telemetry/opentelemetry-specification#2452) Signed-off-by: WenTao Ou <admin@owent.net>
Signed-off-by: WenTao Ou <admin@owent.net>
Codecov Report
@@ Coverage Diff @@
## async-changes #1456 +/- ##
================================================
Coverage ? 84.72%
================================================
Files ? 155
Lines ? 4783
Branches ? 0
================================================
Hits ? 4052
Misses ? 731
Partials ? 0 |
Signed-off-by: WenTao Ou <admin@owent.net>
| } | ||
| # ifdef ENABLE_ASYNC_EXPORT | ||
| , asynchronous_mode_ { asynchronous_mode } | ||
| # endif |
There was a problem hiding this comment.
Just a thought - Is it necessary to keep the sync mode, or can we have async as default and only option? And ExportResult would always mean that exporter has received the event batch and uploading them. Upload may fail, in which case exporter will retry and eventually log the error.
There was a problem hiding this comment.
OTLP may also need always return ExportResult::kSuccess and ignore the result of HTTP client.
Signed-off-by: WenTao Ou <admin@owent.net>
|
Thanks. I have gone through this PR - https://github.com/open-telemetry/opentelemetry-cpp/pull/1456/files/b4d47e1ffd077c282a6efb86e701d383dcff7b1a..31dfd5a5bfcb17f376d878c3981ad6dbb0c312d8 - for relavant changes, and it looks good to me. I think you should be able to merge this to the |
Fixes #1455
Follow the lastest specification changes.
I also merged
mainnefore I start to achive this specification. It bring many changes ofmainbranch.Please visit https://github.com/open-telemetry/opentelemetry-cpp/pull/1456/files/b4d47e1ffd077c282a6efb86e701d383dcff7b1a..31dfd5a5bfcb17f376d878c3981ad6dbb0c312d8 to view the real changes of this PR.
Changes
mainbranch.AsyncBatch*ProcessorFor significant contributions please make sure you have completed the following items:
CHANGELOG.mdupdated for non-trivial changes