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

Documentation for Compact and Full formats is wrong #1880

Closed
lilyball opened this issue Jan 31, 2022 · 1 comment · Fixed by #1893
Closed

Documentation for Compact and Full formats is wrong #1880

lilyball opened this issue Jan 31, 2022 · 1 comment · Fixed by #1893

Comments

@lilyball
Copy link
Contributor

Bug Report

Version

tracing-subscriber v0.3.7

Crates

tracing-subscriber

Description

The documentation for Compact says

The compact format only includes the fields from the most recently entered span.

The documentation for Full says

The full format includes fields from all entered spans.

This distinction here is wrong. Compact in fact includes fields from all spans. It just moves the fields to the end of the event, after the event's kv pairs.

hawkw added a commit that referenced this issue Feb 3, 2022
This fixes outdated statements in the docs for the `Full` and `Compact`
logging formats.

Closes #1880.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
@hawkw
Copy link
Member

hawkw commented Feb 3, 2022

Thanks for catching that --- those docs are clearly outdated! #1893 should fix this.

hawkw added a commit that referenced this issue Feb 3, 2022
This fixes outdated statements in the docs for the `Full` and `Compact`
logging formats.

Closes #1880.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
hawkw added a commit that referenced this issue Feb 3, 2022
This fixes outdated statements in the docs for the `Full` and `Compact`
logging formats.

Closes #1880.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
hawkw added a commit that referenced this issue Feb 3, 2022
This fixes outdated statements in the docs for the `Full` and `Compact`
logging formats.

Closes #1880.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
hawkw added a commit that referenced this issue Feb 3, 2022
This fixes outdated statements in the docs for the `Full` and `Compact`
logging formats.

Closes #1880.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
hawkw added a commit that referenced this issue Feb 3, 2022
This fixes outdated statements in the docs for the `Full` and `Compact`
logging formats.

Closes #1880.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
hawkw added a commit that referenced this issue Feb 4, 2022
This fixes outdated statements in the docs for the `Full` and `Compact`
logging formats.

Closes #1880.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
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

Successfully merging a pull request may close this issue.

2 participants