google-cloud-trace 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,43 @@
1
+ {
2
+ "interfaces": {
3
+ "google.devtools.cloudtrace.v1.TraceService": {
4
+ "retry_codes": {
5
+ "retry_codes_def": {
6
+ "idempotent": [
7
+ "DEADLINE_EXCEEDED",
8
+ "UNAVAILABLE"
9
+ ],
10
+ "non_idempotent": []
11
+ }
12
+ },
13
+ "retry_params": {
14
+ "default": {
15
+ "initial_retry_delay_millis": 100,
16
+ "retry_delay_multiplier": 1.2,
17
+ "max_retry_delay_millis": 1000,
18
+ "initial_rpc_timeout_millis": 20000,
19
+ "rpc_timeout_multiplier": 1.5,
20
+ "max_rpc_timeout_millis": 30000,
21
+ "total_timeout_millis": 45000
22
+ }
23
+ },
24
+ "methods": {
25
+ "PatchTraces": {
26
+ "timeout_millis": 30000,
27
+ "retry_codes_name": "idempotent",
28
+ "retry_params_name": "default"
29
+ },
30
+ "GetTrace": {
31
+ "timeout_millis": 30000,
32
+ "retry_codes_name": "idempotent",
33
+ "retry_params_name": "default"
34
+ },
35
+ "ListTraces": {
36
+ "timeout_millis": 30000,
37
+ "retry_codes_name": "idempotent",
38
+ "retry_params_name": "default"
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
@@ -0,0 +1,22 @@
1
+ # Copyright 2016 Google Inc. All rights reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+
16
+ module Google
17
+ module Cloud
18
+ module Trace
19
+ VERSION = "0.21.0".freeze
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,78 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/devtools/cloudtrace/v1/trace.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/protobuf/empty_pb'
8
+ require 'google/protobuf/timestamp_pb'
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_message "google.devtools.cloudtrace.v1.Trace" do
11
+ optional :project_id, :string, 1
12
+ optional :trace_id, :string, 2
13
+ repeated :spans, :message, 3, "google.devtools.cloudtrace.v1.TraceSpan"
14
+ end
15
+ add_message "google.devtools.cloudtrace.v1.Traces" do
16
+ repeated :traces, :message, 1, "google.devtools.cloudtrace.v1.Trace"
17
+ end
18
+ add_message "google.devtools.cloudtrace.v1.TraceSpan" do
19
+ optional :span_id, :fixed64, 1
20
+ optional :kind, :enum, 2, "google.devtools.cloudtrace.v1.TraceSpan.SpanKind"
21
+ optional :name, :string, 3
22
+ optional :start_time, :message, 4, "google.protobuf.Timestamp"
23
+ optional :end_time, :message, 5, "google.protobuf.Timestamp"
24
+ optional :parent_span_id, :fixed64, 6
25
+ map :labels, :string, :string, 7
26
+ end
27
+ add_enum "google.devtools.cloudtrace.v1.TraceSpan.SpanKind" do
28
+ value :SPAN_KIND_UNSPECIFIED, 0
29
+ value :RPC_SERVER, 1
30
+ value :RPC_CLIENT, 2
31
+ end
32
+ add_message "google.devtools.cloudtrace.v1.ListTracesRequest" do
33
+ optional :project_id, :string, 1
34
+ optional :view, :enum, 2, "google.devtools.cloudtrace.v1.ListTracesRequest.ViewType"
35
+ optional :page_size, :int32, 3
36
+ optional :page_token, :string, 4
37
+ optional :start_time, :message, 5, "google.protobuf.Timestamp"
38
+ optional :end_time, :message, 6, "google.protobuf.Timestamp"
39
+ optional :filter, :string, 7
40
+ optional :order_by, :string, 8
41
+ end
42
+ add_enum "google.devtools.cloudtrace.v1.ListTracesRequest.ViewType" do
43
+ value :VIEW_TYPE_UNSPECIFIED, 0
44
+ value :MINIMAL, 1
45
+ value :ROOTSPAN, 2
46
+ value :COMPLETE, 3
47
+ end
48
+ add_message "google.devtools.cloudtrace.v1.ListTracesResponse" do
49
+ repeated :traces, :message, 1, "google.devtools.cloudtrace.v1.Trace"
50
+ optional :next_page_token, :string, 2
51
+ end
52
+ add_message "google.devtools.cloudtrace.v1.GetTraceRequest" do
53
+ optional :project_id, :string, 1
54
+ optional :trace_id, :string, 2
55
+ end
56
+ add_message "google.devtools.cloudtrace.v1.PatchTracesRequest" do
57
+ optional :project_id, :string, 1
58
+ optional :traces, :message, 2, "google.devtools.cloudtrace.v1.Traces"
59
+ end
60
+ end
61
+
62
+ module Google
63
+ module Devtools
64
+ module Cloudtrace
65
+ module V1
66
+ Trace = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.Trace").msgclass
67
+ Traces = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.Traces").msgclass
68
+ TraceSpan = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.TraceSpan").msgclass
69
+ TraceSpan::SpanKind = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.TraceSpan.SpanKind").enummodule
70
+ ListTracesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.ListTracesRequest").msgclass
71
+ ListTracesRequest::ViewType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.ListTracesRequest.ViewType").enummodule
72
+ ListTracesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.ListTracesResponse").msgclass
73
+ GetTraceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.GetTraceRequest").msgclass
74
+ PatchTracesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.cloudtrace.v1.PatchTracesRequest").msgclass
75
+ end
76
+ end
77
+ end
78
+ end
@@ -0,0 +1,57 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/devtools/cloudtrace/v1/trace.proto for package 'google.devtools.cloudtrace.v1'
3
+ # Original file comments:
4
+ # Copyright 2016 Google Inc.
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
+ require 'grpc'
20
+ require 'google/devtools/cloudtrace/v1/trace_pb'
21
+
22
+ module Google
23
+ module Devtools
24
+ module Cloudtrace
25
+ module V1
26
+ module TraceService
27
+ # This file describes an API for collecting and viewing traces and spans
28
+ # within a trace. A Trace is a collection of spans corresponding to a single
29
+ # operation or set of operations for an application. A span is an individual
30
+ # timed event which forms a node of the trace tree. Spans for a single trace
31
+ # may span multiple services.
32
+ class Service
33
+
34
+ include GRPC::GenericService
35
+
36
+ self.marshal_class_method = :encode
37
+ self.unmarshal_class_method = :decode
38
+ self.service_name = 'google.devtools.cloudtrace.v1.TraceService'
39
+
40
+ # Returns of a list of traces that match the specified filter conditions.
41
+ rpc :ListTraces, ListTracesRequest, ListTracesResponse
42
+ # Gets a single trace by its ID.
43
+ rpc :GetTrace, GetTraceRequest, Trace
44
+ # Sends new traces to Stackdriver Trace or updates existing traces. If the ID
45
+ # of a trace that you send matches that of an existing trace, any fields
46
+ # in the existing trace and its spans are overwritten by the provided values,
47
+ # and any new fields provided are merged with the existing trace data. If the
48
+ # ID does not match, a new trace is created.
49
+ rpc :PatchTraces, PatchTracesRequest, Google::Protobuf::Empty
50
+ end
51
+
52
+ Stub = Service.rpc_stub_class
53
+ end
54
+ end
55
+ end
56
+ end
57
+ end
metadata ADDED
@@ -0,0 +1,294 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: google-cloud-trace
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.21.0
5
+ platform: ruby
6
+ authors:
7
+ - Daniel Azuma
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-12-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: grpc
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: google-gax
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.6.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.6.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: google-protobuf
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: googleapis-common-protos
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.3'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.3'
69
+ - !ruby/object:Gem::Dependency
70
+ name: google-cloud-core
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.21.1
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.21.1
83
+ - !ruby/object:Gem::Dependency
84
+ name: stackdriver-core
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.21.0
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.21.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: minitest
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '5.9'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '5.9'
111
+ - !ruby/object:Gem::Dependency
112
+ name: minitest-autotest
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '1.0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '1.0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: minitest-focus
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '1.1'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '1.1'
139
+ - !ruby/object:Gem::Dependency
140
+ name: minitest-rg
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '5.2'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '5.2'
153
+ - !ruby/object:Gem::Dependency
154
+ name: autotest-suffix
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '1.1'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '1.1'
167
+ - !ruby/object:Gem::Dependency
168
+ name: railties
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '4.0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '4.0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: rubocop
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "<="
186
+ - !ruby/object:Gem::Version
187
+ version: 0.35.1
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "<="
193
+ - !ruby/object:Gem::Version
194
+ version: 0.35.1
195
+ - !ruby/object:Gem::Dependency
196
+ name: simplecov
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: '0.9'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - "~>"
207
+ - !ruby/object:Gem::Version
208
+ version: '0.9'
209
+ - !ruby/object:Gem::Dependency
210
+ name: yard
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - "~>"
214
+ - !ruby/object:Gem::Version
215
+ version: '0.9'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - "~>"
221
+ - !ruby/object:Gem::Version
222
+ version: '0.9'
223
+ - !ruby/object:Gem::Dependency
224
+ name: yard-doctest
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: 0.1.6
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - "~>"
235
+ - !ruby/object:Gem::Version
236
+ version: 0.1.6
237
+ description: google-cloud-trace is the official library for Stackdriver Trace.
238
+ email:
239
+ - dazuma@google.com
240
+ executables: []
241
+ extensions: []
242
+ extra_rdoc_files: []
243
+ files:
244
+ - ".yardopts"
245
+ - LICENSE
246
+ - README.md
247
+ - lib/google-cloud-trace.rb
248
+ - lib/google/cloud/trace.rb
249
+ - lib/google/cloud/trace/credentials.rb
250
+ - lib/google/cloud/trace/label_key.rb
251
+ - lib/google/cloud/trace/middleware.rb
252
+ - lib/google/cloud/trace/notifications.rb
253
+ - lib/google/cloud/trace/project.rb
254
+ - lib/google/cloud/trace/rails.rb
255
+ - lib/google/cloud/trace/result_set.rb
256
+ - lib/google/cloud/trace/service.rb
257
+ - lib/google/cloud/trace/span.rb
258
+ - lib/google/cloud/trace/span_kind.rb
259
+ - lib/google/cloud/trace/time_sampler.rb
260
+ - lib/google/cloud/trace/trace_record.rb
261
+ - lib/google/cloud/trace/utils.rb
262
+ - lib/google/cloud/trace/v1.rb
263
+ - lib/google/cloud/trace/v1/doc/google/devtools/cloudtrace/v1/trace.rb
264
+ - lib/google/cloud/trace/v1/doc/google/protobuf/timestamp.rb
265
+ - lib/google/cloud/trace/v1/trace_service_api.rb
266
+ - lib/google/cloud/trace/v1/trace_service_client_config.json
267
+ - lib/google/cloud/trace/version.rb
268
+ - lib/google/devtools/cloudtrace/v1/trace_pb.rb
269
+ - lib/google/devtools/cloudtrace/v1/trace_services_pb.rb
270
+ homepage: http://googlecloudplatform.github.io/google-cloud-ruby/
271
+ licenses:
272
+ - Apache-2.0
273
+ metadata: {}
274
+ post_install_message:
275
+ rdoc_options: []
276
+ require_paths:
277
+ - lib
278
+ required_ruby_version: !ruby/object:Gem::Requirement
279
+ requirements:
280
+ - - ">="
281
+ - !ruby/object:Gem::Version
282
+ version: 2.0.0
283
+ required_rubygems_version: !ruby/object:Gem::Requirement
284
+ requirements:
285
+ - - ">="
286
+ - !ruby/object:Gem::Version
287
+ version: '0'
288
+ requirements: []
289
+ rubyforge_project:
290
+ rubygems_version: 2.6.8
291
+ signing_key:
292
+ specification_version: 4
293
+ summary: Application Instrumentation and API Client library for Stackdriver Trace
294
+ test_files: []