-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[pdata] Replace Request.Set<Signals>
with NewRequestFrom<Signals>
#5234
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
Conversation
ba44981
to
834fb87
Compare
Codecov Report
@@ Coverage Diff @@
## main #5234 +/- ##
==========================================
- Coverage 90.65% 90.56% -0.10%
==========================================
Files 187 187
Lines 11052 11052
==========================================
- Hits 10019 10009 -10
- Misses 814 823 +9
- Partials 219 220 +1
Continue to review full report at Codecov.
|
- `plogotlp.Request.SetLogs` func is deprecated in favor of `plogotlp.NewRequestFromLogs` - `pmetricotlp.Request.SetMetrics` func is deprecated in favor of `pmetricotlp.NewRequestFromMetrics` - `ptraceotlp.Request.SetTraces` func is deprecated in favor of `ptraceotlp.NewRequestFromTraces`
834fb87
to
6a7120f
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.
I like the new API, and do prefer this over the MoveTo alternative.
Co-authored-by: Juraci Paixão Kröhling <[email protected]>
Co-authored-by: Juraci Paixão Kröhling <[email protected]>
Co-authored-by: Juraci Paixão Kröhling <[email protected]>
plogotlp.Request.SetLogs
func is deprecated in favor ofplogotlp.NewRequestFromLogs
pmetricotlp.Request.SetMetrics
func is deprecated in favor ofpmetricotlp.NewRequestFromMetrics
ptraceotlp.Request.SetTraces
func is deprecated in favor ofptraceotlp.NewRequestFromTraces
Closes #5230