logstash-output-scalyr 0.1.15.beta → 0.1.16.beta

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: b2e4aabe9bf971e1e0638899d713f5f16d7123e9be6f1dd98b82ab7ccfadb63f
4
- data.tar.gz: 59ed216e6811e485f48ebed2a8fb3875f31c64cdf0f3a3b6e0a6112b2d8e11b6
3
+ metadata.gz: 16e88c3869fdb18e4132726af302e37c8bac2c10038ca3a078f85cebe67c4940
4
+ data.tar.gz: a42194413ec2969e31bbe44e72df7cf71d09911b61adae9db16b6041a97bc1b4
5
5
  SHA512:
6
- metadata.gz: 45f6f63a99a7d232ea7cedaaa15ba5a64893d26788701ccfd6140367035771748cf4829a7a856642b704a20524a3d41710c9d9f23cc1daf3fea5b0b50394a626
7
- data.tar.gz: 9a24eb6f935f9accd942b6091c33d9c3aca3601e7b833f07516c17a07e8e47660715f3e024748605ae57c40c38f3fc2f507151fa5708f6ab99280d3021c93e07
6
+ metadata.gz: 66d4261da66deaa8f5227b0ecfcdfce51f170c561902397c6020d3baa8694bd7c92291b0faa84178e4dda180c71892ab4a30ba425dc1133f5f7b349c1b7e44fa
7
+ data.tar.gz: 6689e3c9fd5fa2a571ca8076a4ae24b5eb1bf5da9216030b8c759a0baff17f4577a478f3c3efced4ddb22ecf273ec675f8831733aded928fd2c92c7ce91d1983
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Beta
2
2
 
3
+ ## 0.1.16.beta
4
+ - Fix race condition in ``register()`` method.
5
+
3
6
  ## 0.1.15.beta
4
7
  - Only call ``send_status`` method at the end of ``multi_receive()`` if there is at least one
5
8
  record in the batch when ``report_status_for_empty_batches`` config option is set to ``false``.
@@ -269,6 +269,13 @@ class LogStash::Outputs::Scalyr < LogStash::Outputs::Base
269
269
  send_status(initial_send_status_client_session)
270
270
  initial_send_status_client_session.close
271
271
 
272
+ # We also "prime" the main HTTP client here, one which is used for sending subsequent requests.
273
+ # Here priming just means setting up the client parameters without opening any connections.
274
+ # Since client writes certs to a temporary file there could be a race in case we don't do that
275
+ # here since multi_receive() is multi threaded. An alternative would be to put a look around
276
+ # client init method (aka client_config())
277
+ @client_session.client
278
+
272
279
  end # def register
273
280
 
274
281
  # Convenience method to create a fresh quantile estimator
@@ -1,2 +1,2 @@
1
1
  # encoding: utf-8
2
- PLUGIN_VERSION = "v0.1.15.beta"
2
+ PLUGIN_VERSION = "v0.1.16.beta"
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-scalyr'
3
- s.version = '0.1.15.beta'
3
+ s.version = '0.1.16.beta'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = "Scalyr output plugin for Logstash"
6
6
  s.description = "Sends log data collected by Logstash to Scalyr (https://www.scalyr.com)"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-scalyr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15.beta
4
+ version: 0.1.16.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edward Chee