Skip to content

Conversation

@codyoss
Copy link
Member

@codyoss codyoss commented Nov 1, 2024

This change instruments all generated clients with logging. In order to reduce the amount of codegen this would take I refactored some common logic about executing the request and parsing the response into a common helper. This change should reduce LoC for generated clients as a nice side-effect.

@codyoss codyoss added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Nov 1, 2024
@codyoss codyoss requested review from a team November 1, 2024 20:31
@codyoss
Copy link
Member Author

codyoss commented Nov 1, 2024

Requires googleapis/gax-go#380 and googleapis/google-api-go-client#2854 be rolled out to all clients first

@codyoss codyoss force-pushed the slog-logging branch 2 times, most recently from cacc368 to b357120 Compare November 1, 2024 20:38
@codyoss codyoss force-pushed the slog-logging branch 7 times, most recently from 197ad23 to 87dcdfc Compare December 4, 2024 17:17
@codyoss codyoss removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Dec 4, 2024
codyoss added a commit to codyoss/google-cloud-go that referenced this pull request Dec 4, 2024
This is required to land the logging generated changes staged in
googleapis/gapic-generator-go#1577.
@codyoss codyoss requested a review from quartzmo December 4, 2024 20:41
@codyoss codyoss merged commit ae37381 into googleapis:main Dec 6, 2024
7 checks passed
@codyoss codyoss deleted the slog-logging branch December 6, 2024 17:04
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