Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for AddLink to the OpenCensus bridge #5116

Merged
merged 3 commits into from
Apr 1, 2024

Conversation

dashpole
Copy link
Contributor

@dashpole dashpole commented Mar 28, 2024

Fixes #5113

It drops the LinkType because OTel doesn't have a link type concept.

It marks all SpanContexts as sampled, since that is in-line with w3c usage of the sampled flag.

It leaves IsRemote and TraceState at their default values.

@dashpole dashpole added pkg:bridges Related to a bridge package enhancement New feature or request labels Mar 28, 2024
Copy link

codecov bot commented Mar 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.8%. Comparing base (9bffaf9) to head (59df986).

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #5116   +/-   ##
=====================================
  Coverage   83.7%   83.8%           
=====================================
  Files        248     248           
  Lines      16230   16245   +15     
=====================================
+ Hits       13600   13617   +17     
+ Misses      2342    2340    -2     
  Partials     288     288           
Files Coverage Δ
bridge/opencensus/internal/oc2otel/attributes.go 100.0% <100.0%> (ø)
bridge/opencensus/internal/span.go 100.0% <100.0%> (ø)

... and 1 file with indirect coverage changes

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
@dashpole dashpole merged commit 7667f7b into open-telemetry:main Apr 1, 2024
27 checks passed
@dashpole dashpole deleted the opencensus_addlink branch April 1, 2024 14:30
@MrAlias MrAlias added this to the v1.25.0 milestone Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pkg:bridges Related to a bridge package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpenCensus bridge: Support AddLink after it is supported by the API
3 participants