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.
Add runtime validation in setAttribute (open-telemetry#348)
Validate attribute value data types before adding to span Add lists as an accepted data type. By adding validation during the setAttribute phase, this allows allows exporters to avoid redundant code to validate attributes.
- Loading branch information
1 parent
3883e0a
commit 4fca8c9
Showing
2 changed files
with
84 additions
and
1 deletion.
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