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

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: Comments, rebase. 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 16 matching lines...) Expand all
37 repeated string rpc_allow_origins = 20; 38 repeated string rpc_allow_origins = 20;
38 } 39 }
39 40
40 // Collector is the set of configuration parameters for Collector instances. 41 // Collector is the set of configuration parameters for Collector instances.
41 message Collector { 42 message Collector {
42 // Workers is the number of ingest workers to run. 43 // Workers is the number of ingest workers to run.
43 int32 workers = 1; 44 int32 workers = 1;
44 45
45 // The number of transport worker goroutines to run. 46 // The number of transport worker goroutines to run.
46 int32 transport_workers = 2; 47 int32 transport_workers = 2;
48
49 // The maximum number of log stream states to cache locally. If <= 0, a
50 // default will be used.
51 int32 state_cache_size = 3;
52
53 // The maximum amount of time that cached stream state is valid. If <= 0, a
54 // default will be used.
55 google.protobuf.Duration state_cache_expiration = 4;
47 } 56 }
OLDNEW
« no previous file with comments | « common/api/logdog_coordinator/services/v1/service.pb.go ('k') | common/proto/logdog/svcconfig/config.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698