logstash-output-azure_service_bus 0.1.3 → 0.1.6

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: 443b2f70a7afe4afdd1263d405d798637500a2c33bc23d7192731e1fc49aba5a
4
- data.tar.gz: 65a5cce650e1d5f8adf40cd4cf6abb4952a51ccbd423b9bc716ce99940047ff2
3
+ metadata.gz: 86afcaf954af103be089a59d6fecb8f6fe4f2d69b5190f7ffd6ad33648a46054
4
+ data.tar.gz: 29e8e7fa58b69b713df750609609a96e4a4f0d2000f37362cae92d20a36104ad
5
5
  SHA512:
6
- metadata.gz: ec07516b959b4e10a0094ca20ef1e2f34d22da9762fdbc3191b22d071e5321fda5ccf90bcbf75bc2627ce0c5abc6278a1b5ae889b3309b385f9358a0e7a0f07e
7
- data.tar.gz: 1609087f26dab3495d040397a5b4a756b5a8151726230889056ee2ccc83681b0d7bf33dd3b2286aaac12a82ecd5fa440bc15209301ee8186f68008b7cb47ae4a
6
+ metadata.gz: 242299e9ab1b5bc4ca4adb3af61976d05fe5216331a82b91dad00e19099187faeb0b90daa870b987a404ddbc50af18c13c44344a7adea648f83d967dd1431d64
7
+ data.tar.gz: 31fca87e475ae0e52ff5654f88b59f9a5efa84c739425938c853b4691f50b3ed241306bb7ec249f1e240571b55293a2fd7ee40301043f01d807b112a16057961
@@ -20,7 +20,7 @@ class LogStash::Outputs::AzureServiceBus < LogStash::Outputs::Base
20
20
  retry_statuses: [429, 500],
21
21
  exceptions: [Faraday::ConnectionFailed, Faraday::TimeoutError, Faraday::RetriableResponse],
22
22
  methods: %i[get post],
23
- retry_block: ->(_env, _options, retries, exception) { @logger.error("Error (#{exception}) when attempt to send to Service Bus. #{retries + 1} retry(s) left...") }
23
+ retry_block: ->(env, _options, retries, exception) { @logger.error("Error (#{exception}) for #{env.method.upcase} #{env.url} - #{retries + 1} retry(s) left") }
24
24
  }
25
25
  @token_conn = Faraday.new(
26
26
  url: 'http://169.254.169.254/metadata/identity/oauth2/token',
@@ -32,7 +32,7 @@ class LogStash::Outputs::AzureServiceBus < LogStash::Outputs::Base
32
32
  end
33
33
  @service_bus_conn = Faraday.new(
34
34
  url: "https://#{@service_bus_namespace}.servicebus.windows.net/#{@service_bus_entity}/",
35
- request: { timeout: 3 }
35
+ request: { timeout: 10 }
36
36
  ) do |f|
37
37
  f.request :retry, retry_options
38
38
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-azure_service_bus'
3
- s.version = '0.1.3'
3
+ s.version = '0.1.6'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = 'Send Logstash messages to Azure Service Bus.'
6
6
  s.homepage = 'https://github.com/gharryg/logstash-output-azure_service_bus'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-azure_service_bus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harrison Golden