lusis-signalfx 0.1.0 → 0.2.0
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 +4 -4
- data/lib/signalfx/signal_fx_client.rb +0 -4
- data/lib/signalfx/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 419891209e3c4879d8aac9ce5b547cc5caad710d
|
4
|
+
data.tar.gz: 88fdddfe523fe5663fe9869ed9815505b8c628f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5d69de28118ee4a545eaf3bfb3a4a62805d6c1019ba90cd124b703027b544060f4b3f40136f375ab2292bcc6dba56f21766294beb04982dbf83cdf529f48718
|
7
|
+
data.tar.gz: 84e2605ea00f7e8213715f621e64477ff0915bffbb9b226b407d73bc40a8c57b7587fd7ff4f6ebe448e8a73daa61a0d99cd9f5f610b5613ac339b58820ef2b30
|
@@ -36,13 +36,11 @@ class SignalFxClient
|
|
36
36
|
if request != nil
|
37
37
|
json_resp = JSON.parse(request.body)
|
38
38
|
@aws_unique_id = json_resp['instanceId']+'_'+json_resp['region']+'_'+json_resp['accountId']
|
39
|
-
puts("AWS Unique ID loaded: #{@aws_unique_id}")
|
40
39
|
else
|
41
40
|
puts('Failed to retrieve AWS unique ID.')
|
42
41
|
end
|
43
42
|
}
|
44
43
|
end
|
45
|
-
puts('initialize end')
|
46
44
|
end
|
47
45
|
|
48
46
|
#Send the given metrics to SignalFx synchronously.
|
@@ -128,8 +126,6 @@ class SignalFxClient
|
|
128
126
|
data[:dimensions][SignalFX::Config::AWS_UNIQUE_ID_DIMENSION_NAME] = @aws_unique_id
|
129
127
|
end
|
130
128
|
|
131
|
-
puts(data)
|
132
|
-
|
133
129
|
post(data.to_json, @api_endpoint, API_ENDPOINT_SUFFIX, SignalFX::Config::JSON_HEADER_CONTENT_TYPE)
|
134
130
|
end
|
135
131
|
|
data/lib/signalfx/version.rb
CHANGED