signalfx-lambda 0.2.3 → 0.2.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dcbb892d9545a5f51a42fa96a05d6ceca56837feaf63fe1d1f9841cd0f213974
4
- data.tar.gz: 69fe913cbcf61d04852e5ad74c99b87291809272ff55eb2dc4ec49f6633c4399
3
+ metadata.gz: 2ba7e68e0f8f3fc37c600b1df66241948b2cd454625f695ba037abe4912dcf96
4
+ data.tar.gz: d99bc29d7ba4636da29f31d6df8701769ee29d82a960243b6862d5ea26bf3826
5
5
  SHA512:
6
- metadata.gz: 051f24fe3ccb000e698cb08516cb2ed76afb43bf5569dad2c3ec4fa7427e54b1adaa0d30ed8e2d6220fb3e77fac0071b1c343a8310bad74731a16a33d607c9e7
7
- data.tar.gz: 07bca8e0c204e82f783619a04e9adeddb061e2e9a8c93bd19773f47eb7a46f5090da6230bb8ab5f242c46e460b5c082569f9e27dbc8441e5c38c8272647cdce7
6
+ metadata.gz: 5f512963d7d3ddc4026251ae38bc63bcee8f8f18786d778b13a16767e91ec464c58f9a03c73ba95be79af18735f87393ebafda646b568108bd6eb6a356dd886c
7
+ data.tar.gz: bd29bb73148e7eea54fbfc459e94f6637c76d9c15aa5c56dd2caaffd8b4c4cae3ba2fe881617c243998bbac711fa99967eb161ae9401dc63d7f20e3249cdb8ef
@@ -83,7 +83,7 @@ module SignalFx
83
83
  def init_client
84
84
  access_token = ENV['SIGNALFX_ACCESS_TOKEN']
85
85
  ingest_endpoint = ENV['SIGNALFX_METRICS_URL'] || ENV['SIGNALFX_ENDPOINT_URL'] || 'https://ingest.signalfx.com'
86
- timeout = ENV['SIGNALFX_SEND_TIMEOUT'] || 1
86
+ timeout = [ENV['SIGNALFX_SEND_TIMEOUT'].to_i, 1].max
87
87
 
88
88
  @client = SignalFx.new access_token, ingest_endpoint: ingest_endpoint, timeout: timeout
89
89
  end
@@ -1,5 +1,5 @@
1
1
  module SignalFx
2
2
  module Lambda
3
- VERSION = "0.2.3"
3
+ VERSION = "0.2.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: signalfx-lambda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ashwin Chandrasekar
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-09 00:00:00.000000000 Z
11
+ date: 2019-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jaeger-client