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 +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/logstash/outputs/scalyr.rb +7 -0
- data/lib/scalyr/constants.rb +1 -1
- data/logstash-output-scalyr.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16e88c3869fdb18e4132726af302e37c8bac2c10038ca3a078f85cebe67c4940
|
4
|
+
data.tar.gz: a42194413ec2969e31bbe44e72df7cf71d09911b61adae9db16b6041a97bc1b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/scalyr/constants.rb
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
PLUGIN_VERSION = "v0.1.
|
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.
|
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)"
|