You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sdk: Span.resource will now default to an empty resource (#724)
Right now, A resource object attached to a Span can be None. That means that there's two similar objects that refer to an empty resource: None, and the _EMPTY_RESOURCE global.
We should just always default to the _EMPTY_RESOURCE object: this avoids None checks in exporters.
Co-authored-by: Yusuke Tsutsumi <[email protected]>
0 commit comments