google-cloud-trace 0.34.4 → 0.34.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/INSTRUMENTATION.md +2 -2
- data/LOGGING.md +1 -1
- data/lib/google/cloud/trace/async_reporter.rb +2 -3
- data/lib/google/cloud/trace/middleware.rb +1 -1
- data/lib/google/cloud/trace/rails.rb +1 -1
- data/lib/google/cloud/trace/v2.rb +1 -1
- data/lib/google/cloud/trace/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 011a5cfab97710af36f316d619b812a1c41755cfe6e7da689cc99245d9f87d5a
|
|
4
|
+
data.tar.gz: ab8c456a3e59572fde4c5c55c5d7b3fba0b08c5cbef93c0c7da548cab693b7e3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 583dc40bedd3e8881c5a686d4e6494fb5b7dbdd4f09f30888262d5236cb860bd0ab83d5366f5669fdc4a7ae07431fd07ee74e468572f90aff99c84a9aeb3c767
|
|
7
|
+
data.tar.gz: '006180a50fbe58cc62795057dc6523905d617d29c5be6e65a29f94381372f6aeb0593f136bbe97d375cc5fca3216a08df15a1a15d3a9c7712dcc62ed4f35a9c4'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
+
### 0.34.5 / 2019-07-31
|
|
4
|
+
|
|
5
|
+
* Fix max threads setting in thread pools
|
|
6
|
+
* Thread pools once again limit the number of threads allocated.
|
|
7
|
+
* Update documentation links
|
|
8
|
+
|
|
3
9
|
### 0.34.4 / 2019-07-08
|
|
4
10
|
|
|
5
11
|
* Support overriding service host and port in the low-level interface.
|
data/INSTRUMENTATION.md
CHANGED
|
@@ -16,7 +16,7 @@ you want to run on a non Google Cloud environment or you want to customize the
|
|
|
16
16
|
default behavior.
|
|
17
17
|
|
|
18
18
|
See the [Configuration
|
|
19
|
-
Guide](https://googleapis.
|
|
19
|
+
Guide](https://googleapis.dev/ruby/stackdriver/INSTRUMENTATION_CONFIGURATION/latest)
|
|
20
20
|
for full configuration parameters.
|
|
21
21
|
|
|
22
22
|
## Rails Integration
|
|
@@ -29,7 +29,7 @@ require "google/cloud/trace/rails"
|
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
Alternatively, check out the
|
|
32
|
-
[stackdriver](https://googleapis.
|
|
32
|
+
[stackdriver](https://googleapis.dev/ruby/stackdriver/latest/file.README.html)
|
|
33
33
|
gem, which enables this Railtie by default.
|
|
34
34
|
|
|
35
35
|
## Rack Integration
|
data/LOGGING.md
CHANGED
|
@@ -5,7 +5,7 @@ To enable logging for this library, set the logger for the underlying
|
|
|
5
5
|
that you set may be a Ruby stdlib
|
|
6
6
|
[`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as
|
|
7
7
|
shown below, or a
|
|
8
|
-
[`Google::Cloud::Logging::Logger`](https://googleapis.
|
|
8
|
+
[`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
|
9
9
|
that will write logs to [Stackdriver
|
|
10
10
|
Logging](https://cloud.google.com/logging/). See
|
|
11
11
|
[grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
|
@@ -199,9 +199,8 @@ module Google
|
|
|
199
199
|
protected
|
|
200
200
|
|
|
201
201
|
def init_resources!
|
|
202
|
-
@thread_pool ||= \
|
|
203
|
-
|
|
204
|
-
max_queue: @max_queue
|
|
202
|
+
@thread_pool ||= Concurrent::ThreadPoolExecutor.new \
|
|
203
|
+
max_threads: @threads, max_queue: @max_queue
|
|
205
204
|
@thread ||= Thread.new { run_background }
|
|
206
205
|
nil # returning nil because of rubocop...
|
|
207
206
|
end
|
|
@@ -148,7 +148,7 @@ module Google
|
|
|
148
148
|
# @param [Hash] kwargs Hash of configuration settings. Used for backward
|
|
149
149
|
# API compatibility. See the {file:INSTRUMENTATION.md Instrumentation
|
|
150
150
|
# Guide} and [Configuration
|
|
151
|
-
# Guide](https://googleapis.
|
|
151
|
+
# Guide](https://googleapis.dev/ruby/stackdriver/latest/file.INSTRUMENTATION_CONFIGURATION.html)
|
|
152
152
|
# for the prefered way to set configuration parameters.
|
|
153
153
|
#
|
|
154
154
|
def initialize app, service: nil, **kwargs
|
|
@@ -46,7 +46,7 @@ module Google
|
|
|
46
46
|
#
|
|
47
47
|
# See the {file:INSTRUMENTATION.md Instrumentation Guide} and
|
|
48
48
|
# [Configuration
|
|
49
|
-
# Guide](https://googleapis.
|
|
49
|
+
# Guide](https://googleapis.dev/ruby/stackdriver/latest/file.INSTRUMENTATION_CONFIGURATION.html)
|
|
50
50
|
# on how to configure the Railtie and Middleware.
|
|
51
51
|
#
|
|
52
52
|
# ## Measuring custom functionality
|
|
@@ -35,7 +35,7 @@ module Google
|
|
|
35
35
|
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
|
36
36
|
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
|
37
37
|
# 3. [Enable the Stackdriver Trace API.](https://console.cloud.google.com/apis/api/trace)
|
|
38
|
-
# 4. [Setup Authentication.](https://googleapis.
|
|
38
|
+
# 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-trace/latest/file.AUTHENTICATION.html)
|
|
39
39
|
#
|
|
40
40
|
# ### Preview
|
|
41
41
|
# #### TraceServiceClient
|
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.34.
|
|
4
|
+
version: 0.34.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Azuma
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-08-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-cloud-core
|
|
@@ -328,7 +328,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
328
328
|
- !ruby/object:Gem::Version
|
|
329
329
|
version: '0'
|
|
330
330
|
requirements: []
|
|
331
|
-
rubygems_version: 3.0.
|
|
331
|
+
rubygems_version: 3.0.4
|
|
332
332
|
signing_key:
|
|
333
333
|
specification_version: 4
|
|
334
334
|
summary: Application Instrumentation and API Client library for Stackdriver Trace
|