-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 flag to save events to a file #5125
Add flag to save events to a file #5125
Conversation
Adds the --event-log-file flag, which when set to a filepath will save Skaffold events to a file when `--enable-rpc` is also enabled.
bac31d4
to
602becc
Compare
This looks good, It looks like jsonpb is deprecated in favor of protojson though |
Yah I noticed that too -- unfortunately it isn't as simple as just changing the name of the import, since it looks like the upgrade isn't backwards compatible. Replacing with
I think if we want the upgraded library to work we also have to recreate our proto file with a new version of
Until we do that big upgrade, I think we have to keep using the deprecated version :/ I guess I'll have to see if there's a way around it for the unit test. |
… new library, matches rpc_test.go
Codecov Report
@@ Coverage Diff @@
## master #5125 +/- ##
==========================================
- Coverage 72.14% 72.13% -0.01%
==========================================
Files 381 381
Lines 13474 13491 +17
==========================================
+ Hits 9721 9732 +11
- Misses 3042 3046 +4
- Partials 711 713 +2
Continue to review full report at Codecov.
|
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! Thanks for clarifying the proto situation 👍🏼
Adds the --event-log-file flag, which when set to a filepath will save Skaffold events to a file when
--enable-rpc
is also enabled.This will make it easier to collect data around performance metrics for the performance dashboards. We can just parse the events in the file after skaffold executes, and figure out how long each stage took.