package google.devtools.cloudtrace.v2

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service TraceService

tracing.proto:36

This file describes an API for collecting and viewing traces and spans within a trace. A Trace is a collection of spans corresponding to a single operation or set of operations for an application. A span is an individual timed event which forms a node of the trace tree. A single trace may contain span(s) from multiple services.

message AttributeValue

trace.proto:239

The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.

Used in: Span.Attributes

message Module

trace.proto:311

Binary module.

Used in: StackTrace.StackFrame

message Span

trace.proto:37

A span represents a single operation within a trace. Spans can be nested to form a trace tree. Often, a trace contains a root span that describes the end-to-end latency, and one or more subspans for its sub-operations. A trace can also contain multiple root spans, or none at all. Spans do not need to be contiguous—there may be gaps or overlaps between spans in a trace.

Used as request type in: TraceService.CreateSpan

Used as response type in: TraceService.CreateSpan

Used as field type in: BatchWriteSpansRequest

message Span.Attributes

trace.proto:39

A set of attributes, each in the format `[KEY]:[VALUE]`.

Used in: Span, Link, TimeEvent.Annotation

trace.proto:134

A pointer from the current span to another span in the same trace or in a different trace. For example, this can be used in batching operations, where a single batch handler processes multiple requests from different traces or when the handler receives a request from a different project.

Used in: Links

enum Span.Link.Type

trace.proto:137

The relationship of the current span relative to the linked span: child, parent, or unspecified.

Used in: Link

trace.proto:164

A collection of links, which are references from this span to a span in the same or different trace.

Used in: Span

message Span.TimeEvent

trace.proto:57

A time-stamped annotation or message event in the Span.

Used in: TimeEvents

message Span.TimeEvent.Annotation

trace.proto:59

Text annotation with a set of attributes.

Used in: TimeEvent

message Span.TimeEvent.MessageEvent

trace.proto:70

An event describing a message sent/received between Spans.

Used in: TimeEvent

enum Span.TimeEvent.MessageEvent.Type

trace.proto:72

Indicates whether the message was sent or received.

Used in: MessageEvent

message Span.TimeEvents

trace.proto:117

A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation on the span, consisting of either user-supplied key:value pairs, or details of a message sent/received between Spans.

Used in: Span

message StackTrace

trace.proto:254

A call stack appearing in a trace.

Used in: Span

message StackTrace.StackFrame

trace.proto:256

Represents a single stack frame in a stack trace.

Used in: StackFrames

message StackTrace.StackFrames

trace.proto:285

A collection of stack frames, which can be truncated.

Used in: StackTrace

message TruncatableString

trace.proto:322

Represents a string that might be shortened to a specified length.

Used in: AttributeValue, Module, Span, Span.TimeEvent.Annotation, StackTrace.StackFrame