-
Notifications
You must be signed in to change notification settings - Fork 66
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
:telemetry.span/3
documentation seems inconsistent
#112
Comments
We don't perform any merging, so indeed the docs are inaccurate. PRs welcome! |
Hello! I'm still a tad confused about this, even after the linked PR got merged. In the quoted documentation paragraph, the docs mention that a reporter should be able to rely entirely on the stop event. However, this doesn't seem possible if StartMetadata isn't merged (automatically) into StopMetadata, because there is possibly a large amount of metadata that is unavailable to the stop event by default, and must be manually merged into the stop metadata when a This seems to me that it makes it very easy to implement telemetry in a way which makes reporters very arduous to write (with need for long-running state to track and match |
I'm not sure why that isn't the behavior. |
we should document that it is extremely Recommended for callers to return the stop metadata as a superset of the start metadata. |
It's not really clear from this if
StartMetadata
values needs to be supplied asStopMetadata
as well if they should be available for both events. The code seems to suggest they should, the docs seem to suggest to not do that.The text was updated successfully, but these errors were encountered: