You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The files can't be generated relative to the `events` dir, or else
`events` isn't included in the absolute path of the generated protobuf
files. This can easily cause conflicts with other repos that define
similarly named protobuf definitions (i.e. loggregator v2).
@@ -51,26 +51,26 @@ Envelope wraps an Event and adds metadata.
51
51
| Field | Type | Label | Description |
52
52
| ----- | ---- | ----- | ----------- |
53
53
| origin |[string](#string)| required | Unique description of the origin of this event. |
54
-
| eventType |[Envelope.EventType](#events-Envelope-EventType)| required | Type of wrapped event. Only the optional field corresponding to the value of eventType should be set. |
54
+
| eventType |[Envelope.EventType](#events.Envelope.EventType)| required | Type of wrapped event. Only the optional field corresponding to the value of eventType should be set. |
55
55
| timestamp |[int64](#int64)| optional | UNIX timestamp (in nanoseconds) event was wrapped in this Envelope. |
56
56
| deployment |[string](#string)| optional | Deployment name (used to uniquely identify source). |
57
57
| job |[string](#string)| optional | Job name (used to uniquely identify source). |
58
58
| index |[string](#string)| optional | Index of job (used to uniquely identify source). |
59
59
| ip |[string](#string)| optional | IP address (used to uniquely identify source). |
60
-
| tags |[Envelope.TagsEntry](#events-Envelope-TagsEntry)| repeated | key/value tags to include additional identifying information. |
@@ -88,7 +88,7 @@ Envelope wraps an Event and adds metadata.
88
88
89
89
90
90
91
-
<aname="events-Envelope-EventType"></a>
91
+
<aname="events.Envelope.EventType"></a>
92
92
93
93
### Envelope.EventType
94
94
Type of the wrapped event.
@@ -111,14 +111,14 @@ Type of the wrapped event.
111
111
112
112
113
113
114
-
<aname="error-proto"></a>
114
+
<aname="events/error.proto"></a>
115
115
<palign="right"><ahref="#top">Top</a></p>
116
116
117
-
## error.proto
117
+
## events/error.proto
118
118
119
119
120
120
121
-
<aname="events-Error"></a>
121
+
<aname="events.Error"></a>
122
122
123
123
### Error
124
124
An Error event represents an error in the originating process.
@@ -144,14 +144,14 @@ An Error event represents an error in the originating process.
144
144
145
145
146
146
147
-
<aname="http-proto"></a>
147
+
<aname="events/http.proto"></a>
148
148
<palign="right"><ahref="#top">Top</a></p>
149
149
150
-
## http.proto
150
+
## events/http.proto
151
151
152
152
153
153
154
-
<aname="events-HttpStartStop"></a>
154
+
<aname="events.HttpStartStop"></a>
155
155
156
156
### HttpStartStop
157
157
An HttpStartStop event represents the whole lifecycle of an HTTP request.
@@ -161,15 +161,15 @@ An HttpStartStop event represents the whole lifecycle of an HTTP request.
161
161
| ----- | ---- | ----- | ----------- |
162
162
| startTimestamp |[int64](#int64)| required | UNIX timestamp (in nanoseconds) when the request was sent (by a client) or received (by a server). |
163
163
| stopTimestamp |[int64](#int64)| required | UNIX timestamp (in nanoseconds) when the request was received. |
164
-
| requestId |[UUID](#events-UUID)| required | ID for tracking lifecycle of request. |
165
-
| peerType |[PeerType](#events-PeerType)| required | Role of the emitting process in the request cycle. |
166
-
| method |[Method](#events-Method)| required | Method of the request. |
164
+
| requestId |[UUID](#events.UUID)| required | ID for tracking lifecycle of request. |
165
+
| peerType |[PeerType](#events.PeerType)| required | Role of the emitting process in the request cycle. |
166
+
| method |[Method](#events.Method)| required | Method of the request. |
167
167
| uri |[string](#string)| required | Destination of the request. |
168
168
| remoteAddress |[string](#string)| required | Remote address of the request. (For a server, this should be the origin of the request.) |
169
169
| userAgent |[string](#string)| required | Contents of the UserAgent header on the request. |
170
170
| statusCode |[int32](#int32)| required | Status code returned with the response to the request. |
171
171
| contentLength |[int64](#int64)| required | Length of response (bytes). |
172
-
| applicationId |[UUID](#events-UUID)| optional | If this request was made in relation to an appliciation, this field should track that application's ID. |
172
+
| applicationId |[UUID](#events.UUID)| optional | If this request was made in relation to an appliciation, this field should track that application's ID. |
173
173
| instanceIndex |[int32](#int32)| optional | Index of the application instance. |
174
174
| instanceId |[string](#string)| optional | ID of the application instance. |
175
175
| forwarded |[string](#string)| repeated | This contains http forwarded-for [x-forwarded-for] header from the request. |
@@ -181,7 +181,7 @@ An HttpStartStop event represents the whole lifecycle of an HTTP request.
181
181
182
182
183
183
184
-
<aname="events-Method"></a>
184
+
<aname="events.Method"></a>
185
185
186
186
### Method
187
187
HTTP method.
@@ -235,7 +235,7 @@ HTTP method.
235
235
236
236
237
237
238
-
<aname="events-PeerType"></a>
238
+
<aname="events.PeerType"></a>
239
239
240
240
### PeerType
241
241
Type of peer handling request.
@@ -254,14 +254,14 @@ Type of peer handling request.
254
254
255
255
256
256
257
-
<aname="log-proto"></a>
257
+
<aname="events/log.proto"></a>
258
258
<palign="right"><ahref="#top">Top</a></p>
259
259
260
-
## log.proto
260
+
## events/log.proto
261
261
262
262
263
263
264
-
<aname="events-LogMessage"></a>
264
+
<aname="events.LogMessage"></a>
265
265
266
266
### LogMessage
267
267
A LogMessage contains a "log line" and associated metadata.
@@ -270,7 +270,7 @@ A LogMessage contains a "log line" and associated metadata.
270
270
| Field | Type | Label | Description |
271
271
| ----- | ---- | ----- | ----------- |
272
272
| message |[bytes](#bytes)| required | Bytes of the log message. (Note that it is not required to be a single line.) |
273
-
| message_type |[LogMessage.MessageType](#events-LogMessage-MessageType)| required | Type of the message (OUT or ERR). |
273
+
| message_type |[LogMessage.MessageType](#events.LogMessage.MessageType)| required | Type of the message (OUT or ERR). |
274
274
| timestamp |[int64](#int64)| required | UNIX timestamp (in nanoseconds) when the log was written. |
275
275
| app_id |[string](#string)| optional | Application that emitted the message (or to which the application is related). |
276
276
| source_type |[string](#string)| optional | Source of the message. For Cloud Foundry, this can be "APP", "RTR", "DEA", "STG", etc. |
@@ -283,7 +283,7 @@ A LogMessage contains a "log line" and associated metadata.
283
283
284
284
285
285
286
-
<aname="events-LogMessage-MessageType"></a>
286
+
<aname="events.LogMessage.MessageType"></a>
287
287
288
288
### LogMessage.MessageType
289
289
MessageType stores the destination of the message (corresponding to STDOUT or STDERR).
@@ -302,14 +302,14 @@ MessageType stores the destination of the message (corresponding to STDOUT or ST
302
302
303
303
304
304
305
-
<aname="metric-proto"></a>
305
+
<aname="events/metric.proto"></a>
306
306
<palign="right"><ahref="#top">Top</a></p>
307
307
308
-
## metric.proto
308
+
## events/metric.proto
309
309
310
310
311
311
312
-
<aname="events-ContainerMetric"></a>
312
+
<aname="events.ContainerMetric"></a>
313
313
314
314
### ContainerMetric
315
315
A ContainerMetric records resource usage of an app in a container.
@@ -330,7 +330,7 @@ A ContainerMetric records resource usage of an app in a container.
330
330
331
331
332
332
333
-
<aname="events-CounterEvent"></a>
333
+
<aname="events.CounterEvent"></a>
334
334
335
335
### CounterEvent
336
336
A CounterEvent represents the increment of a counter. It contains only the
@@ -349,7 +349,7 @@ maintain the value of the counter.
349
349
350
350
351
351
352
-
<aname="events-ValueMetric"></a>
352
+
<aname="events.ValueMetric"></a>
353
353
354
354
### ValueMetric
355
355
A ValueMetric indicates the value of a metric at an instant in time.
@@ -375,14 +375,14 @@ A ValueMetric indicates the value of a metric at an instant in time.
0 commit comments