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

Side by Side Diff: common/proto/logdog/logpb/butler.proto

Issue 1970823005: LogDog: Add prefix registration endpoint. (Closed) Base URL: https://github.com/luci/luci-go@logdog-project-archivist-useconfig
Patch Set: Updated patchset dependency 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 logpb; 7 package logpb;
8 8
9 import "log.proto"; 9 import "log.proto";
10 import "google/protobuf/timestamp.proto"; 10 import "google/protobuf/timestamp.proto";
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 * messages together into this protocol buffer. Based on Butler bundling 44 * messages together into this protocol buffer. Based on Butler bundling
45 * settings, this message can represent anything from a single LogRecord to 45 * settings, this message can represent anything from a single LogRecord to
46 * multiple LogRecords belonging to several different streams. 46 * multiple LogRecords belonging to several different streams.
47 * 47 *
48 * Entries in a Log Bundle are fully self-descriptive: no additional information 48 * Entries in a Log Bundle are fully self-descriptive: no additional information
49 * is needed to fully associate the contained data with its proper place in 49 * is needed to fully associate the contained data with its proper place in
50 * the source log stream. 50 * the source log stream.
51 */ 51 */
52 message ButlerLogBundle { 52 message ButlerLogBundle {
53 /* 53 /*
54 * String describing the source of this LogBundle. 54 * (DEPRECATED) Stream source information. Now supplied during prefix
55 * This is an unstructured field, and is not intended to be parsed. An 55 * registration.
56 * example would be: "Butler @a33967 (Linux/amd64)".
57 *
58 * This field will be used for debugging and internal accounting.
59 */ 56 */
60 string source = 1; 57 string deprecated_source = 1;
nodir 2016/05/19 16:43:17 use reserved
dnj (Google) 2016/05/19 22:52:05 I think "deprecated" is better here, since it comm
61 58
62 /* The timestamp when this bundle was generated. 59 /* The timestamp when this bundle was generated.
63 * 60 *
64 * This field will be used for debugging and internal accounting. 61 * This field will be used for debugging and internal accounting.
65 */ 62 */
66 google.protobuf.Timestamp timestamp = 2; 63 google.protobuf.Timestamp timestamp = 2;
67 64
68 /* 65 /*
69 * A bundle Entry describes a set of LogEntry messages originating from the 66 * A bundle Entry describes a set of LogEntry messages originating from the
70 * same log stream. 67 * same log stream.
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 * The Collector will check the secret prior to ingesting logs. If the 130 * The Collector will check the secret prior to ingesting logs. If the
134 * secret doesn't match the value recorded by the Coordinator, the log 131 * secret doesn't match the value recorded by the Coordinator, the log
135 * will be discarded. 132 * will be discarded.
136 * 133 *
137 * This ensures that only the Butler instance that generated the log stream 134 * This ensures that only the Butler instance that generated the log stream
138 * can emit log data for that stream. It also ensures that only authenticated 135 * can emit log data for that stream. It also ensures that only authenticated
139 * users can write to a Prefix. 136 * users can write to a Prefix.
140 */ 137 */
141 bytes secret = 6; 138 bytes secret = 6;
142 } 139 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698