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

Side by Side Diff: common/proto/logdog/svcconfig/config.proto

Issue 1610993002: LogDog: Add collector service implementation. (Closed) Base URL: https://github.com/luci/luci-go@master
Patch Set: Reorganized, cleaned up, comments, and updated for pRPC. Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 syntax = "proto3"; 5 syntax = "proto3";
6 6
7 package svcconfig; 7 package svcconfig;
8 8
9 import "transport.proto"; 9 import "transport.proto";
10 import "storage.proto"; 10 import "storage.proto";
11 import "google/protobuf/duration.proto";
11 12
12 // Config is the overall instance configuration. 13 // Config is the overall instance configuration.
13 message Config { 14 message Config {
14 // Configuration for the Pub/Sub instances. 15 // Configuration for the Pub/Sub instances.
15 Transport transport = 10; 16 Transport transport = 10;
16 // Configuration for Storage. 17 // Configuration for Storage.
17 Storage storage = 11; 18 Storage storage = 11;
18 19
19 // Coordinator is the coordinator service configuration. 20 // Coordinator is the coordinator service configuration.
20 Coordinator coordinator = 20; 21 Coordinator coordinator = 20;
(...skipping 13 matching lines...) Expand all
34 string service_auth_group = 11; 35 string service_auth_group = 11;
35 } 36 }
36 37
37 // Collector is the set of configuration parameters for Collector instances. 38 // Collector is the set of configuration parameters for Collector instances.
38 message Collector { 39 message Collector {
39 // Workers is the number of ingest workers to run. 40 // Workers is the number of ingest workers to run.
40 int32 workers = 1; 41 int32 workers = 1;
41 42
42 // The number of transport worker goroutines to run. 43 // The number of transport worker goroutines to run.
43 int32 transport_workers = 2; 44 int32 transport_workers = 2;
45
46 // The maximum number of log stream states to cache locally. If <= 0, a
47 // default will be used.
48 int32 state_cache_size = 3;
49 // The maximum amount of time that cached stream state is valid. If <= 0, a
iannucci 2016/02/05 23:41:01 nit: newline
dnj (Google) 2016/02/06 04:10:36 Done.
50 // default will be used.
51 google.protobuf.Duration state_cache_expiration = 4;
44 } 52 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698