Skip to content

Span: add attribute, event, link setter to the API#83

Merged
reyang merged 13 commits intoopen-telemetry:masterfrom
kinvolk:alban/attribute
Aug 15, 2019
Merged

Span: add attribute, event, link setter to the API#83
reyang merged 13 commits intoopen-telemetry:masterfrom
kinvolk:alban/attribute

Conversation

@alban
Copy link
Copy Markdown
Contributor

@alban alban commented Aug 12, 2019

Basic tests that exercise the API are added as well. However it does not
actually test that the attributes, events and links are written properly
because there is no getter. Those tests can be added later when the
attributes are actually used.

The spec mentions additional APIs for lazy initialization (AddLazyEvent,
AddLazyLink). Those are not added in this patch because OT-Python does
not expose the Event type (currently defined in the SDK only).


#75 (attribute)
#76 (event)
#77 (link)

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants