This repository has been archived by the owner on Oct 19, 2023. It is now read-only.
forked from open-telemetry/opentelemetry-python
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Span: add attribute, event, link setter to the API
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).
- Loading branch information
Showing
2 changed files
with
58 additions
and
0 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