Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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
I think the standard practice is to use "reserved"
| |
| 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 Loading... | |
| 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 } |
| OLD | NEW |