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

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

Issue 1610993002: LogDog: Add collector service implementation. (Closed) Base URL: https://github.com/luci/luci-go@master
Patch Set: Created 4 years, 11 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 (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 services; 7 package services;
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 amount of time that cached stream state is valid.
47 google.protobuf.Duration state_cache_expiration = 3;
44 } 48 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698