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

Issue 1610993002: LogDog: Add collector service implementation. (Closed)

Created:
4 years, 11 months ago by dnj
Modified:
4 years, 10 months ago
CC:
andrew.wang, chromium-reviews, infra-reviews+luci-go_chromium.org, M-A Ruel, tandrii+luci-go_chromium.org, todd
Base URL:
https://github.com/luci/luci-go@master
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

LogDog: Add collector service implementation. Add the LogDog Collector daemon. This includes the Collector, its Dockerfile, and its run script. Committed: https://github.com/luci/luci-go/commit/02a6f7775b9df1a19bc20237f03fb2a47b583aa3

Patch Set 1 #

Total comments: 28

Patch Set 2 : Rebased. #

Patch Set 3 : Post-splitting rebase. #

Total comments: 20

Patch Set 4 : Rebased, updated from comments. #

Total comments: 35

Patch Set 5 : Reorganized, cleaned up, comments, and updated for pRPC. #

Total comments: 16

Patch Set 6 : Comments, rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2880 lines, -48 lines) Patch
M common/api/logdog_coordinator/services/v1/service.pb.go View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M common/proto/logdog/svcconfig/config.proto View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
M common/proto/logdog/svcconfig/config.pb.go View 1 2 3 4 5 4 chunks +35 lines, -17 lines 0 comments Download
A server/cmd/logdog_collector/Dockerfile View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
A server/cmd/logdog_collector/main.go View 1 2 3 4 1 chunk +194 lines, -0 lines 0 comments Download
A server/cmd/logdog_collector/run.sh View 1 2 3 4 1 chunk +123 lines, -0 lines 0 comments Download
A server/internal/logdog/collector/collector.go View 1 2 3 4 1 chunk +279 lines, -0 lines 0 comments Download
A server/internal/logdog/collector/collector_test.go View 1 2 3 4 5 1 chunk +266 lines, -0 lines 0 comments Download
A server/internal/logdog/collector/coordinator/cache.go View 1 2 3 4 5 1 chunk +195 lines, -0 lines 0 comments Download
A server/internal/logdog/collector/coordinator/cache_test.go View 1 2 3 4 1 chunk +295 lines, -0 lines 0 comments Download
A server/internal/logdog/collector/coordinator/coordinator.go View 1 2 3 4 5 1 chunk +118 lines, -0 lines 0 comments Download
A server/internal/logdog/collector/coordinator/doc.go View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
A server/internal/logdog/collector/doc.go View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
A server/internal/logdog/collector/utils_test.go View 1 2 3 4 1 chunk +357 lines, -0 lines 0 comments Download
A server/internal/logdog/config/config.go View 1 2 3 4 1 chunk +137 lines, -0 lines 0 comments Download
A server/internal/logdog/config/config_test.go View 1 1 chunk +112 lines, -0 lines 0 comments Download
A server/internal/logdog/config/doc.go View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
A server/internal/logdog/config/fileConfig.go View 1 2 3 4 1 chunk +81 lines, -0 lines 0 comments Download
A server/internal/logdog/config/flag.go View 1 2 3 4 5 1 chunk +88 lines, -0 lines 0 comments Download
A server/internal/logdog/config/flag_test.go View 1 2 3 4 5 1 chunk +142 lines, -0 lines 0 comments Download
A server/internal/logdog/retryServicesClient/client.go View 1 2 3 4 5 1 chunk +72 lines, -0 lines 0 comments Download
A server/internal/logdog/service/service.go View 1 2 3 4 1 chunk +302 lines, -0 lines 0 comments Download
M server/logdog/storage/bigtable/bigtable.go View 1 2 3 4 4 chunks +2 lines, -25 lines 0 comments Download
M server/logdog/storage/bigtable/bigtable_test.go View 1 2 3 4 2 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 26 (9 generated)
dnj (Google)
PTAL! I have spent the last few days unit testing the crap out of this, ...
4 years, 11 months ago (2016-01-21 04:36:25 UTC) #2
dnj
End of the CL chain, now is nice and split out so this is basically ...
4 years, 11 months ago (2016-01-22 01:37:03 UTC) #4
dnj
+martiniss@
4 years, 11 months ago (2016-01-22 01:37:15 UTC) #6
martiniss
Can you put a doc.go in these directories? server/internal/logdog/collector server/internal/logdog/config Will look more on Monday. ...
4 years, 11 months ago (2016-01-23 01:05:41 UTC) #7
dnj
+vadimsh@
4 years, 11 months ago (2016-01-25 23:14:34 UTC) #9
martiniss
Still have to read server/internal/logdog/collector/collector.go Looking good though! https://codereview.chromium.org/1610993002/diff/40001/server/internal/logdog/collector/streamstatecache.go File server/internal/logdog/collector/streamstatecache.go (right): https://codereview.chromium.org/1610993002/diff/40001/server/internal/logdog/collector/streamstatecache.go#newcode47 server/internal/logdog/collector/streamstatecache.go:47: proto ...
4 years, 11 months ago (2016-01-26 02:24:18 UTC) #10
dnj (Google)
Thanks for reviewing! Should be better now. https://codereview.chromium.org/1610993002/diff/40001/server/internal/logdog/collector/coordinator.go File server/internal/logdog/collector/coordinator.go (right): https://codereview.chromium.org/1610993002/diff/40001/server/internal/logdog/collector/coordinator.go#newcode17 server/internal/logdog/collector/coordinator.go:17: // CoordinatorClient ...
4 years, 11 months ago (2016-01-26 05:06:05 UTC) #11
martiniss
https://codereview.chromium.org/1610993002/diff/60001/server/cmd/logdog_collector/Dockerfile File server/cmd/logdog_collector/Dockerfile (right): https://codereview.chromium.org/1610993002/diff/60001/server/cmd/logdog_collector/Dockerfile#newcode14 server/cmd/logdog_collector/Dockerfile:14: # Run the outyet command by default when the ...
4 years, 11 months ago (2016-01-27 22:19:44 UTC) #12
iannucci
some comments. martiniss, do you want to do the final review? https://chromiumcodereview.appspot.com/1610993002/diff/60001/server/internal/logdog/collector/collector.go File server/internal/logdog/collector/collector.go (right): ...
4 years, 11 months ago (2016-01-28 01:15:35 UTC) #13
dnj
PTAL. I've updated this for pRPC and cleaned some things up a bit. It's _mostly_ ...
4 years, 10 months ago (2016-01-29 20:46:52 UTC) #14
dnj (Google)
martiniss@, iannucci@, can one of you do a final pass on the new CL?
4 years, 10 months ago (2016-02-02 22:06:24 UTC) #15
iannucci
lgtm https://codereview.chromium.org/1610993002/diff/80001/common/proto/logdog/svcconfig/config.proto File common/proto/logdog/svcconfig/config.proto (right): https://codereview.chromium.org/1610993002/diff/80001/common/proto/logdog/svcconfig/config.proto#newcode49 common/proto/logdog/svcconfig/config.proto:49: // The maximum amount of time that cached ...
4 years, 10 months ago (2016-02-05 23:41:01 UTC) #16
dnj (Google)
Awesome, thanks! https://codereview.chromium.org/1610993002/diff/80001/common/proto/logdog/svcconfig/config.proto File common/proto/logdog/svcconfig/config.proto (right): https://codereview.chromium.org/1610993002/diff/80001/common/proto/logdog/svcconfig/config.proto#newcode49 common/proto/logdog/svcconfig/config.proto:49: // The maximum amount of time that ...
4 years, 10 months ago (2016-02-06 04:10:37 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1610993002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1610993002/80001
4 years, 10 months ago (2016-02-06 04:12:15 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: Luci-go Linux Precise 32 Tester on master.tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Luci-go%20Linux%20Precise%2032%20Tester/builds/469) ...
4 years, 10 months ago (2016-02-06 04:13:06 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1610993002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1610993002/100001
4 years, 10 months ago (2016-02-06 04:14:05 UTC) #24
commit-bot: I haz the power
4 years, 10 months ago (2016-02-06 04:16:35 UTC) #26
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://github.com/luci/luci-go/commit/02a6f7775b9df1a19bc20237f03fb2a47b583aa3

Powered by Google App Engine
This is Rietveld 408576698