open-telemetry / opentelemetry-dotnet-contrib

This repository contains set of components extending functionality of the OpenTelemetry .NET SDK. Instrumentation libraries, exporters, and other components can find their home here.
https://opentelemetry.io
Apache License 2.0
421 stars 251 forks source link

[Exporter.Geneva] Add TraceState support #1850

Closed xiang17 closed 1 week ago

xiang17 commented 3 weeks ago

Add TraceState support in Geneva exporter.

Changes

Please provide a brief description of the changes here.

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

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 64.28571% with 5 lines in your changes missing coverage. Please review.

Project coverage is 65.57%. Comparing base (71655ce) to head (123f26e). Report is 304 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/open-telemetry/opentelemetry-dotnet-contrib/pull/1850/graphs/tree.svg?width=650&height=150&src=pr&token=DG2DEROH83&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry)](https://app.codecov.io/gh/open-telemetry/opentelemetry-dotnet-contrib/pull/1850?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry) ```diff @@ Coverage Diff @@ ## main #1850 +/- ## ========================================== - Coverage 73.91% 65.57% -8.35% ========================================== Files 267 35 -232 Lines 9615 3660 -5955 ========================================== - Hits 7107 2400 -4707 + Misses 2508 1260 -1248 ``` | [Flag](https://app.codecov.io/gh/open-telemetry/opentelemetry-dotnet-contrib/pull/1850/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry) | Coverage Δ | | |---|---|---| | [unittests-Exporter.Geneva](https://app.codecov.io/gh/open-telemetry/opentelemetry-dotnet-contrib/pull/1850/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry) | `65.57% <64.28%> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/open-telemetry/opentelemetry-dotnet-contrib/pull/1850?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry) | Coverage Δ | | |---|---|---| | [...Telemetry.Exporter.Geneva/GenevaExporterOptions.cs](https://app.codecov.io/gh/open-telemetry/opentelemetry-dotnet-contrib/pull/1850?src=pr&el=tree&filepath=src%2FOpenTelemetry.Exporter.Geneva%2FGenevaExporterOptions.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry#diff-c3JjL09wZW5UZWxlbWV0cnkuRXhwb3J0ZXIuR2VuZXZhL0dlbmV2YUV4cG9ydGVyT3B0aW9ucy5jcw==) | `90.24% <100.00%> (+0.24%)` | :arrow_up: | | [...ter.Geneva/MsgPackExporter/MsgPackTraceExporter.cs](https://app.codecov.io/gh/open-telemetry/opentelemetry-dotnet-contrib/pull/1850?src=pr&el=tree&filepath=src%2FOpenTelemetry.Exporter.Geneva%2FMsgPackExporter%2FMsgPackTraceExporter.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry#diff-c3JjL09wZW5UZWxlbWV0cnkuRXhwb3J0ZXIuR2VuZXZhL01zZ1BhY2tFeHBvcnRlci9Nc2dQYWNrVHJhY2VFeHBvcnRlci5jcw==) | `94.83% <100.00%> (+2.41%)` | :arrow_up: | | [...ry.Exporter.Geneva/TLDExporter/TldTraceExporter.cs](https://app.codecov.io/gh/open-telemetry/opentelemetry-dotnet-contrib/pull/1850?src=pr&el=tree&filepath=src%2FOpenTelemetry.Exporter.Geneva%2FTLDExporter%2FTldTraceExporter.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry#diff-c3JjL09wZW5UZWxlbWV0cnkuRXhwb3J0ZXIuR2VuZXZhL1RMREV4cG9ydGVyL1RsZFRyYWNlRXhwb3J0ZXIuY3M=) | `32.75% <16.66%> (+0.44%)` | :arrow_up: | ... and [248 files with indirect coverage changes](https://app.codecov.io/gh/open-telemetry/opentelemetry-dotnet-contrib/pull/1850/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry)