raygun-apm 1.0.47-x86-linux → 1.0.48-x86-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/raygun/apm/diagnostics.rb +4 -1
- data/lib/raygun/apm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 185e83d51208f563c0f0dd4384de7fb1123e9e8e52531da7abc3bdd22f5a43bd
|
4
|
+
data.tar.gz: cb4327777a8fcba886cc0c1417682393c2a26e229d4517b76a742ea84dd28b2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f9d8243e2d21823d5cac6243e46c5e22f3bcc38dda39a507e87abb83b8d32dbf06c8e80f7fa676acb41a1f4475fad5787a3c423a28222dca4d7995acb1d19c6
|
7
|
+
data.tar.gz: 351236e8f8a5da7c1583ef179906e944d848638489e12611edd2e9d98b92b2f258cd34037c7c5f5ab82702bc4620fb3399d387cacb6a4b6852c3ce9944864a1d
|
@@ -5,6 +5,7 @@ module Raygun
|
|
5
5
|
module Apm
|
6
6
|
class Diagnostics
|
7
7
|
AGENT_STATE_DOWN = "The Raygun APM Agent appears to not be running on the current host.\nIf not already installed, please consult https://raygun.com/documentation/product-guides/apm/agent/downloads/\nOtherwise refer to https://raygun.com/documentation/product-guides/apm/agent/installation/ for starting the Agent."
|
8
|
+
AGENT_STATE_UNKNOWN = "Unable to determine the state of the Raygun APM Agent."
|
8
9
|
AGENT_STATE_UP_MISCONFIGURED = "The Raygun APM Agent is running, but misconfigured.\nThe API Key needs to be set through the Raygun_ApiKey environment variable.\nThe API key can be found under 'Application Settings' in the Raygun UI"
|
9
10
|
AGENT_STATE_UP_CONFIGURED = "The Raygun APM Agent is configured properly!"
|
10
11
|
|
@@ -15,7 +16,7 @@ module Raygun
|
|
15
16
|
|
16
17
|
def verify_agent
|
17
18
|
socket.write "GetAgentInfo"
|
18
|
-
response =
|
19
|
+
response = rJSON.parse(socket.gets)
|
19
20
|
if response['Status'] == 1
|
20
21
|
puts AGENT_STATE_UP_CONFIGURED
|
21
22
|
elsif response['Status'] == 0
|
@@ -23,6 +24,8 @@ module Raygun
|
|
23
24
|
end
|
24
25
|
rescue Errno::ECONNREFUSED
|
25
26
|
puts AGENT_STATE_DOWN
|
27
|
+
rescue
|
28
|
+
puts AGENT_STATE_UNKNOWN
|
26
29
|
end
|
27
30
|
|
28
31
|
private
|
data/lib/raygun/apm/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raygun-apm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.48
|
5
5
|
platform: x86-linux
|
6
6
|
authors:
|
7
7
|
- Raygun
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-07-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: debase-ruby_core_source
|