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

Unified Diff: common/proto/logdog/svcconfig/config.pb.go

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « common/proto/logdog/svcconfig/config.proto ('k') | server/cmd/logdog_collector/Dockerfile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common/proto/logdog/svcconfig/config.pb.go
diff --git a/common/proto/logdog/svcconfig/config.pb.go b/common/proto/logdog/svcconfig/config.pb.go
index 2d441748ebc2189296b67a20600d01f3dcc7eda7..92024a06055f7c145b00e32c8600d69309eae342 100644
--- a/common/proto/logdog/svcconfig/config.pb.go
+++ b/common/proto/logdog/svcconfig/config.pb.go
@@ -22,6 +22,7 @@ package svcconfig
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
+import google_protobuf "github.com/luci/luci-go/common/proto/google"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
@@ -97,6 +98,12 @@ type Collector struct {
Workers int32 `protobuf:"varint,1,opt,name=workers" json:"workers,omitempty"`
// The number of transport worker goroutines to run.
TransportWorkers int32 `protobuf:"varint,2,opt,name=transport_workers" json:"transport_workers,omitempty"`
+ // The maximum number of log stream states to cache locally. If <= 0, a
+ // default will be used.
+ StateCacheSize int32 `protobuf:"varint,3,opt,name=state_cache_size" json:"state_cache_size,omitempty"`
+ // The maximum amount of time that cached stream state is valid. If <= 0, a
+ // default will be used.
+ StateCacheExpiration *google_protobuf.Duration `protobuf:"bytes,4,opt,name=state_cache_expiration" json:"state_cache_expiration,omitempty"`
}
func (m *Collector) Reset() { *m = Collector{} }
@@ -104,6 +111,13 @@ func (m *Collector) String() string { return proto.CompactTextString(
func (*Collector) ProtoMessage() {}
func (*Collector) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
+func (m *Collector) GetStateCacheExpiration() *google_protobuf.Duration {
+ if m != nil {
+ return m.StateCacheExpiration
+ }
+ return nil
+}
+
func init() {
proto.RegisterType((*Config)(nil), "svcconfig.Config")
proto.RegisterType((*Coordinator)(nil), "svcconfig.Coordinator")
@@ -111,22 +125,26 @@ func init() {
}
var fileDescriptor0 = []byte{
- // 257 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x64, 0x90, 0xc1, 0x4e, 0xc3, 0x30,
- 0x0c, 0x86, 0x55, 0x10, 0x9b, 0xe2, 0x82, 0x06, 0xd1, 0x40, 0xa5, 0x27, 0x54, 0x0e, 0x4c, 0x42,
- 0xea, 0x01, 0x0e, 0x3c, 0x40, 0x1f, 0x01, 0xee, 0x51, 0xc8, 0x42, 0x09, 0x94, 0xb8, 0x72, 0xb2,
- 0xed, 0xa5, 0x78, 0x48, 0x92, 0x94, 0x96, 0x4a, 0x1c, 0xe3, 0xef, 0xb3, 0xff, 0xd8, 0x70, 0xaa,
- 0xd0, 0xbe, 0x99, 0xb6, 0xee, 0x09, 0x3d, 0x72, 0xe6, 0xf6, 0x6a, 0x28, 0x94, 0x2b, 0x4f, 0xd2,
- 0xba, 0x1e, 0xc9, 0x0f, 0xac, 0x3c, 0x73, 0x1e, 0x49, 0xb6, 0x7a, 0x78, 0x56, 0xdf, 0x19, 0x2c,
- 0x9a, 0xa4, 0xf2, 0x3b, 0x60, 0x93, 0x5c, 0xc0, 0x4d, 0xb6, 0xc9, 0x1f, 0xd6, 0xf5, 0x34, 0xa9,
- 0x7e, 0x19, 0x19, 0xbf, 0x85, 0xe5, 0xef, 0x90, 0x22, 0x4f, 0x1a, 0x9f, 0x69, 0xcf, 0x03, 0xe1,
- 0xf7, 0x90, 0x2b, 0x44, 0xda, 0x1a, 0x2b, 0x43, 0xa5, 0x58, 0x27, 0xf1, 0x6a, 0x26, 0x36, 0x7f,
- 0x34, 0x46, 0x2b, 0xec, 0x3a, 0xad, 0xa2, 0x7a, 0xf9, 0x2f, 0xba, 0x19, 0x59, 0x85, 0x90, 0xcf,
- 0xfb, 0x56, 0xb0, 0x0c, 0x6b, 0x7c, 0x04, 0x56, 0x64, 0xa1, 0x8b, 0xf1, 0x02, 0xce, 0xe5, 0xf6,
- 0xcb, 0x58, 0x21, 0x77, 0xfe, 0x5d, 0xb4, 0x84, 0xbb, 0x3e, 0xad, 0xc2, 0x78, 0x09, 0xdc, 0x69,
- 0xda, 0x1b, 0xa5, 0xe7, 0x2c, 0x4f, 0xec, 0x1a, 0x2e, 0xa8, 0x57, 0x42, 0x76, 0x1d, 0x1e, 0x04,
- 0x92, 0x69, 0x8d, 0x75, 0xe1, 0xc7, 0xc7, 0x1b, 0x56, 0x3d, 0x01, 0x9b, 0xd2, 0x63, 0xdc, 0x01,
- 0xe9, 0x53, 0x93, 0x4b, 0x71, 0x27, 0xb1, 0x71, 0x3a, 0x99, 0x18, 0xd1, 0x51, 0x44, 0xaf, 0x8b,
- 0x74, 0xdf, 0xc7, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4e, 0x1a, 0xc1, 0x0d, 0x9a, 0x01, 0x00,
+ // 321 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x64, 0x91, 0x4f, 0x4e, 0xf3, 0x30,
+ 0x10, 0xc5, 0x95, 0xaf, 0x1f, 0xad, 0x32, 0x01, 0x15, 0xac, 0x52, 0xb9, 0x5d, 0x20, 0x54, 0x16,
+ 0x54, 0x42, 0x4a, 0x25, 0x58, 0xb1, 0x2e, 0x37, 0x80, 0xbd, 0xe5, 0xba, 0x6e, 0x6a, 0x08, 0x99,
+ 0x68, 0xec, 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x12, 0x32, 0x4d, 0xf1, 0x28, 0x90, 0x4c, 0x62, 0x32, 0x5b, 0x6e, 0x3c,
+ 0x58, 0x86, 0x8b, 0xaf, 0x00, 0xc2, 0xce, 0xbe, 0xf2, 0x3b, 0x22, 0xbd, 0x69, 0xb2, 0xde, 0xef,
+ 0xa4, 0xea, 0xec, 0xfe, 0x4c, 0xb4, 0xe8, 0x9f, 0x47, 0xe5, 0x2a, 0xd6, 0x49, 0xa7, 0x85, 0x92,
+ 0x6a, 0xaf, 0x85, 0x35, 0x9f, 0x9a, 0x0f, 0x3c, 0x79, 0x84, 0x69, 0x9f, 0xe8, 0x8f, 0xdc, 0xd4,
+ 0x99, 0xf0, 0xff, 0xfe, 0xf4, 0x59, 0x5c, 0x87, 0x16, 0xb7, 0xa1, 0xc5, 0x4f, 0x4d, 0x68, 0x9b,
+ 0xa1, 0x2f, 0x3d, 0xfc, 0x04, 0x00, 0x00, 0xff, 0xff, 0xd4, 0xb2, 0x92, 0x05, 0x10, 0x02, 0x00,
0x00,
}
« no previous file with comments | « common/proto/logdog/svcconfig/config.proto ('k') | server/cmd/logdog_collector/Dockerfile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698