-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update OTLP to 0.6.0 and use the new Span Status code (#2031)
Contributes to #1841 - Implemented the backward compatibility logic for sending and receiving side for DeprecatedCode and Code fields according to OTLP spec. - Had to modify pdata generator to allow generating fields without setters. This is needed because the Status code field needs a custom setter logic that implements the DeprecatedCode vs Code handling. - Added tests that verify OTLP receiver behavior for Status Code/DeprecatedCode. - Added tests that verify sending/setting behavior for Status Code/DeprecatedCode for any component that uses pdata.Traces Status.SetCode(). - Modified all non-OTLP trace receivers and exporters (Jaeger, Zipkin, OpenCensus) to use the new Status code. - Modified correctness tests to use the new status Code instead of DeprecatedCode.
- Loading branch information
1 parent
366e918
commit de104da
Showing
25 changed files
with
738 additions
and
413 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Submodule opentelemetry-proto
updated
3 files
+8 −0 | README.md | |
+81 −27 | opentelemetry/proto/trace/v1/trace.proto | |
+6 −6 | opentelemetry/proto/trace/v1/trace_config.proto |
Oops, something went wrong.