google-cloud-trace 0.34.4 → 0.34.5

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: 842f06a734f5a1f787f4d1ed88c9fb2f9d040c67280cfdda546fba608ca2994d
4
- data.tar.gz: a82c5fa468cb95ddeb0f31f03ccadd196a463e3bd30f93660462ded59ea15fee
3
+ metadata.gz: 011a5cfab97710af36f316d619b812a1c41755cfe6e7da689cc99245d9f87d5a
4
+ data.tar.gz: ab8c456a3e59572fde4c5c55c5d7b3fba0b08c5cbef93c0c7da548cab693b7e3
5
5
  SHA512:
6
- metadata.gz: 3afb0d23906c4b9a3856e1bcd46617be7e816c0c5e5a77cf7af111772a126ab155b5ab77277b01ed6af6031e1b54329a622fc8a29bb90451a1cbbcde7ad37e4e
7
- data.tar.gz: e0dae52d0b9f6271cb41afb1de82424bd0ec1ae7c8df01b71046443727171db89e1c140f7887692b264e9ec4799ff2cd752bd85473b12eda789dbf7755169999
6
+ metadata.gz: 583dc40bedd3e8881c5a686d4e6494fb5b7dbdd4f09f30888262d5236cb860bd0ab83d5366f5669fdc4a7ae07431fd07ee74e468572f90aff99c84a9aeb3c767
7
+ data.tar.gz: '006180a50fbe58cc62795057dc6523905d617d29c5be6e65a29f94381372f6aeb0593f136bbe97d375cc5fca3216a08df15a1a15d3a9c7712dcc62ed4f35a9c4'
@@ -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.
@@ -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.github.io/google-cloud-ruby/docs/stackdriver/latest/file.INSTRUMENTATION_CONFIGURATION)
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.github.io/google-cloud-ruby/#/docs/stackdriver)
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.github.io/google-cloud-ruby/docs/google-cloud-logging/latest/Google/Cloud/Logging/Logger)
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
- Concurrent::CachedThreadPool.new max_threads: @threads,
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.github.io/google-cloud-ruby/docs/stackdriver/latest/file.INSTRUMENTATION_CONFIGURATION)
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.github.io/google-cloud-ruby/docs/stackdriver/latest/file.INSTRUMENTATION_CONFIGURATION)
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.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
38
+ # 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-trace/latest/file.AUTHENTICATION.html)
39
39
  #
40
40
  # ### Preview
41
41
  # #### TraceServiceClient
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Trace
19
- VERSION = "0.34.4".freeze
19
+ VERSION = "0.34.5".freeze
20
20
  end
21
21
  end
22
22
  end
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
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-07-09 00:00:00.000000000 Z
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.3
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