123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377 |
- syntax = "proto3";
- package google.devtools.cloudtrace.v2;
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/protobuf/timestamp.proto";
- import "google/protobuf/wrappers.proto";
- import "google/rpc/status.proto";
- option csharp_namespace = "Google.Cloud.Trace.V2";
- option go_package = "google.golang.org/genproto/googleapis/devtools/cloudtrace/v2;cloudtrace";
- option java_multiple_files = true;
- option java_outer_classname = "TraceProto";
- option java_package = "com.google.devtools.cloudtrace.v2";
- option php_namespace = "Google\\Cloud\\Trace\\V2";
- option ruby_package = "Google::Cloud::Trace::V2";
- message Span {
- option (google.api.resource) = {
- type: "cloudtrace.googleapis.com/Span"
- pattern: "projects/{project}/traces/{trace}/spans/{span}"
- };
-
- message Attributes {
-
-
-
-
-
-
-
- map<string, AttributeValue> attribute_map = 1;
-
-
-
- int32 dropped_attributes_count = 2;
- }
-
- message TimeEvent {
-
- message Annotation {
-
-
- TruncatableString description = 1;
-
-
- Attributes attributes = 2;
- }
-
- message MessageEvent {
-
- enum Type {
-
- TYPE_UNSPECIFIED = 0;
-
- SENT = 1;
-
- RECEIVED = 2;
- }
-
-
- Type type = 1;
-
-
-
- int64 id = 2;
-
- int64 uncompressed_size_bytes = 3;
-
-
- int64 compressed_size_bytes = 4;
- }
-
- google.protobuf.Timestamp time = 1;
-
-
- oneof value {
-
- Annotation annotation = 2;
-
- MessageEvent message_event = 3;
- }
- }
-
-
-
- message TimeEvents {
-
- repeated TimeEvent time_event = 1;
-
-
- int32 dropped_annotations_count = 2;
-
-
- int32 dropped_message_events_count = 3;
- }
-
-
-
-
- message Link {
-
-
- enum Type {
-
- TYPE_UNSPECIFIED = 0;
-
- CHILD_LINKED_SPAN = 1;
-
- PARENT_LINKED_SPAN = 2;
- }
-
- string trace_id = 1;
-
- string span_id = 2;
-
- Type type = 3;
-
-
- Attributes attributes = 4;
- }
-
-
- message Links {
-
- repeated Link link = 1;
-
-
- int32 dropped_links_count = 2;
- }
-
-
- enum SpanKind {
-
-
- SPAN_KIND_UNSPECIFIED = 0;
-
- INTERNAL = 1;
-
-
- SERVER = 2;
-
-
- CLIENT = 3;
-
-
-
-
- PRODUCER = 4;
-
-
-
-
- CONSUMER = 5;
- }
-
-
-
-
-
-
-
-
-
- string name = 1 [(google.api.field_behavior) = REQUIRED];
-
- string span_id = 2 [(google.api.field_behavior) = REQUIRED];
-
-
- string parent_span_id = 3;
-
-
-
-
-
-
-
- TruncatableString display_name = 4 [(google.api.field_behavior) = REQUIRED];
-
-
-
- google.protobuf.Timestamp start_time = 5 [(google.api.field_behavior) = REQUIRED];
-
-
-
- google.protobuf.Timestamp end_time = 6 [(google.api.field_behavior) = REQUIRED];
-
-
- Attributes attributes = 7;
-
- StackTrace stack_trace = 8;
-
-
- TimeEvents time_events = 9;
-
- Links links = 10;
-
- google.rpc.Status status = 11 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
- google.protobuf.BoolValue same_process_as_parent_span = 12 [(google.api.field_behavior) = OPTIONAL];
-
-
- google.protobuf.Int32Value child_span_count = 13 [(google.api.field_behavior) = OPTIONAL];
-
-
-
- SpanKind span_kind = 14 [(google.api.field_behavior) = OPTIONAL];
- }
- message AttributeValue {
-
- oneof value {
-
- TruncatableString string_value = 1;
-
- int64 int_value = 2;
-
- bool bool_value = 3;
- }
- }
- message StackTrace {
-
- message StackFrame {
-
-
- TruncatableString function_name = 1;
-
-
-
- TruncatableString original_function_name = 2;
-
-
- TruncatableString file_name = 3;
-
- int64 line_number = 4;
-
-
- int64 column_number = 5;
-
- Module load_module = 6;
-
- TruncatableString source_version = 7;
- }
-
- message StackFrames {
-
- repeated StackFrame frame = 1;
-
-
-
- int32 dropped_frames_count = 2;
- }
-
- StackFrames stack_frames = 1;
-
-
-
-
-
-
-
-
-
- int64 stack_trace_hash_id = 2;
- }
- message Module {
-
-
- TruncatableString module = 1;
-
-
- TruncatableString build_id = 2;
- }
- message TruncatableString {
-
-
-
-
-
-
-
- string value = 1;
-
-
- int32 truncated_byte_count = 2;
- }
|