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

Backport #1007 #1013

Merged
merged 1 commit into from
Oct 5, 2020
Merged

Backport #1007 #1013

merged 1 commit into from
Oct 5, 2020

Conversation

lovesegfault
Copy link
Contributor

This is a backport of #1007, done by simply cherry-picking 04bbb15.

@lovesegfault lovesegfault requested review from jtescher and a team as code owners October 2, 2020 20:38
Copy link
Member

@hawkw hawkw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was already approved on v0.2.x, so i'll just go ahead and merge it when CI passes. thanks!

@hawkw
Copy link
Member

hawkw commented Oct 2, 2020

Looks like I need to backport a CI fix to the v0.1.x branch as well. I'll merge this after taking care of that.

@hawkw
Copy link
Member

hawkw commented Oct 2, 2020

Mind rebasing this to fix CI?

…u64) (#1007)

## Motivation

While using `tracing-opentelemetry` I noticed all the data gets sent to the
collector as a string. This implements the additional data types and (possibly)
saves bandwidth.

## Solution

I just implemented additional `fn record_$type(...)` methods of the
`field::Visit` trait to `SpanEventVisitor` and `SpanAttributeVisitor`.

(cherry picked from commit 04bbb15)
@lovesegfault
Copy link
Contributor Author

Mind rebasing this to fix CI?

Done!

@hawkw hawkw merged commit ca9b668 into tokio-rs:v0.1.x Oct 5, 2020
@lovesegfault lovesegfault deleted the backport-1007 branch October 5, 2020 19:12
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 this pull request may close these issues.

2 participants