Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Default trace/span IDs to random in getInitialLoadRootSpan (with correct base now) #21

Merged
merged 7 commits into from
Mar 8, 2019

Conversation

draffensperger
Copy link
Contributor

This makes getInitialLoadRootSpan generate random trace/span IDs if none are given. This will help the opencensus-web-all package in cases when there is no trace/span ID sent back from the server via the config object on the window.

This required exporting the randomTraceId and randomSpanId functions from opencensus-core.

This is the same as #19 but I forgot to change the base back to master after it's dependent PR was merged.

@draffensperger draffensperger changed the title Default trace/span IDs to random in getInitialLoadRootSpan Default trace/span IDs to random in getInitialLoadRootSpan (with correct base now) Mar 8, 2019
@draffensperger draffensperger merged commit 7dbec3d into master Mar 8, 2019
@draffensperger draffensperger deleted the default-initial-load-ids2 branch March 8, 2019 12:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants