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

Side by Side Diff: discovery/googleapis/cloudtrace__v2.json

Issue 2973303002: Api-Roll 51: 2017-07-10 (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « discovery/googleapis/cloudtrace__v1.json ('k') | discovery/googleapis/compute__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 {
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/trace.readonly": {
6 "description": "Read Trace data for a project or application "
7 },
8 "https://www.googleapis.com/auth/trace.append": {
9 "description": "Write Trace data for a project or applicatio n"
10 },
11 "https://www.googleapis.com/auth/cloud-platform": {
12 "description": "View and manage your data across Google Clou d Platform services"
13 }
14 }
15 }
16 },
17 "basePath": "",
18 "baseUrl": "https://cloudtrace.googleapis.com/",
19 "batchPath": "batch",
20 "canonicalName": "Cloud Trace",
21 "description": "Send and retrieve trace data from Stackdriver Trace. Data is generated and available by default for all App Engine applications. Data from o ther applications can be written to Stackdriver Trace for display, reporting, an d analysis.\n",
22 "discoveryVersion": "v1",
23 "documentationLink": "https://cloud.google.com/trace",
24 "icons": {
25 "x16": "http://www.google.com/images/icons/product/search-16.gif",
26 "x32": "http://www.google.com/images/icons/product/search-32.gif"
27 },
28 "id": "cloudtrace:v2",
29 "kind": "discovery#restDescription",
30 "name": "cloudtrace",
31 "ownerDomain": "google.com",
32 "ownerName": "Google",
33 "parameters": {
34 "uploadType": {
35 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
36 "location": "query",
37 "type": "string"
38 },
39 "fields": {
40 "description": "Selector specifying which fields to include in a par tial response.",
41 "location": "query",
42 "type": "string"
43 },
44 "callback": {
45 "description": "JSONP",
46 "location": "query",
47 "type": "string"
48 },
49 "$.xgafv": {
50 "description": "V1 error format.",
51 "enum": [
52 "1",
53 "2"
54 ],
55 "enumDescriptions": [
56 "v1 error format",
57 "v2 error format"
58 ],
59 "location": "query",
60 "type": "string"
61 },
62 "alt": {
63 "default": "json",
64 "description": "Data format for response.",
65 "enum": [
66 "json",
67 "media",
68 "proto"
69 ],
70 "enumDescriptions": [
71 "Responses with Content-Type of application/json",
72 "Media download with context-dependent Content-Type",
73 "Responses with Content-Type of application/x-protobuf"
74 ],
75 "location": "query",
76 "type": "string"
77 },
78 "key": {
79 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
80 "location": "query",
81 "type": "string"
82 },
83 "access_token": {
84 "description": "OAuth access token.",
85 "location": "query",
86 "type": "string"
87 },
88 "quotaUser": {
89 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
90 "location": "query",
91 "type": "string"
92 },
93 "pp": {
94 "default": "true",
95 "description": "Pretty-print response.",
96 "location": "query",
97 "type": "boolean"
98 },
99 "oauth_token": {
100 "description": "OAuth 2.0 token for the current user.",
101 "location": "query",
102 "type": "string"
103 },
104 "bearer_token": {
105 "description": "OAuth bearer token.",
106 "location": "query",
107 "type": "string"
108 },
109 "upload_protocol": {
110 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
111 "location": "query",
112 "type": "string"
113 },
114 "prettyPrint": {
115 "default": "true",
116 "description": "Returns response with indentations and line breaks." ,
117 "location": "query",
118 "type": "boolean"
119 }
120 },
121 "protocol": "rest",
122 "resources": {
123 "projects": {
124 "resources": {
125 "traces": {
126 "methods": {
127 "listSpans": {
128 "description": "Returns a list of spans within a tra ce.",
129 "httpMethod": "GET",
130 "id": "cloudtrace.projects.traces.listSpans",
131 "parameterOrder": [
132 "parent"
133 ],
134 "parameters": {
135 "parent": {
136 "description": "Required: The resource name of the trace containing the spans to list.\nThe format is `projects/PROJECT_ID/t races/TRACE_ID`.",
137 "location": "path",
138 "pattern": "^projects/[^/]+/traces/[^/]+$",
139 "required": true,
140 "type": "string"
141 },
142 "pageToken": {
143 "description": "Optional. If present, then r etrieve the next batch of results from the\npreceding call to this method. `page _token` must be the value of\n`next_page_token` from the previous response. The values of other method\nparameters should be identical to those in the previous call.",
144 "location": "query",
145 "type": "string"
146 }
147 },
148 "path": "v2/{+parent}:listSpans",
149 "response": {
150 "$ref": "ListSpansResponse"
151 },
152 "scopes": [
153 "https://www.googleapis.com/auth/cloud-platform" ,
154 "https://www.googleapis.com/auth/trace.readonly"
155 ]
156 },
157 "list": {
158 "description": "Returns of a list of traces that mat ch the specified filter conditions.",
159 "httpMethod": "GET",
160 "id": "cloudtrace.projects.traces.list",
161 "parameterOrder": [
162 "parent"
163 ],
164 "parameters": {
165 "pageSize": {
166 "description": "Optional. The maximum number of results to return from this request.\nNon-positive values are ignored. The p resence of `next_page_token` in the\nresponse indicates that more results might be available, even if fewer than\nthe maximum number of results is returned by t his request.",
167 "format": "int32",
168 "location": "query",
169 "type": "integer"
170 },
171 "parent": {
172 "description": "Required. The project where the trace data is stored. The format\nis `projects/PROJECT_ID`.",
173 "location": "path",
174 "pattern": "^projects/[^/]+$",
175 "required": true,
176 "type": "string"
177 },
178 "orderBy": {
179 "description": "Optional. A single field use d to sort the returned traces.\nOnly the following field names can be used:\n\n* `trace_id`: the trace's ID field\n* `name`: the root span's resource name\ n* `duration`: the difference between the root span's start time and end time\ n* `start`: the start time of the root span\n\nSorting is in ascending order unless `desc` is appended to the sort field name.\nExample: `\"name desc\"`).",
180 "location": "query",
181 "type": "string"
182 },
183 "filter": {
184 "description": "Opional. Return only traces that match this\n[trace filter](/trace/docs/trace-filters). Example:\n\n \"la bel:/http/url root:/_ah/background my_label:17\"",
185 "location": "query",
186 "type": "string"
187 },
188 "endTime": {
189 "description": "Optional. Do not return trac es whose start time is later than this time.",
190 "format": "google-datetime",
191 "location": "query",
192 "type": "string"
193 },
194 "pageToken": {
195 "description": "Optional. If present, then r etrieve the next batch of results from the\npreceding call to this method. `pag e_token` must be the value of\n`next_page_token` from the previous response. Th e values of other method\nparameters should be identical to those in the previou s call.",
196 "location": "query",
197 "type": "string"
198 },
199 "startTime": {
200 "description": "Optional. Do not return trac es whose end time is earlier than this time.",
201 "format": "google-datetime",
202 "location": "query",
203 "type": "string"
204 }
205 },
206 "path": "v2/{+parent}/traces",
207 "response": {
208 "$ref": "ListTracesResponse"
209 },
210 "scopes": [
211 "https://www.googleapis.com/auth/cloud-platform" ,
212 "https://www.googleapis.com/auth/trace.readonly"
213 ]
214 },
215 "batchWrite": {
216 "description": "Sends new spans to Stackdriver Trace or updates existing traces. If the\nname of a trace that you send matches that of an existing trace, new spans\nare added to the existing trace. Attempt to upd ate existing spans results\nundefined behavior. If the name does not match, a ne w trace is created\nwith given set of spans.",
217 "httpMethod": "POST",
218 "id": "cloudtrace.projects.traces.batchWrite",
219 "parameterOrder": [
220 "name"
221 ],
222 "parameters": {
223 "name": {
224 "description": "Required. Name of the projec t where the spans belong. The format is\n`projects/PROJECT_ID`.",
225 "location": "path",
226 "pattern": "^projects/[^/]+$",
227 "required": true,
228 "type": "string"
229 }
230 },
231 "path": "v2/{+name}/traces:batchWrite",
232 "request": {
233 "$ref": "BatchWriteSpansRequest"
234 },
235 "response": {
236 "$ref": "Empty"
237 },
238 "scopes": [
239 "https://www.googleapis.com/auth/cloud-platform" ,
240 "https://www.googleapis.com/auth/trace.append"
241 ]
242 }
243 },
244 "resources": {
245 "spans": {
246 "methods": {
247 "create": {
248 "description": "Creates a new Span.",
249 "httpMethod": "PUT",
250 "id": "cloudtrace.projects.traces.spans.crea te",
251 "parameterOrder": [
252 "name"
253 ],
254 "parameters": {
255 "name": {
256 "description": "The resource name of the span in the following format:\n\n projects/[PROJECT_ID]traces/[TRACE_ID] /spans/SPAN_ID is a unique identifier for a trace within a project.\n[SPAN_ID] i s a unique identifier for a span within a trace,\nassigned when the span is crea ted.",
257 "location": "path",
258 "pattern": "^projects/[^/]+/traces/[ ^/]+/spans/[^/]+$",
259 "required": true,
260 "type": "string"
261 }
262 },
263 "path": "v2/{+name}",
264 "request": {
265 "$ref": "Span"
266 },
267 "response": {
268 "$ref": "Span"
269 },
270 "scopes": [
271 "https://www.googleapis.com/auth/cloud-p latform",
272 "https://www.googleapis.com/auth/trace.a ppend"
273 ]
274 }
275 }
276 }
277 }
278 }
279 }
280 }
281 },
282 "revision": "20170705",
283 "rootUrl": "https://cloudtrace.googleapis.com/",
284 "schemas": {
285 "StackTrace": {
286 "description": "A call stack appearing in a trace.",
287 "id": "StackTrace",
288 "properties": {
289 "stackFrames": {
290 "$ref": "StackFrames",
291 "description": "Stack frames in this stack trace. A maximum of 128 frames are allowed."
292 },
293 "stackTraceHashId": {
294 "description": "The hash ID is used to conserve network band width for duplicate\nstack traces within a single trace.\n\nOften multiple spans will have identical stack traces.\nThe first occurrence of a stack trace should contain both the\n`stackFrame` content and a value in `stackTraceHashId`.\n\nSu bsequent spans within the same request can refer\nto that stack trace by only se tting `stackTraceHashId`.",
295 "format": "uint64",
296 "type": "string"
297 }
298 },
299 "type": "object"
300 },
301 "TruncatableString": {
302 "description": "Represents a string that might be shortened to a spe cified length.",
303 "id": "TruncatableString",
304 "properties": {
305 "truncatedByteCount": {
306 "description": "The number of bytes removed from the origina l string. If this\nvalue is 0, then the string was not shortened.",
307 "format": "int32",
308 "type": "integer"
309 },
310 "value": {
311 "description": "The shortened string. For example, if the or iginal string was 500\nbytes long and the limit of the string was 128 bytes, the n this\nvalue contains the first 128 bytes of the 500-byte string. Note that\ntr uncation always happens on the character boundary, to ensure that\ntruncated str ing is still valid UTF8. In case of multi-byte characters,\nsize of truncated st ring can be less than truncation limit.",
312 "type": "string"
313 }
314 },
315 "type": "object"
316 },
317 "TimeEvent": {
318 "description": "A time-stamped annotation or network event in the Sp an.",
319 "id": "TimeEvent",
320 "properties": {
321 "time": {
322 "description": "The timestamp indicating the time the event occurred.",
323 "format": "google-datetime",
324 "type": "string"
325 },
326 "networkEvent": {
327 "$ref": "NetworkEvent",
328 "description": "An event describing an RPC message sent/rece ived on the network."
329 },
330 "annotation": {
331 "$ref": "Annotation",
332 "description": "One or more key:value pairs."
333 }
334 },
335 "type": "object"
336 },
337 "ListSpansResponse": {
338 "description": "The response message for the `ListSpans` method.",
339 "id": "ListSpansResponse",
340 "properties": {
341 "nextPageToken": {
342 "description": "If defined, indicates that there might be mo re spans that match the\nrequest. Pass this as the value of `pageToken` in a sub sequent request to\nretrieve additional spans.",
343 "type": "string"
344 },
345 "spans": {
346 "description": "The requested spans, if there are any in the specified trace.",
347 "items": {
348 "$ref": "Span"
349 },
350 "type": "array"
351 }
352 },
353 "type": "object"
354 },
355 "NetworkEvent": {
356 "description": "An event describing an RPC message sent or received on the network.",
357 "id": "NetworkEvent",
358 "properties": {
359 "messageId": {
360 "description": "An identifier for the message, which must be unique in this span.",
361 "format": "uint64",
362 "type": "string"
363 },
364 "messageSize": {
365 "description": "The number of bytes sent or received.",
366 "format": "uint64",
367 "type": "string"
368 },
369 "time": {
370 "description": "For sent messages, this is the time at which the first bit was sent.\nFor received messages, this is the time at which the l ast bit was\nreceived.",
371 "format": "google-datetime",
372 "type": "string"
373 },
374 "type": {
375 "description": "Type of NetworkEvent. Indicates whether the RPC message was sent or\nreceived.",
376 "enum": [
377 "TYPE_UNSPECIFIED",
378 "SENT",
379 "RECV"
380 ],
381 "enumDescriptions": [
382 "Unknown event type.",
383 "Indicates a sent RPC message.",
384 "Indicates a received RPC message."
385 ],
386 "type": "string"
387 }
388 },
389 "type": "object"
390 },
391 "StackFrame": {
392 "description": "Represents a single stack frame in a stack trace.",
393 "id": "StackFrame",
394 "properties": {
395 "fileName": {
396 "$ref": "TruncatableString",
397 "description": "The name of the source file where the functi on call appears (up to 256\nbytes)."
398 },
399 "sourceVersion": {
400 "$ref": "TruncatableString",
401 "description": "The version of the deployed source code (up to 128 bytes)."
402 },
403 "originalFunctionName": {
404 "$ref": "TruncatableString",
405 "description": "An un-mangled function name, if `function_na me` is\n[mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can\ nbe fully-qualified (up to 1024 bytes)."
406 },
407 "functionName": {
408 "$ref": "TruncatableString",
409 "description": "The fully-qualified name that uniquely ident ifies the function or\nmethod that is active in this frame (up to 1024 bytes)."
410 },
411 "lineNumber": {
412 "description": "The line number in `file_name` where the fun ction call appears.",
413 "format": "int64",
414 "type": "string"
415 },
416 "loadModule": {
417 "$ref": "Module",
418 "description": "The binary module from where the code was lo aded."
419 },
420 "columnNumber": {
421 "description": "The column number where the function call ap pears, if available.\nThis is important in JavaScript because of its anonymous f unctions.",
422 "format": "int64",
423 "type": "string"
424 }
425 },
426 "type": "object"
427 },
428 "Link": {
429 "description": "A pointer from the current span to another span in t he same trace or in a\ndifferent trace. For example, this can be used in batchin g operations,\nwhere a single batch handler processes multiple requests from dif ferent\ntraces or when the handler receives a request from a different project." ,
430 "id": "Link",
431 "properties": {
432 "type": {
433 "description": "The relationship of the current span relativ e to the linked span.",
434 "enum": [
435 "TYPE_UNSPECIFIED",
436 "CHILD_LINKED_SPAN",
437 "PARENT_LINKED_SPAN"
438 ],
439 "enumDescriptions": [
440 "The relationship of the two spans is unknown.",
441 "The linked span is a child of the current span.",
442 "The linked span is a parent of the current span."
443 ],
444 "type": "string"
445 },
446 "attributes": {
447 "$ref": "Attributes",
448 "description": "A set of attributes on the link. There is a limit of 32 attributes per\nlink."
449 },
450 "traceId": {
451 "description": "`TRACE_ID` identifies a trace within a proje ct.",
452 "type": "string"
453 },
454 "spanId": {
455 "description": "`SPAN_ID` identifies a span within a trace." ,
456 "type": "string"
457 }
458 },
459 "type": "object"
460 },
461 "Annotation": {
462 "description": "Text annotation with a set of attributes.",
463 "id": "Annotation",
464 "properties": {
465 "attributes": {
466 "$ref": "Attributes",
467 "description": "A set of attributes on the annotation. There is a limit of 4 attributes\nper Annotation."
468 },
469 "description": {
470 "$ref": "TruncatableString",
471 "description": "A user-supplied message describing the event . The maximum length for\nthe description is 256 bytes."
472 }
473 },
474 "type": "object"
475 },
476 "StackFrames": {
477 "description": "A collection of stack frames, which can be truncated .",
478 "id": "StackFrames",
479 "properties": {
480 "droppedFramesCount": {
481 "description": "The number of stack frames that were dropped because there\nwere too many stack frames.\nIf this value is 0, then no stack f rames were dropped.",
482 "format": "int32",
483 "type": "integer"
484 },
485 "frame": {
486 "description": "Stack frames in this call stack.",
487 "items": {
488 "$ref": "StackFrame"
489 },
490 "type": "array"
491 }
492 },
493 "type": "object"
494 },
495 "Trace": {
496 "description": "A trace describes how long it takes for an applicati on to perform some\noperations. It consists of a set of spans, each representing \nan operation and including time information and operation details.",
497 "id": "Trace",
498 "properties": {
499 "name": {
500 "description": "The resource name of the trace in the follow ing format:\n\n projects/[PROJECT_ID]/traces/TRACE_ID is a unique identifier for a trace within a project.\nThe ID is assigned when the trace is created.",
501 "type": "string"
502 }
503 },
504 "type": "object"
505 },
506 "TimeEvents": {
507 "description": "A collection of `TimeEvent`s. A `TimeEvent` is a tim e-stamped annotation\non the span, consisting of either user-supplied key:value pairs, or\ndetails of an RPC message sent/received on the network.",
508 "id": "TimeEvents",
509 "properties": {
510 "droppedAnnotationsCount": {
511 "description": "The number of dropped annotations in all the included time events.\nIf the value is 0, then no annotations were dropped.",
512 "format": "int32",
513 "type": "integer"
514 },
515 "timeEvent": {
516 "description": "A collection of `TimeEvent`s.",
517 "items": {
518 "$ref": "TimeEvent"
519 },
520 "type": "array"
521 },
522 "droppedNetworkEventsCount": {
523 "description": "The number of dropped network events in all the included time events.\nIf the value is 0, then no network events were droppe d.",
524 "format": "int32",
525 "type": "integer"
526 }
527 },
528 "type": "object"
529 },
530 "Module": {
531 "description": "Binary module.",
532 "id": "Module",
533 "properties": {
534 "module": {
535 "$ref": "TruncatableString",
536 "description": "For example: main binary, kernel modules, an d dynamic libraries\nsuch as libc.so, sharedlib.so (up to 256 bytes)."
537 },
538 "buildId": {
539 "$ref": "TruncatableString",
540 "description": "A unique identifier for the module, usually a hash of its\ncontents (up to 128 bytes)."
541 }
542 },
543 "type": "object"
544 },
545 "Status": {
546 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Lang uage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n \nThe error model and the `Status` message can be used in a variety of\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n - Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
547 "id": "Status",
548 "properties": {
549 "details": {
550 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.",
551 "items": {
552 "additionalProperties": {
553 "description": "Properties of the object. Contains f ield @type with type URL.",
554 "type": "any"
555 },
556 "type": "object"
557 },
558 "type": "array"
559 },
560 "code": {
561 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
562 "format": "int32",
563 "type": "integer"
564 },
565 "message": {
566 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
567 "type": "string"
568 }
569 },
570 "type": "object"
571 },
572 "BatchWriteSpansRequest": {
573 "description": "The request message for the `BatchWriteSpans` method .",
574 "id": "BatchWriteSpansRequest",
575 "properties": {
576 "spans": {
577 "description": "A collection of spans.",
578 "items": {
579 "$ref": "Span"
580 },
581 "type": "array"
582 }
583 },
584 "type": "object"
585 },
586 "Empty": {
587 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
588 "id": "Empty",
589 "properties": {},
590 "type": "object"
591 },
592 "Span": {
593 "description": "A span represents a single operation within a trace. Spans can be\nnested to form a trace tree. Often, a trace contains a root span\ nthat describes the end-to-end latency, and one or more subspans for\nits sub-op erations. A trace can also contain multiple root spans,\nor none at all. Spans d o not need to be contiguous—there may be\ngaps or overlaps between spans i n a trace.",
594 "id": "Span",
595 "properties": {
596 "childSpanCount": {
597 "description": "An optional number of child spans that were generated while this span\nwas active. If set, allows implementation to detect m issing child spans.",
598 "format": "uint32",
599 "type": "integer"
600 },
601 "sameProcessAsParentSpan": {
602 "description": "A highly recommended but not required flag t hat identifies when a trace\ncrosses a process boundary. True when the parent_sp an belongs to the\nsame process as the current span.",
603 "type": "boolean"
604 },
605 "status": {
606 "$ref": "Status",
607 "description": "An optional final status for this span."
608 },
609 "name": {
610 "description": "The resource name of the span in the followi ng format:\n\n projects/[PROJECT_ID]traces/[TRACE_ID]/spans/SPAN_ID is a uniq ue identifier for a trace within a project.\n[SPAN_ID] is a unique identifier fo r a span within a trace,\nassigned when the span is created.",
611 "type": "string"
612 },
613 "stackTrace": {
614 "$ref": "StackTrace",
615 "description": "Stack trace captured at the start of the spa n."
616 },
617 "parentSpanId": {
618 "description": "The [SPAN_ID] of this span's parent span. If this is a root span,\nthen this field must be empty.",
619 "type": "string"
620 },
621 "endTime": {
622 "description": "The end time of the span. On the client side , this is the time kept by\nthe local machine where the span execution ends. On the server side, this\nis the time when the server application handler stops run ning.",
623 "format": "google-datetime",
624 "type": "string"
625 },
626 "startTime": {
627 "description": "The start time of the span. On the client si de, this is the time kept by\nthe local machine where the span execution starts. On the server side, this\nis the time when the server's application handler sta rts running.",
628 "format": "google-datetime",
629 "type": "string"
630 },
631 "displayName": {
632 "$ref": "TruncatableString",
633 "description": "A description of the span's operation (up to 128 bytes).\nStackdriver Trace displays the description in the\n{% dynamic prin t site_values.console_name %}.\nFor example, the display name can be a qualified method name or a file name\nand a line number where the operation is called. A best practice is to use\nthe same display name within an application and at the same call point.\nThis makes it easier to correlate spans in different traces."
634 },
635 "timeEvents": {
636 "$ref": "TimeEvents",
637 "description": "The included time events. There can be up to 32 annotations and 128 network\nevents per span."
638 },
639 "links": {
640 "$ref": "Links",
641 "description": "A maximum of 128 links are allowed per Span. "
642 },
643 "attributes": {
644 "$ref": "Attributes",
645 "description": "A set of attributes on the span. There is a limit of 32 attributes per\nspan."
646 },
647 "spanId": {
648 "description": "The [SPAN_ID] portion of the span's resource name.",
649 "type": "string"
650 }
651 },
652 "type": "object"
653 },
654 "ListTracesResponse": {
655 "description": "The response message for the `ListTraces` method.",
656 "id": "ListTracesResponse",
657 "properties": {
658 "nextPageToken": {
659 "description": "If there might be more results than those ap pearing in this response, then\n`next_page_token` is included. To get the next set of results, call this\nmethod again using the value of `next_page_token` as `page_token`.",
660 "type": "string"
661 },
662 "traces": {
663 "description": "List of trace records returned.",
664 "items": {
665 "$ref": "Trace"
666 },
667 "type": "array"
668 }
669 },
670 "type": "object"
671 },
672 "AttributeValue": {
673 "description": "The allowed types for [VALUE] in a `[KEY]:[VALUE]` a ttribute.",
674 "id": "AttributeValue",
675 "properties": {
676 "intValue": {
677 "description": "A 64-bit signed integer.",
678 "format": "int64",
679 "type": "string"
680 },
681 "boolValue": {
682 "description": "A Boolean value represented by `true` or `fa lse`.",
683 "type": "boolean"
684 },
685 "stringValue": {
686 "$ref": "TruncatableString",
687 "description": "A string up to 256 bytes long."
688 }
689 },
690 "type": "object"
691 },
692 "Attributes": {
693 "description": "A set of attributes, each in the format `[KEY]:[VALU E]`.",
694 "id": "Attributes",
695 "properties": {
696 "droppedAttributesCount": {
697 "description": "The number of attributes that were discarded . Attributes can be discarded\nbecause their keys are too long or because there are too many attributes.\nIf this value is 0 then all attributes are valid.",
698 "format": "int32",
699 "type": "integer"
700 },
701 "attributeMap": {
702 "additionalProperties": {
703 "$ref": "AttributeValue"
704 },
705 "description": "The set of attributes. Each attribute's key can be up to 128 bytes\nlong. The value can be a string up to 256 bytes, an inte ger, or the\nBoolean values `true` and `false`. For example:\n\n \"/instance_ id\": \"my-instance\"\n \"/http/user_agent\": \"\"\n \"/http/request_bytes \": 300\n \"abc.com/myattribute\": true",
706 "type": "object"
707 }
708 },
709 "type": "object"
710 },
711 "Links": {
712 "description": "A collection of links, which are references from thi s span to a span\nin the same or different trace.",
713 "id": "Links",
714 "properties": {
715 "droppedLinksCount": {
716 "description": "The number of dropped links after the maximu m size was enforced. If\nthis value is 0, then no links were dropped.",
717 "format": "int32",
718 "type": "integer"
719 },
720 "link": {
721 "description": "A collection of links.",
722 "items": {
723 "$ref": "Link"
724 },
725 "type": "array"
726 }
727 },
728 "type": "object"
729 }
730 },
731 "servicePath": "",
732 "title": "Stackdriver Trace API",
733 "version": "v2"
734 }
OLDNEW
« no previous file with comments | « discovery/googleapis/cloudtrace__v1.json ('k') | discovery/googleapis/compute__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698