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

Add treatment metadata to BQ / Kafka logs #41

Merged

Conversation

krithika369
Copy link
Collaborator

@krithika369 krithika369 commented Sep 28, 2022

What this PR does / why we need it: Additional metadata was added to the Fetch Treatment response in #36. This PR adds the metadata info to the BQ / Kafka logs.

Modifications

  • api/proto/logs.proto - Added new field treatment_metadata
  • treatment-service/controller/treatment.go - Capture metadata info into AssignedTreatmentLog
  • treatment-service/monitoring/* - Handle the metadata in the loggers

@krithika369 krithika369 marked this pull request as draft September 28, 2022 22:59
@krithika369 krithika369 marked this pull request as ready for review September 28, 2022 23:37
@krithika369 krithika369 requested a review from a team September 28, 2022 23:38
Copy link
Contributor

@terryyylim terryyylim left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @krithika369! 🚀

@krithika369 krithika369 merged commit e1a9729 into caraml-dev:main Sep 29, 2022
@krithika369 krithika369 deleted the add_treatment_metadata_outcome_logs branch September 29, 2022 00:21
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