Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(938)

Unified Diff: client/cmd/isolate/exp_archive.go

Issue 2922153002: Log uses of isolate archive and exparchive when 'chromium' build tag is set.
Patch Set: set upstream Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: client/cmd/isolate/exp_archive.go
diff --git a/client/cmd/isolate/exp_archive.go b/client/cmd/isolate/exp_archive.go
index d78eb53821d3854fcd24ba3346fa8aacab2f8db4..ae623625053ff44003e4ec8472ecc79896ad508d 100644
--- a/client/cmd/isolate/exp_archive.go
+++ b/client/cmd/isolate/exp_archive.go
@@ -288,7 +288,7 @@ func (c *expArchiveRun) main() error {
MissBytes: &checker.Miss.Bytes,
IsolateHash: []string{string(isolItem.Digest)},
}
- eventlogger := NewLogger(ctx, c.loggingFlags.EventlogEndpoint)
+ eventlogger := NewLogger(ctx, eventlogEndpoint(ctx, c.loggingFlags.EventlogEndpoint, c.isolatedFlags.ServerURL))
op := logpb.IsolateClientEvent_ARCHIVE.Enum()
if err := eventlogger.logStats(ctx, op, start, end, archiveDetails); err != nil {
log.Printf("Failed to log to eventlog: %v", err)

Powered by Google App Engine
This is Rietveld 408576698