-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Introduce OTLP receiver configuration flags #3710
Introduce OTLP receiver configuration flags #3710
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3710 +/- ##
==========================================
+ Coverage 97.40% 97.49% +0.09%
==========================================
Files 269 269
Lines 15856 15934 +78
==========================================
+ Hits 15444 15535 +91
+ Misses 326 315 -11
+ Partials 86 84 -2
Continue to review full report at Codecov.
|
63b3352
to
4ffcf5d
Compare
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
package flags |
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.
this was a move from app/flags.go, but unfortunately git does not recognize it as move due to many changes.
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.
This commit shows the actual diffs cb6a8c9
4ffcf5d
to
92695ba
Compare
@albertteoh would you like to review this one too? |
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
createTracesReceiver := func(_ context.Context, _ component.ReceiverCreateSettings, | ||
_ config.Receiver, _ consumer.Traces) (component.TracesReceiver, error) { |
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.
nit: Since none of the params are used, they can be removed altogether; it's not necessary to add the blank identifiers. Same with above newTraces := func(...)
.
createTracesReceiver := func(_ context.Context, _ component.ReceiverCreateSettings, | |
_ config.Receiver, _ consumer.Traces) (component.TracesReceiver, error) { | |
createTracesReceiver := func(context.Context, component.ReceiverCreateSettings, | |
config.Receiver, consumer.Traces) (component.TracesReceiver, error) { |
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
dc4e6ea
to
068fe18
Compare
Thanks for the review, @albertteoh |
Signed-off-by: Albert Teoh <[email protected]>
Part of #3625.