-
Notifications
You must be signed in to change notification settings - Fork 117
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
feat: add DataToPoint utility to convert a custom struct to a write Point #394
Conversation
601c4a1
to
925548b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #394 +/- ##
==========================================
+ Coverage 92.72% 92.94% +0.21%
==========================================
Files 23 25 +2
Lines 2242 2310 +68
==========================================
+ Hits 2079 2147 +68
Misses 123 123
Partials 40 40 ☔ View full report in Codecov by Sentry. |
Proposed Changes
This PR adds a new
write.DataToPoint
function that converts custom structures towrite.Point
, the code uses the tags/annotations from v3 client proposal to map structure fields to line protocol parts.See also #389
Checklist