-
Notifications
You must be signed in to change notification settings - Fork 657
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
ReadableSpan events and links now return a tuple #2215
ReadableSpan events and links now return a tuple #2215
Conversation
|
dd49d29
to
1de5c5b
Compare
I think this PR needs a changelog entry ✌️ |
Head branch was pushed to by a user without write access
Removed MappingProxy since events and links are not mappings Signed-off-by: Ted Kern <[email protected]>
1be9a6b
to
48faadb
Compare
Added changelog entry! |
Please fix lint and we can get this merged in, @Arnatious ✌️ |
Signed-off-by: Ted Kern <[email protected]>
Head branch was pushed to by a user without write access
Re:fixed lint, looks like I missed whitespace first time. Separate issue I'll raise:
|
Here is how to fix
Commit the generated changes. |
* updating changelogs and version to 1.6.1-0.25b1 (#2223) * default value is invalid, was renamed (#2226) * Website: support GH page links to canonical src, and aliases (#2224) * Fix opentracing shim references (#2180) * Prepare release v1.6.2 and 0.25b2 (#2230) * update changelog to note the rename of entrypoints in 1.6.0 (#2228) * add note about proto version to README.rst (#2232) * ReadableSpan events and links now return a tuple (#2215) * ReadableSpan events and links now return a tuple Removed MappingProxy since events and links are not mappings Signed-off-by: Ted Kern <[email protected]> * fix lint Signed-off-by: Ted Kern <[email protected]> * fix lint * fix lint Co-authored-by: Diego Hurtado <[email protected]> Co-authored-by: Leighton Chen <[email protected]> * adding CI testing for python 3.10 (#2207) * remove `X-B3-ParentSpanId` for B3 propagator as per OpenTelemetry Specification (#2237) * remove X-B3-ParentSpanId for B3 propagator as per OpenTelemetry specification * revert changes - run tests * re-commit changes * add entry to CHANGELOG * remove ParentSpanId in B3SingleFormat * Remove lingering distro pkg files (#2241) Co-authored-by: Leighton Chen <[email protected]> Co-authored-by: alrex <[email protected]> Co-authored-by: Patrice Chalin <[email protected]> Co-authored-by: Ben Roberts <[email protected]> Co-authored-by: Owais Lone <[email protected]> Co-authored-by: Ted Kern <[email protected]> Co-authored-by: Diego Hurtado <[email protected]> Co-authored-by: James <[email protected]> Co-authored-by: (Eliseo) Nathaniel Ruiz Nowell <[email protected]>
Description
ReadableSpan events and links attributes now return a sequence, as described, removing a TypeError.
No longer attempt to wrap Links and Events in
MappingProxy
's since they are not descendants of Mapping likeAttributes
.Fixes #2214
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
tox -e py38-opentelemetry-sdk -- trace/test_trace.py::TestReadableSpan
(tested on Python 3.8.10 on Ubuntu on WSL2)Does This PR Require a Contrib Repo Change?
Answer the following question based on these examples of changes that would require a Contrib Repo Change:
The OTel specification has changed which prompted this PR to update the method interfaces of
opentelemetry-api/
oropentelemetry-sdk/
The method interfaces of
test/util
have changedScripts in
scripts/
that were copied over to the Contrib repo have changedConfiguration files that were copied over to the Contrib repo have changed (when consistency between repositories is applicable) such as in
pyproject.toml
isort.cfg
.flake8
When a new
.github/CODEOWNER
is addedMajor changes to project information, such as in:
README.md
CONTRIBUTING.md
Yes. - Link to PR:
No.
Checklist: