google-cloud-trace 0.37.1 → 0.38.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e31c458d4b71d3dcd19af41f37bce6f6a33f0b3777df26d1f68e0e3b1468ea4
|
4
|
+
data.tar.gz: c2abc7e1e34c2414635920b1130b66a416d8f7e4f349ef68a43c8cea1d04e746
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e8b950eb0d71afc9600494cb27a81a985bf866950b4a6c561d051554e032dace60483f73b07705cbd5ac6eca458deea43278ad6014f508f74e8e729accc83cc
|
7
|
+
data.tar.gz: f9a769c22e03705190aaf5b0e7d90755b54ea0be9396442e0efb1f10b974631bd204fea70a286ea5f29afecdba8e486959f965b2e144977bac2b44158877e08d
|
data/CHANGELOG.md
CHANGED
@@ -151,6 +151,9 @@ module Google
|
|
151
151
|
google_api_client.freeze
|
152
152
|
|
153
153
|
headers = { :"x-goog-api-client" => google_api_client }
|
154
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
155
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
156
|
+
end
|
154
157
|
headers.merge!(metadata) unless metadata.nil?
|
155
158
|
client_config_file = Pathname.new(__dir__).join(
|
156
159
|
"trace_service_client_config.json"
|
@@ -20,7 +20,7 @@ module Google
|
|
20
20
|
# rubocop:disable LineLength
|
21
21
|
|
22
22
|
##
|
23
|
-
# # Ruby Client for Stackdriver Trace API
|
23
|
+
# # Ruby Client for Stackdriver Trace API
|
24
24
|
#
|
25
25
|
# [Stackdriver Trace API][Product Documentation]:
|
26
26
|
# Sends application trace data to Stackdriver Trace for viewing. Trace data is
|
@@ -175,6 +175,9 @@ module Google
|
|
175
175
|
google_api_client.freeze
|
176
176
|
|
177
177
|
headers = { :"x-goog-api-client" => google_api_client }
|
178
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
179
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
180
|
+
end
|
178
181
|
headers.merge!(metadata) unless metadata.nil?
|
179
182
|
client_config_file = Pathname.new(__dir__).join(
|
180
183
|
"trace_service_client_config.json"
|
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.38.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-
|
11
|
+
date: 2020-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|