Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spans: assert_shape! ? #8

Open
o0Ignition0o opened this issue Jan 11, 2022 · 0 comments
Open

Spans: assert_shape! ? #8

o0Ignition0o opened this issue Jan 11, 2022 · 0 comments

Comments

@o0Ignition0o
Copy link
Contributor

o0Ignition0o commented Jan 11, 2022

Spans currently only allow us to serialize / deserialize so we can take snapshots.

However what we're mostly looking for at the moment, is making sure the shape remains.
Moreover we're losing snapshot capabilities as soon as some entries are non deterministic

an assert_shape! macro of some sorts would come in handy, we might be able to make sure that some Spans are children of others, and their names / metadata complies with our expectations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant