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

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

Issue 1967273002: LogDog: Implement RegisterPrefix RPC. (Closed) Base URL: https://github.com/luci/luci-go@logdog-butler-register-coordinator-endpoint
Patch Set: Add missing test. Created 4 years, 7 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 "google/protobuf/duration.proto"; 9 import "google/protobuf/duration.proto";
10 10
(...skipping 15 matching lines...) Expand all
26 repeated string writer_auth_groups = 3; 26 repeated string writer_auth_groups = 3;
27 27
28 // The maximum lifetime of a log stream. 28 // The maximum lifetime of a log stream.
29 // 29 //
30 // If a stream has not terminated after this period of time, it will be 30 // If a stream has not terminated after this period of time, it will be
31 // forcefully archived, and additional stream data will be discarded. 31 // forcefully archived, and additional stream data will be discarded.
32 // 32 //
33 // This is upper-bounded by the global "archive_delay_max" parameter. 33 // This is upper-bounded by the global "archive_delay_max" parameter.
34 google.protobuf.Duration max_stream_age = 4; 34 google.protobuf.Duration max_stream_age = 4;
35 35
36 // The maximum amount of time after a prefix has been registered when log
37 // streams may also be registered under that prefix.
38 //
39 // See Config's "prefix_expiration" for more information.
40 google.protobuf.Duration prefix_expiration = 5;
41
36 // The base Google Storage archival path, of the form: "gs://bucket/..." 42 // The base Google Storage archival path, of the form: "gs://bucket/..."
37 // 43 //
38 // The bucket name must be included (e.g., "gs://foo"). The remainder of the 44 // The bucket name must be included (e.g., "gs://foo"). The remainder of the
39 // base path is optional based on desired archive location. 45 // base path is optional based on desired archive location.
40 // 46 //
41 // Note that the Archivist microservice must have WRITE access to this 47 // Note that the Archivist microservice must have WRITE access to this
42 // bucket, and the Coordinator must have READ access. 48 // bucket, and the Coordinator must have READ access.
43 // 49 //
44 // If this is not set, the logs will be archived in a project-named 50 // If this is not set, the logs will be archived in a project-named
45 // subdirectory in the global "archive_gs_base" location. 51 // subdirectory in the global "archive_gs_base" location.
(...skipping 11 matching lines...) Expand all
57 int32 archive_index_stream_range = 12; 63 int32 archive_index_stream_range = 12;
58 // If not zero, the maximum number of prefix indices between index entries. 64 // If not zero, the maximum number of prefix indices between index entries.
59 // 65 //
60 // If this is not set, the global "index_prefix_range" value will be used. 66 // If this is not set, the global "index_prefix_range" value will be used.
61 int32 archive_index_prefix_range = 21; 67 int32 archive_index_prefix_range = 21;
62 // If not zero, the maximum number of log data bytes between index entries. 68 // If not zero, the maximum number of log data bytes between index entries.
63 // 69 //
64 // If this is not set, the global "index_byte_range" value will be used. 70 // If this is not set, the global "index_byte_range" value will be used.
65 int32 archive_index_byte_range = 22; 71 int32 archive_index_byte_range = 22;
66 } 72 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698