google-cloud-trace 0.39.0 → 0.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/CHANGELOG.md +24 -0
- data/lib/google-cloud-trace.rb +20 -12
- data/lib/google/cloud/trace.rb +18 -14
- data/lib/google/cloud/trace/credentials.rb +2 -2
- data/lib/google/cloud/trace/result_set.rb +20 -12
- data/lib/google/cloud/trace/service.rb +34 -60
- data/lib/google/cloud/trace/span.rb +3 -3
- data/lib/google/cloud/trace/trace_record.rb +3 -3
- data/lib/google/cloud/trace/version.rb +1 -1
- metadata +15 -64
- data/lib/google/cloud/trace/v1.rb +0 -16
- data/lib/google/cloud/trace/v1/credentials.rb +0 -39
- data/lib/google/cloud/trace/v1/doc/google/devtools/cloudtrace/v1/trace.rb +0 -253
- data/lib/google/cloud/trace/v1/doc/google/protobuf/empty.rb +0 -29
- data/lib/google/cloud/trace/v1/doc/google/protobuf/timestamp.rb +0 -113
- data/lib/google/cloud/trace/v1/trace_service_client.rb +0 -425
- data/lib/google/cloud/trace/v1/trace_service_client_config.json +0 -41
- data/lib/google/cloud/trace/v2.rb +0 -123
- data/lib/google/cloud/trace/v2/credentials.rb +0 -39
- data/lib/google/cloud/trace/v2/doc/google/devtools/cloudtrace/v2/trace.rb +0 -356
- data/lib/google/cloud/trace/v2/doc/google/devtools/cloudtrace/v2/tracing.rb +0 -33
- data/lib/google/cloud/trace/v2/doc/google/protobuf/any.rb +0 -131
- data/lib/google/cloud/trace/v2/doc/google/protobuf/empty.rb +0 -29
- data/lib/google/cloud/trace/v2/doc/google/protobuf/timestamp.rb +0 -113
- data/lib/google/cloud/trace/v2/doc/google/protobuf/wrappers.rb +0 -34
- data/lib/google/cloud/trace/v2/doc/google/rpc/status.rb +0 -39
- data/lib/google/cloud/trace/v2/trace_service_client.rb +0 -418
- data/lib/google/cloud/trace/v2/trace_service_client_config.json +0 -36
- data/lib/google/devtools/cloudtrace/v1/trace_pb.rb +0 -82
- data/lib/google/devtools/cloudtrace/v1/trace_services_pb.rb +0 -58
- data/lib/google/devtools/cloudtrace/v2/trace_pb.rb +0 -142
- data/lib/google/devtools/cloudtrace/v2/tracing_pb.rb +0 -29
- data/lib/google/devtools/cloudtrace/v2/tracing_services_pb.rb +0 -53
@@ -1,36 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"interfaces": {
|
3
|
-
"google.devtools.cloudtrace.v2.TraceService": {
|
4
|
-
"retry_codes": {
|
5
|
-
"idempotent": [
|
6
|
-
"DEADLINE_EXCEEDED",
|
7
|
-
"UNAVAILABLE"
|
8
|
-
],
|
9
|
-
"non_idempotent": []
|
10
|
-
},
|
11
|
-
"retry_params": {
|
12
|
-
"default": {
|
13
|
-
"initial_retry_delay_millis": 100,
|
14
|
-
"retry_delay_multiplier": 1.2,
|
15
|
-
"max_retry_delay_millis": 1000,
|
16
|
-
"initial_rpc_timeout_millis": 30000,
|
17
|
-
"rpc_timeout_multiplier": 1.5,
|
18
|
-
"max_rpc_timeout_millis": 60000,
|
19
|
-
"total_timeout_millis": 120000
|
20
|
-
}
|
21
|
-
},
|
22
|
-
"methods": {
|
23
|
-
"CreateSpan": {
|
24
|
-
"timeout_millis": 60000,
|
25
|
-
"retry_codes_name": "idempotent",
|
26
|
-
"retry_params_name": "default"
|
27
|
-
},
|
28
|
-
"BatchWriteSpans": {
|
29
|
-
"timeout_millis": 60000,
|
30
|
-
"retry_codes_name": "non_idempotent",
|
31
|
-
"retry_params_name": "default"
|
32
|
-
}
|
33
|
-
}
|
34
|
-
}
|
35
|
-
}
|
36
|
-
}
|
@@ -1,82 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/devtools/cloudtrace/v1/trace.proto
|
3
|
-
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
require 'google/api/client_pb'
|
8
|
-
require 'google/api/field_behavior_pb'
|
9
|
-
require 'google/api/resource_pb'
|
10
|
-
require 'google/protobuf/empty_pb'
|
11
|
-
require 'google/protobuf/timestamp_pb'
|
12
|
-
require 'google/api/annotations_pb'
|
13
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
|
-
add_message "google.devtools.cloudtrace.v1.Trace" do
|
15
|
-
optional :project_id, :string, 1
|
16
|
-
optional :trace_id, :string, 2
|
17
|
-
repeated :spans, :message, 3, "google.devtools.cloudtrace.v1.TraceSpan"
|
18
|
-
end
|
19
|
-
add_message "google.devtools.cloudtrace.v1.Traces" do
|
20
|
-
repeated :traces, :message, 1, "google.devtools.cloudtrace.v1.Trace"
|
21
|
-
end
|
22
|
-
add_message "google.devtools.cloudtrace.v1.TraceSpan" do
|
23
|
-
optional :span_id, :fixed64, 1
|
24
|
-
optional :kind, :enum, 2, "google.devtools.cloudtrace.v1.TraceSpan.SpanKind"
|
25
|
-
optional :name, :string, 3
|
26
|
-
optional :start_time, :message, 4, "google.protobuf.Timestamp"
|
27
|
-
optional :end_time, :message, 5, "google.protobuf.Timestamp"
|
28
|
-
optional :parent_span_id, :fixed64, 6
|
29
|
-
map :labels, :string, :string, 7
|
30
|
-
end
|
31
|
-
add_enum "google.devtools.cloudtrace.v1.TraceSpan.SpanKind" do
|
32
|
-
value :SPAN_KIND_UNSPECIFIED, 0
|
33
|
-
value :RPC_SERVER, 1
|
34
|
-
value :RPC_CLIENT, 2
|
35
|
-
end
|
36
|
-
add_message "google.devtools.cloudtrace.v1.ListTracesRequest" do
|
37
|
-
optional :project_id, :string, 1
|
38
|
-
optional :view, :enum, 2, "google.devtools.cloudtrace.v1.ListTracesRequest.ViewType"
|
39
|
-
optional :page_size, :int32, 3
|
40
|
-
optional :page_token, :string, 4
|
41
|
-
optional :start_time, :message, 5, "google.protobuf.Timestamp"
|
42
|
-
optional :end_time, :message, 6, "google.protobuf.Timestamp"
|
43
|
-
optional :filter, :string, 7
|
44
|
-
optional :order_by, :string, 8
|
45
|
-
end
|
46
|
-
add_enum "google.devtools.cloudtrace.v1.ListTracesRequest.ViewType" do
|
47
|
-
value :VIEW_TYPE_UNSPECIFIED, 0
|
48
|
-
value :MINIMAL, 1
|
49
|
-
value :ROOTSPAN, 2
|
50
|
-
value :COMPLETE, 3
|
51
|
-
end
|
52
|
-
add_message "google.devtools.cloudtrace.v1.ListTracesResponse" do
|
53
|
-
repeated :traces, :message, 1, "google.devtools.cloudtrace.v1.Trace"
|
54
|
-
optional :next_page_token, :string, 2
|
55
|
-
end
|
56
|
-
add_message "google.devtools.cloudtrace.v1.GetTraceRequest" do
|
57
|
-
optional :project_id, :string, 1
|
58
|
-
optional :trace_id, :string, 2
|
59
|
-
end
|
60
|
-
add_message "google.devtools.cloudtrace.v1.PatchTracesRequest" do
|
61
|
-
optional :project_id, :string, 1
|
62
|
-
optional :traces, :message, 2, "google.devtools.cloudtrace.v1.Traces"
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
module Google
|
67
|
-
module Devtools
|
68
|
-
module Cloudtrace
|
69
|
-
end
|
70
|
-
end
|
71
|
-
end
|
72
|
-
module Google::Devtools::Cloudtrace::V1
|
73
|
-
Trace = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.Trace").msgclass
|
74
|
-
Traces = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.Traces").msgclass
|
75
|
-
TraceSpan = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.TraceSpan").msgclass
|
76
|
-
TraceSpan::SpanKind = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.TraceSpan.SpanKind").enummodule
|
77
|
-
ListTracesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.ListTracesRequest").msgclass
|
78
|
-
ListTracesRequest::ViewType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.ListTracesRequest.ViewType").enummodule
|
79
|
-
ListTracesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.ListTracesResponse").msgclass
|
80
|
-
GetTraceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.GetTraceRequest").msgclass
|
81
|
-
PatchTracesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.PatchTracesRequest").msgclass
|
82
|
-
end
|
@@ -1,58 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: google/devtools/cloudtrace/v1/trace.proto for package 'Google::Cloud::Trace::V1'
|
3
|
-
# Original file comments:
|
4
|
-
# Copyright 2020 Google LLC
|
5
|
-
#
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
-
# you may not use this file except in compliance with the License.
|
8
|
-
# You may obtain a copy of the License at
|
9
|
-
#
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
#
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
-
# See the License for the specific language governing permissions and
|
16
|
-
# limitations under the License.
|
17
|
-
#
|
18
|
-
|
19
|
-
|
20
|
-
require 'grpc'
|
21
|
-
require 'google/devtools/cloudtrace/v1/trace_pb'
|
22
|
-
|
23
|
-
module Google
|
24
|
-
module Devtools
|
25
|
-
module Cloudtrace
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
module Google::Devtools::Cloudtrace::V1
|
30
|
-
module TraceService
|
31
|
-
# This file describes an API for collecting and viewing traces and spans
|
32
|
-
# within a trace. A Trace is a collection of spans corresponding to a single
|
33
|
-
# operation or set of operations for an application. A span is an individual
|
34
|
-
# timed event which forms a node of the trace tree. Spans for a single trace
|
35
|
-
# may span multiple services.
|
36
|
-
class Service
|
37
|
-
|
38
|
-
include GRPC::GenericService
|
39
|
-
|
40
|
-
self.marshal_class_method = :encode
|
41
|
-
self.unmarshal_class_method = :decode
|
42
|
-
self.service_name = 'google.devtools.cloudtrace.v1.TraceService'
|
43
|
-
|
44
|
-
# Returns of a list of traces that match the specified filter conditions.
|
45
|
-
rpc :ListTraces, ListTracesRequest, ListTracesResponse
|
46
|
-
# Gets a single trace by its ID.
|
47
|
-
rpc :GetTrace, GetTraceRequest, Trace
|
48
|
-
# Sends new traces to Stackdriver Trace or updates existing traces. If the ID
|
49
|
-
# of a trace that you send matches that of an existing trace, any fields
|
50
|
-
# in the existing trace and its spans are overwritten by the provided values,
|
51
|
-
# and any new fields provided are merged with the existing trace data. If the
|
52
|
-
# ID does not match, a new trace is created.
|
53
|
-
rpc :PatchTraces, PatchTracesRequest, Google::Protobuf::Empty
|
54
|
-
end
|
55
|
-
|
56
|
-
Stub = Service.rpc_stub_class
|
57
|
-
end
|
58
|
-
end
|
@@ -1,142 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/devtools/cloudtrace/v2/trace.proto
|
3
|
-
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
require 'google/api/field_behavior_pb'
|
8
|
-
require 'google/api/resource_pb'
|
9
|
-
require 'google/protobuf/timestamp_pb'
|
10
|
-
require 'google/protobuf/wrappers_pb'
|
11
|
-
require 'google/rpc/status_pb'
|
12
|
-
require 'google/api/annotations_pb'
|
13
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
|
-
add_message "google.devtools.cloudtrace.v2.Span" do
|
15
|
-
optional :name, :string, 1
|
16
|
-
optional :span_id, :string, 2
|
17
|
-
optional :parent_span_id, :string, 3
|
18
|
-
optional :display_name, :message, 4, "google.devtools.cloudtrace.v2.TruncatableString"
|
19
|
-
optional :start_time, :message, 5, "google.protobuf.Timestamp"
|
20
|
-
optional :end_time, :message, 6, "google.protobuf.Timestamp"
|
21
|
-
optional :attributes, :message, 7, "google.devtools.cloudtrace.v2.Span.Attributes"
|
22
|
-
optional :stack_trace, :message, 8, "google.devtools.cloudtrace.v2.StackTrace"
|
23
|
-
optional :time_events, :message, 9, "google.devtools.cloudtrace.v2.Span.TimeEvents"
|
24
|
-
optional :links, :message, 10, "google.devtools.cloudtrace.v2.Span.Links"
|
25
|
-
optional :status, :message, 11, "google.rpc.Status"
|
26
|
-
optional :same_process_as_parent_span, :message, 12, "google.protobuf.BoolValue"
|
27
|
-
optional :child_span_count, :message, 13, "google.protobuf.Int32Value"
|
28
|
-
optional :span_kind, :enum, 14, "google.devtools.cloudtrace.v2.Span.SpanKind"
|
29
|
-
end
|
30
|
-
add_message "google.devtools.cloudtrace.v2.Span.Attributes" do
|
31
|
-
map :attribute_map, :string, :message, 1, "google.devtools.cloudtrace.v2.AttributeValue"
|
32
|
-
optional :dropped_attributes_count, :int32, 2
|
33
|
-
end
|
34
|
-
add_message "google.devtools.cloudtrace.v2.Span.TimeEvent" do
|
35
|
-
optional :time, :message, 1, "google.protobuf.Timestamp"
|
36
|
-
oneof :value do
|
37
|
-
optional :annotation, :message, 2, "google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation"
|
38
|
-
optional :message_event, :message, 3, "google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent"
|
39
|
-
end
|
40
|
-
end
|
41
|
-
add_message "google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation" do
|
42
|
-
optional :description, :message, 1, "google.devtools.cloudtrace.v2.TruncatableString"
|
43
|
-
optional :attributes, :message, 2, "google.devtools.cloudtrace.v2.Span.Attributes"
|
44
|
-
end
|
45
|
-
add_message "google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent" do
|
46
|
-
optional :type, :enum, 1, "google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type"
|
47
|
-
optional :id, :int64, 2
|
48
|
-
optional :uncompressed_size_bytes, :int64, 3
|
49
|
-
optional :compressed_size_bytes, :int64, 4
|
50
|
-
end
|
51
|
-
add_enum "google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type" do
|
52
|
-
value :TYPE_UNSPECIFIED, 0
|
53
|
-
value :SENT, 1
|
54
|
-
value :RECEIVED, 2
|
55
|
-
end
|
56
|
-
add_message "google.devtools.cloudtrace.v2.Span.TimeEvents" do
|
57
|
-
repeated :time_event, :message, 1, "google.devtools.cloudtrace.v2.Span.TimeEvent"
|
58
|
-
optional :dropped_annotations_count, :int32, 2
|
59
|
-
optional :dropped_message_events_count, :int32, 3
|
60
|
-
end
|
61
|
-
add_message "google.devtools.cloudtrace.v2.Span.Link" do
|
62
|
-
optional :trace_id, :string, 1
|
63
|
-
optional :span_id, :string, 2
|
64
|
-
optional :type, :enum, 3, "google.devtools.cloudtrace.v2.Span.Link.Type"
|
65
|
-
optional :attributes, :message, 4, "google.devtools.cloudtrace.v2.Span.Attributes"
|
66
|
-
end
|
67
|
-
add_enum "google.devtools.cloudtrace.v2.Span.Link.Type" do
|
68
|
-
value :TYPE_UNSPECIFIED, 0
|
69
|
-
value :CHILD_LINKED_SPAN, 1
|
70
|
-
value :PARENT_LINKED_SPAN, 2
|
71
|
-
end
|
72
|
-
add_message "google.devtools.cloudtrace.v2.Span.Links" do
|
73
|
-
repeated :link, :message, 1, "google.devtools.cloudtrace.v2.Span.Link"
|
74
|
-
optional :dropped_links_count, :int32, 2
|
75
|
-
end
|
76
|
-
add_enum "google.devtools.cloudtrace.v2.Span.SpanKind" do
|
77
|
-
value :SPAN_KIND_UNSPECIFIED, 0
|
78
|
-
value :INTERNAL, 1
|
79
|
-
value :SERVER, 2
|
80
|
-
value :CLIENT, 3
|
81
|
-
value :PRODUCER, 4
|
82
|
-
value :CONSUMER, 5
|
83
|
-
end
|
84
|
-
add_message "google.devtools.cloudtrace.v2.AttributeValue" do
|
85
|
-
oneof :value do
|
86
|
-
optional :string_value, :message, 1, "google.devtools.cloudtrace.v2.TruncatableString"
|
87
|
-
optional :int_value, :int64, 2
|
88
|
-
optional :bool_value, :bool, 3
|
89
|
-
end
|
90
|
-
end
|
91
|
-
add_message "google.devtools.cloudtrace.v2.StackTrace" do
|
92
|
-
optional :stack_frames, :message, 1, "google.devtools.cloudtrace.v2.StackTrace.StackFrames"
|
93
|
-
optional :stack_trace_hash_id, :int64, 2
|
94
|
-
end
|
95
|
-
add_message "google.devtools.cloudtrace.v2.StackTrace.StackFrame" do
|
96
|
-
optional :function_name, :message, 1, "google.devtools.cloudtrace.v2.TruncatableString"
|
97
|
-
optional :original_function_name, :message, 2, "google.devtools.cloudtrace.v2.TruncatableString"
|
98
|
-
optional :file_name, :message, 3, "google.devtools.cloudtrace.v2.TruncatableString"
|
99
|
-
optional :line_number, :int64, 4
|
100
|
-
optional :column_number, :int64, 5
|
101
|
-
optional :load_module, :message, 6, "google.devtools.cloudtrace.v2.Module"
|
102
|
-
optional :source_version, :message, 7, "google.devtools.cloudtrace.v2.TruncatableString"
|
103
|
-
end
|
104
|
-
add_message "google.devtools.cloudtrace.v2.StackTrace.StackFrames" do
|
105
|
-
repeated :frame, :message, 1, "google.devtools.cloudtrace.v2.StackTrace.StackFrame"
|
106
|
-
optional :dropped_frames_count, :int32, 2
|
107
|
-
end
|
108
|
-
add_message "google.devtools.cloudtrace.v2.Module" do
|
109
|
-
optional :module, :message, 1, "google.devtools.cloudtrace.v2.TruncatableString"
|
110
|
-
optional :build_id, :message, 2, "google.devtools.cloudtrace.v2.TruncatableString"
|
111
|
-
end
|
112
|
-
add_message "google.devtools.cloudtrace.v2.TruncatableString" do
|
113
|
-
optional :value, :string, 1
|
114
|
-
optional :truncated_byte_count, :int32, 2
|
115
|
-
end
|
116
|
-
end
|
117
|
-
|
118
|
-
module Google
|
119
|
-
module Devtools
|
120
|
-
module Cloudtrace
|
121
|
-
end
|
122
|
-
end
|
123
|
-
end
|
124
|
-
module Google::Devtools::Cloudtrace::V2
|
125
|
-
Span = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v2.Span").msgclass
|
126
|
-
Span::Attributes = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v2.Span.Attributes").msgclass
|
127
|
-
Span::TimeEvent = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v2.Span.TimeEvent").msgclass
|
128
|
-
Span::TimeEvent::Annotation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation").msgclass
|
129
|
-
Span::TimeEvent::MessageEvent = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent").msgclass
|
130
|
-
Span::TimeEvent::MessageEvent::Type = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type").enummodule
|
131
|
-
Span::TimeEvents = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v2.Span.TimeEvents").msgclass
|
132
|
-
Span::Link = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v2.Span.Link").msgclass
|
133
|
-
Span::Link::Type = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v2.Span.Link.Type").enummodule
|
134
|
-
Span::Links = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v2.Span.Links").msgclass
|
135
|
-
Span::SpanKind = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v2.Span.SpanKind").enummodule
|
136
|
-
AttributeValue = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v2.AttributeValue").msgclass
|
137
|
-
StackTrace = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v2.StackTrace").msgclass
|
138
|
-
StackTrace::StackFrame = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v2.StackTrace.StackFrame").msgclass
|
139
|
-
StackTrace::StackFrames = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v2.StackTrace.StackFrames").msgclass
|
140
|
-
Module = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v2.Module").msgclass
|
141
|
-
TruncatableString = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v2.TruncatableString").msgclass
|
142
|
-
end
|
@@ -1,29 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/devtools/cloudtrace/v2/tracing.proto
|
3
|
-
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
require 'google/api/annotations_pb'
|
8
|
-
require 'google/api/client_pb'
|
9
|
-
require 'google/api/field_behavior_pb'
|
10
|
-
require 'google/api/resource_pb'
|
11
|
-
require 'google/devtools/cloudtrace/v2/trace_pb'
|
12
|
-
require 'google/protobuf/empty_pb'
|
13
|
-
require 'google/protobuf/timestamp_pb'
|
14
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
15
|
-
add_message "google.devtools.cloudtrace.v2.BatchWriteSpansRequest" do
|
16
|
-
optional :name, :string, 1
|
17
|
-
repeated :spans, :message, 2, "google.devtools.cloudtrace.v2.Span"
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Devtools
|
23
|
-
module Cloudtrace
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
module Google::Devtools::Cloudtrace::V2
|
28
|
-
BatchWriteSpansRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v2.BatchWriteSpansRequest").msgclass
|
29
|
-
end
|
@@ -1,53 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: google/devtools/cloudtrace/v2/tracing.proto for package 'Google::Cloud::Trace::V2'
|
3
|
-
# Original file comments:
|
4
|
-
# Copyright 2020 Google LLC
|
5
|
-
#
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
-
# you may not use this file except in compliance with the License.
|
8
|
-
# You may obtain a copy of the License at
|
9
|
-
#
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
#
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
-
# See the License for the specific language governing permissions and
|
16
|
-
# limitations under the License.
|
17
|
-
#
|
18
|
-
|
19
|
-
|
20
|
-
require 'grpc'
|
21
|
-
require 'google/devtools/cloudtrace/v2/tracing_pb'
|
22
|
-
|
23
|
-
module Google
|
24
|
-
module Devtools
|
25
|
-
module Cloudtrace
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
module Google::Devtools::Cloudtrace::V2
|
30
|
-
module TraceService
|
31
|
-
# This file describes an API for collecting and viewing traces and spans
|
32
|
-
# within a trace. A Trace is a collection of spans corresponding to a single
|
33
|
-
# operation or set of operations for an application. A span is an individual
|
34
|
-
# timed event which forms a node of the trace tree. A single trace may
|
35
|
-
# contain span(s) from multiple services.
|
36
|
-
class Service
|
37
|
-
|
38
|
-
include GRPC::GenericService
|
39
|
-
|
40
|
-
self.marshal_class_method = :encode
|
41
|
-
self.unmarshal_class_method = :decode
|
42
|
-
self.service_name = 'google.devtools.cloudtrace.v2.TraceService'
|
43
|
-
|
44
|
-
# Sends new spans to new or existing traces. You cannot update
|
45
|
-
# existing spans.
|
46
|
-
rpc :BatchWriteSpans, BatchWriteSpansRequest, Google::Protobuf::Empty
|
47
|
-
# Creates a new span.
|
48
|
-
rpc :CreateSpan, Span, Span
|
49
|
-
end
|
50
|
-
|
51
|
-
Stub = Service.rpc_stub_class
|
52
|
-
end
|
53
|
-
end
|