-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add support for logs in cloudfoundryreceiver #33044
Add support for logs in cloudfoundryreceiver #33044
Conversation
… config Co-authored-by: Jose Riguera <jose.riguera@springer.com> Co-authored-by: Sam Clulow <sam.clulow@springernature.com>
…ogs to the receiver Co-authored-by: Jose Riguera <jose.riguera@springer.com> Co-authored-by: Sam Clulow <sam.clulow@springernature.com>
Co-authored-by: Cem Deniz Kabakci <cem.kabakci@springer.com>
Co-authored-by: Cem Deniz Kabakci <cem.kabakci@springer.com>
Co-authored-by: Jose Riguera <jose.riguera@springer.com>
… tests (now part of config tests). Fix parameters for test function Co-authored-by: Cem Deniz Kabakci <cem.kabakci@springer.com>
… to now, instead of when the receiver starts Co-authored-by: Jose Riguera <jose.riguera@springer.com>
…id and span id from RTR Logs Co-authored-by: Jose Riguera <jose.riguera@springer.com>
Co-authored-by: Jose Riguera <jose.riguera@springer.com>
…velopment Co-authored-by: Sam Clulow <sam.clulow@springernature.com> Co-authored-by: Cem Deniz Kabakci <cem.kabakci@springer.com>
Co-authored-by: Sam Clulow <sam.clulow@springernature.com> Co-authored-by: Cem Deniz Kabakci <cem.kabakci@springer.com>
Co-authored-by: Sam Clulow <sam.clulow@springernature.com> Co-authored-by: Cem Deniz Kabakci <cem.kabakci@springer.com>
Co-authored-by: Sam Clulow <sam.clulow@springernature.com> Co-authored-by: Cem Deniz Kabakci <cem.kabakci@springer.com>
|
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.
Thanks for the PR, hope my feedback is helpful!
@CemDK Can you please sign the CLA? |
Done! |
…R log lines extracting fields and add tests Co-authored-by: Cem Deniz Kabakci <cem.kabakci@springer.com>
…e telemetryType from cloudFoundryReceiver struct Co-authored-by: Cem Deniz Kabakci <cem.kabakci@springer.com>
Co-authored-by: Cem Deniz Kabakci <cem.kabakci@springer.com>
* Original CreateStream fucntion was returning a tuple `(loggregator.EnvelopeStream, error)`, but error was always nil, because the upstream funcion from loggregator `rgc.rlpGatewayClient.Stream` does not fail. * No need to check the error in tests and in the receiver (it was always nil) * CreateStream splitted in 2 funcions, each applies the filters each one needs, no need to pass aditional parameters to select filters.
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.
Overall the change looks good, just one question regarding the new validation
Code owners @agoallikmaa @pellared please review |
NVM I missed the |
@jriguera please get the latest from main |
@TylerHelmuth done! |
Fixing the tests |
…for loop Co-authored-by: Sam Clulow <sam.clulow@springernature.com> Co-authored-by: Cem Deniz Kabakci <cem.kabakci@springer.com> Co-authored-by: Tomas Mota <tomas.mota@springernature.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Description:
Adding support receive logs from Cloudfoundry.
Link to tracking Issue: #32671
Testing: Basic testing inline with the current tests
Documentation:
rlp_gateway.shard_id
).cc @CemDK @m1rp