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
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-trace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.40.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Azuma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.5'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: stackdriver-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -39,73 +39,47 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.3'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: concurrent-ruby
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1.
|
47
|
+
version: '1.1'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '1.
|
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.9
|
62
|
-
- - "<"
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
version: '2.0'
|
65
|
-
type: :runtime
|
66
|
-
prerelease: false
|
67
|
-
version_requirements: !ruby/object:Gem::Requirement
|
68
|
-
requirements:
|
69
|
-
- - ">="
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
version: 1.3.9
|
72
|
-
- - "<"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '2.0'
|
54
|
+
version: '1.1'
|
75
55
|
- !ruby/object:Gem::Dependency
|
76
|
-
name:
|
56
|
+
name: google-cloud-trace-v1
|
77
57
|
requirement: !ruby/object:Gem::Requirement
|
78
58
|
requirements:
|
79
|
-
- - "
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: 1.0.4
|
82
|
-
- - "<"
|
59
|
+
- - "~>"
|
83
60
|
- !ruby/object:Gem::Version
|
84
|
-
version: '
|
61
|
+
version: '0.0'
|
85
62
|
type: :runtime
|
86
63
|
prerelease: false
|
87
64
|
version_requirements: !ruby/object:Gem::Requirement
|
88
65
|
requirements:
|
89
|
-
- - "
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
version: 1.0.4
|
92
|
-
- - "<"
|
66
|
+
- - "~>"
|
93
67
|
- !ruby/object:Gem::Version
|
94
|
-
version: '
|
68
|
+
version: '0.0'
|
95
69
|
- !ruby/object:Gem::Dependency
|
96
|
-
name:
|
70
|
+
name: google-cloud-trace-v2
|
97
71
|
requirement: !ruby/object:Gem::Requirement
|
98
72
|
requirements:
|
99
73
|
- - "~>"
|
100
74
|
- !ruby/object:Gem::Version
|
101
|
-
version: '
|
75
|
+
version: '0.0'
|
102
76
|
type: :runtime
|
103
77
|
prerelease: false
|
104
78
|
version_requirements: !ruby/object:Gem::Requirement
|
105
79
|
requirements:
|
106
80
|
- - "~>"
|
107
81
|
- !ruby/object:Gem::Version
|
108
|
-
version: '
|
82
|
+
version: '0.0'
|
109
83
|
- !ruby/object:Gem::Dependency
|
110
84
|
name: google-style
|
111
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -325,30 +299,7 @@ files:
|
|
325
299
|
- lib/google/cloud/trace/time_sampler.rb
|
326
300
|
- lib/google/cloud/trace/trace_record.rb
|
327
301
|
- lib/google/cloud/trace/utils.rb
|
328
|
-
- lib/google/cloud/trace/v1.rb
|
329
|
-
- lib/google/cloud/trace/v1/credentials.rb
|
330
|
-
- lib/google/cloud/trace/v1/doc/google/devtools/cloudtrace/v1/trace.rb
|
331
|
-
- lib/google/cloud/trace/v1/doc/google/protobuf/empty.rb
|
332
|
-
- lib/google/cloud/trace/v1/doc/google/protobuf/timestamp.rb
|
333
|
-
- lib/google/cloud/trace/v1/trace_service_client.rb
|
334
|
-
- lib/google/cloud/trace/v1/trace_service_client_config.json
|
335
|
-
- lib/google/cloud/trace/v2.rb
|
336
|
-
- lib/google/cloud/trace/v2/credentials.rb
|
337
|
-
- lib/google/cloud/trace/v2/doc/google/devtools/cloudtrace/v2/trace.rb
|
338
|
-
- lib/google/cloud/trace/v2/doc/google/devtools/cloudtrace/v2/tracing.rb
|
339
|
-
- lib/google/cloud/trace/v2/doc/google/protobuf/any.rb
|
340
|
-
- lib/google/cloud/trace/v2/doc/google/protobuf/empty.rb
|
341
|
-
- lib/google/cloud/trace/v2/doc/google/protobuf/timestamp.rb
|
342
|
-
- lib/google/cloud/trace/v2/doc/google/protobuf/wrappers.rb
|
343
|
-
- lib/google/cloud/trace/v2/doc/google/rpc/status.rb
|
344
|
-
- lib/google/cloud/trace/v2/trace_service_client.rb
|
345
|
-
- lib/google/cloud/trace/v2/trace_service_client_config.json
|
346
302
|
- lib/google/cloud/trace/version.rb
|
347
|
-
- lib/google/devtools/cloudtrace/v1/trace_pb.rb
|
348
|
-
- lib/google/devtools/cloudtrace/v1/trace_services_pb.rb
|
349
|
-
- lib/google/devtools/cloudtrace/v2/trace_pb.rb
|
350
|
-
- lib/google/devtools/cloudtrace/v2/tracing_pb.rb
|
351
|
-
- lib/google/devtools/cloudtrace/v2/tracing_services_pb.rb
|
352
303
|
homepage: https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-trace
|
353
304
|
licenses:
|
354
305
|
- Apache-2.0
|
@@ -1,16 +0,0 @@
|
|
1
|
-
# Copyright 2016 Google LLC
|
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
|
-
# https://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
|
-
require "google/cloud/trace/v1/trace_service_client"
|
@@ -1,39 +0,0 @@
|
|
1
|
-
# Copyright 2020 Google LLC
|
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
|
-
# https://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
|
-
require "googleauth"
|
17
|
-
|
18
|
-
module Google
|
19
|
-
module Cloud
|
20
|
-
module Trace
|
21
|
-
module V1
|
22
|
-
class Credentials < Google::Auth::Credentials
|
23
|
-
SCOPE = ["https://www.googleapis.com/auth/cloud-platform"].freeze
|
24
|
-
PATH_ENV_VARS = %w(TRACE_CREDENTIALS
|
25
|
-
TRACE_KEYFILE
|
26
|
-
GOOGLE_CLOUD_CREDENTIALS
|
27
|
-
GOOGLE_CLOUD_KEYFILE
|
28
|
-
GCLOUD_KEYFILE)
|
29
|
-
JSON_ENV_VARS = %w(TRACE_CREDENTIALS_JSON
|
30
|
-
TRACE_KEYFILE_JSON
|
31
|
-
GOOGLE_CLOUD_CREDENTIALS_JSON
|
32
|
-
GOOGLE_CLOUD_KEYFILE_JSON
|
33
|
-
GCLOUD_KEYFILE_JSON)
|
34
|
-
DEFAULT_PATHS = ["~/.config/gcloud/application_default_credentials.json"]
|
35
|
-
end
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
@@ -1,253 +0,0 @@
|
|
1
|
-
# Copyright 2020 Google LLC
|
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
|
-
# https://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 Devtools
|
18
|
-
module Cloudtrace
|
19
|
-
module V1
|
20
|
-
# A trace describes how long it takes for an application to perform an
|
21
|
-
# operation. It consists of a set of spans, each of which represent a single
|
22
|
-
# timed event within the operation.
|
23
|
-
# @!attribute [rw] project_id
|
24
|
-
# @return [String]
|
25
|
-
# Project ID of the Cloud project where the trace data is stored.
|
26
|
-
# @!attribute [rw] trace_id
|
27
|
-
# @return [String]
|
28
|
-
# Globally unique identifier for the trace. This identifier is a 128-bit
|
29
|
-
# numeric value formatted as a 32-byte hex string. For example,
|
30
|
-
# `382d4f4c6b7bb2f4a972559d9085001d`.
|
31
|
-
# @!attribute [rw] spans
|
32
|
-
# @return [Array<Google::Devtools::Cloudtrace::V1::TraceSpan>]
|
33
|
-
# Collection of spans in the trace.
|
34
|
-
class Trace; end
|
35
|
-
|
36
|
-
# List of new or updated traces.
|
37
|
-
# @!attribute [rw] traces
|
38
|
-
# @return [Array<Google::Devtools::Cloudtrace::V1::Trace>]
|
39
|
-
# List of traces.
|
40
|
-
class Traces; end
|
41
|
-
|
42
|
-
# A span represents a single timed event within a trace. Spans can be nested
|
43
|
-
# and form a trace tree. Often, a trace contains a root span that describes the
|
44
|
-
# end-to-end latency of an operation and, optionally, one or more subspans for
|
45
|
-
# its suboperations. Spans do not need to be contiguous. There may be gaps
|
46
|
-
# between spans in a trace.
|
47
|
-
# @!attribute [rw] span_id
|
48
|
-
# @return [Integer]
|
49
|
-
# Identifier for the span. Must be a 64-bit integer other than 0 and
|
50
|
-
# unique within a trace. For example, `2205310701640571284`.
|
51
|
-
# @!attribute [rw] kind
|
52
|
-
# @return [Google::Devtools::Cloudtrace::V1::TraceSpan::SpanKind]
|
53
|
-
# Distinguishes between spans generated in a particular context. For example,
|
54
|
-
# two spans with the same name may be distinguished using `RPC_CLIENT`
|
55
|
-
# and `RPC_SERVER` to identify queueing latency associated with the span.
|
56
|
-
# @!attribute [rw] name
|
57
|
-
# @return [String]
|
58
|
-
# Name of the span. Must be less than 128 bytes. The span name is sanitized
|
59
|
-
# and displayed in the Stackdriver Trace tool in the
|
60
|
-
# Google Cloud Platform Console.
|
61
|
-
# The name may be a method name or some other per-call site name.
|
62
|
-
# For the same executable and the same call point, a best practice is
|
63
|
-
# to use a consistent name, which makes it easier to correlate
|
64
|
-
# cross-trace spans.
|
65
|
-
# @!attribute [rw] start_time
|
66
|
-
# @return [Google::Protobuf::Timestamp]
|
67
|
-
# Start time of the span in nanoseconds from the UNIX epoch.
|
68
|
-
# @!attribute [rw] end_time
|
69
|
-
# @return [Google::Protobuf::Timestamp]
|
70
|
-
# End time of the span in nanoseconds from the UNIX epoch.
|
71
|
-
# @!attribute [rw] parent_span_id
|
72
|
-
# @return [Integer]
|
73
|
-
# Optional. ID of the parent span, if any.
|
74
|
-
# @!attribute [rw] labels
|
75
|
-
# @return [Hash{String => String}]
|
76
|
-
# Collection of labels associated with the span. Label keys must be less than
|
77
|
-
# 128 bytes. Label values must be less than 16 kilobytes (10MB for
|
78
|
-
# `/stacktrace` values).
|
79
|
-
#
|
80
|
-
# Some predefined label keys exist, or you may create your own. When creating
|
81
|
-
# your own, we recommend the following formats:
|
82
|
-
#
|
83
|
-
# * `/category/product/key` for agents of well-known products (e.g.
|
84
|
-
# `/db/mongodb/read_size`).
|
85
|
-
# * `short_host/path/key` for domain-specific keys (e.g.
|
86
|
-
# `foo.com/myproduct/bar`)
|
87
|
-
#
|
88
|
-
# Predefined labels include:
|
89
|
-
#
|
90
|
-
# * `/agent`
|
91
|
-
# * `/component`
|
92
|
-
# * `/error/message`
|
93
|
-
# * `/error/name`
|
94
|
-
# * `/http/client_city`
|
95
|
-
# * `/http/client_country`
|
96
|
-
# * `/http/client_protocol`
|
97
|
-
# * `/http/client_region`
|
98
|
-
# * `/http/host`
|
99
|
-
# * `/http/method`
|
100
|
-
# * `/http/path`
|
101
|
-
# * `/http/redirected_url`
|
102
|
-
# * `/http/request/size`
|
103
|
-
# * `/http/response/size`
|
104
|
-
# * `/http/route`
|
105
|
-
# * `/http/status_code`
|
106
|
-
# * `/http/url`
|
107
|
-
# * `/http/user_agent`
|
108
|
-
# * `/pid`
|
109
|
-
# * `/stacktrace`
|
110
|
-
# * `/tid`
|
111
|
-
class TraceSpan
|
112
|
-
# Type of span. Can be used to specify additional relationships between spans
|
113
|
-
# in addition to a parent/child relationship.
|
114
|
-
module SpanKind
|
115
|
-
# Unspecified.
|
116
|
-
SPAN_KIND_UNSPECIFIED = 0
|
117
|
-
|
118
|
-
# Indicates that the span covers server-side handling of an RPC or other
|
119
|
-
# remote network request.
|
120
|
-
RPC_SERVER = 1
|
121
|
-
|
122
|
-
# Indicates that the span covers the client-side wrapper around an RPC or
|
123
|
-
# other remote request.
|
124
|
-
RPC_CLIENT = 2
|
125
|
-
end
|
126
|
-
end
|
127
|
-
|
128
|
-
# The request message for the `ListTraces` method. All fields are required
|
129
|
-
# unless specified.
|
130
|
-
# @!attribute [rw] project_id
|
131
|
-
# @return [String]
|
132
|
-
# Required. ID of the Cloud project where the trace data is stored.
|
133
|
-
# @!attribute [rw] view
|
134
|
-
# @return [Google::Devtools::Cloudtrace::V1::ListTracesRequest::ViewType]
|
135
|
-
# Optional. Type of data returned for traces in the list. Default is
|
136
|
-
# `MINIMAL`.
|
137
|
-
# @!attribute [rw] page_size
|
138
|
-
# @return [Integer]
|
139
|
-
# Optional. Maximum number of traces to return. If not specified or <= 0, the
|
140
|
-
# implementation selects a reasonable value. The implementation may
|
141
|
-
# return fewer traces than the requested page size.
|
142
|
-
# @!attribute [rw] page_token
|
143
|
-
# @return [String]
|
144
|
-
# Token identifying the page of results to return. If provided, use the
|
145
|
-
# value of the `next_page_token` field from a previous request.
|
146
|
-
# @!attribute [rw] start_time
|
147
|
-
# @return [Google::Protobuf::Timestamp]
|
148
|
-
# Start of the time interval (inclusive) during which the trace data was
|
149
|
-
# collected from the application.
|
150
|
-
# @!attribute [rw] end_time
|
151
|
-
# @return [Google::Protobuf::Timestamp]
|
152
|
-
# End of the time interval (inclusive) during which the trace data was
|
153
|
-
# collected from the application.
|
154
|
-
# @!attribute [rw] filter
|
155
|
-
# @return [String]
|
156
|
-
# Optional. A filter against labels for the request.
|
157
|
-
#
|
158
|
-
# By default, searches use prefix matching. To specify exact match, prepend
|
159
|
-
# a plus symbol (`+`) to the search term.
|
160
|
-
# Multiple terms are ANDed. Syntax:
|
161
|
-
#
|
162
|
-
# * `root:NAME_PREFIX` or `NAME_PREFIX`: Return traces where any root
|
163
|
-
# span starts with `NAME_PREFIX`.
|
164
|
-
# * `+root:NAME` or `+NAME`: Return traces where any root span's name is
|
165
|
-
# exactly `NAME`.
|
166
|
-
# * `span:NAME_PREFIX`: Return traces where any span starts with
|
167
|
-
# `NAME_PREFIX`.
|
168
|
-
# * `+span:NAME`: Return traces where any span's name is exactly
|
169
|
-
# `NAME`.
|
170
|
-
# * `latency:DURATION`: Return traces whose overall latency is
|
171
|
-
# greater or equal to than `DURATION`. Accepted units are nanoseconds
|
172
|
-
# (`ns`), milliseconds (`ms`), and seconds (`s`). Default is `ms`. For
|
173
|
-
# example, `latency:24ms` returns traces whose overall latency
|
174
|
-
# is greater than or equal to 24 milliseconds.
|
175
|
-
# * `label:LABEL_KEY`: Return all traces containing the specified
|
176
|
-
# label key (exact match, case-sensitive) regardless of the key:value
|
177
|
-
# pair's value (including empty values).
|
178
|
-
# * `LABEL_KEY:VALUE_PREFIX`: Return all traces containing the specified
|
179
|
-
# label key (exact match, case-sensitive) whose value starts with
|
180
|
-
# `VALUE_PREFIX`. Both a key and a value must be specified.
|
181
|
-
# * `+LABEL_KEY:VALUE`: Return all traces containing a key:value pair
|
182
|
-
# exactly matching the specified text. Both a key and a value must be
|
183
|
-
# specified.
|
184
|
-
# * `method:VALUE`: Equivalent to `/http/method:VALUE`.
|
185
|
-
# * `url:VALUE`: Equivalent to `/http/url:VALUE`.
|
186
|
-
# @!attribute [rw] order_by
|
187
|
-
# @return [String]
|
188
|
-
# Optional. Field used to sort the returned traces.
|
189
|
-
# Can be one of the following:
|
190
|
-
#
|
191
|
-
# * `trace_id`
|
192
|
-
# * `name` (`name` field of root span in the trace)
|
193
|
-
# * `duration` (difference between `end_time` and `start_time` fields of
|
194
|
-
# the root span)
|
195
|
-
# * `start` (`start_time` field of the root span)
|
196
|
-
#
|
197
|
-
# Descending order can be specified by appending `desc` to the sort field
|
198
|
-
# (for example, `name desc`).
|
199
|
-
#
|
200
|
-
# Only one sort field is permitted.
|
201
|
-
class ListTracesRequest
|
202
|
-
# Type of data returned for traces in the list.
|
203
|
-
module ViewType
|
204
|
-
# Default is `MINIMAL` if unspecified.
|
205
|
-
VIEW_TYPE_UNSPECIFIED = 0
|
206
|
-
|
207
|
-
# Minimal view of the trace record that contains only the project
|
208
|
-
# and trace IDs.
|
209
|
-
MINIMAL = 1
|
210
|
-
|
211
|
-
# Root span view of the trace record that returns the root spans along
|
212
|
-
# with the minimal trace data.
|
213
|
-
ROOTSPAN = 2
|
214
|
-
|
215
|
-
# Complete view of the trace record that contains the actual trace data.
|
216
|
-
# This is equivalent to calling the REST `get` or RPC `GetTrace` method
|
217
|
-
# using the ID of each listed trace.
|
218
|
-
COMPLETE = 3
|
219
|
-
end
|
220
|
-
end
|
221
|
-
|
222
|
-
# The response message for the `ListTraces` method.
|
223
|
-
# @!attribute [rw] traces
|
224
|
-
# @return [Array<Google::Devtools::Cloudtrace::V1::Trace>]
|
225
|
-
# List of trace records as specified by the view parameter.
|
226
|
-
# @!attribute [rw] next_page_token
|
227
|
-
# @return [String]
|
228
|
-
# If defined, indicates that there are more traces that match the request
|
229
|
-
# and that this value should be passed to the next request to continue
|
230
|
-
# retrieving additional traces.
|
231
|
-
class ListTracesResponse; end
|
232
|
-
|
233
|
-
# The request message for the `GetTrace` method.
|
234
|
-
# @!attribute [rw] project_id
|
235
|
-
# @return [String]
|
236
|
-
# Required. ID of the Cloud project where the trace data is stored.
|
237
|
-
# @!attribute [rw] trace_id
|
238
|
-
# @return [String]
|
239
|
-
# Required. ID of the trace to return.
|
240
|
-
class GetTraceRequest; end
|
241
|
-
|
242
|
-
# The request message for the `PatchTraces` method.
|
243
|
-
# @!attribute [rw] project_id
|
244
|
-
# @return [String]
|
245
|
-
# Required. ID of the Cloud project where the trace data is stored.
|
246
|
-
# @!attribute [rw] traces
|
247
|
-
# @return [Google::Devtools::Cloudtrace::V1::Traces]
|
248
|
-
# Required. The body of the message.
|
249
|
-
class PatchTracesRequest; end
|
250
|
-
end
|
251
|
-
end
|
252
|
-
end
|
253
|
-
end
|