Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SDK Tracer treats invalid span parent like null
Fixes open-telemetry#233. The SDK tracer will now create spans with invalid parents as brand new spans, similar to not having a parent at all. Adding this behavior to the Tracer ensures that integrations do not have to handle invalid span contexts in their own code, and ensures that behavior is consistent with w3c tracecontext (which specifies invalid results should be handled by creating new spans).
- Loading branch information