Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 'rpc error: code = InvalidArgument desc = Invalid parent id!' err…
…ors. (#27) The parent span ID was being formatted incorrectly, which meant all spans except the root span were rejected by the GCP tracing API. If clients did not have error logging hooked up to WithOnError, this would cause child spans to be silently dropped. The documentation says the parent span ID should be formatted as a 64-bit integer encoded as a string, but appears to accept the hexadecimal format returned by SpanID.String().
- Loading branch information