scout_apm 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scout_apm/agent/reporting.rb +1 -1
- data/lib/scout_apm/app_server_load.rb +1 -0
- data/lib/scout_apm/reporter.rb +1 -1
- data/lib/scout_apm/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: 36adf5a7555ede28d15fa10c9998f5f0bb033a68
|
4
|
+
data.tar.gz: 669e743655d365c1ffbe9f6f286386f374784a50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01b264703cdaa45a38dd705afec5726211b2a1c23e575c4a0fb0a9f86edbb738cd6aecbaf99e0a828da217abdc5df22850195954e11fd2f9dde7514730e13497
|
7
|
+
data.tar.gz: bc2f83e3448c141529e24ffd7acaa774ea884665aedcc88879830bd99486225d88f5ed2b099db667ba056dfbf9acb7b86381fe972de6f55865c89899b2724888
|
@@ -3,7 +3,7 @@ module ScoutApm
|
|
3
3
|
class Agent
|
4
4
|
module Reporting
|
5
5
|
def reporter
|
6
|
-
@reporter ||= ScoutApm::Reporter.new(config, logger)
|
6
|
+
@reporter ||= ScoutApm::Reporter.new(:checkin, config, logger)
|
7
7
|
end
|
8
8
|
|
9
9
|
# Called in the worker thread. Merges in-memory metrics w/those on disk and reports metrics
|
@@ -19,6 +19,7 @@ module ScoutApm
|
|
19
19
|
{ :server_time => Time.now,
|
20
20
|
:framework => ScoutApm::Environment.instance.framework_integration.human_name,
|
21
21
|
:framework_version => ScoutApm::Environment.instance.framework_integration.version,
|
22
|
+
:environment => ScoutApm::Environment.instance.framework_integration.env,
|
22
23
|
:ruby_version => RUBY_VERSION,
|
23
24
|
:hostname => ScoutApm::Environment.instance.hostname,
|
24
25
|
:database_engine => ScoutApm::Environment.instance.database_engine,
|
data/lib/scout_apm/reporter.rb
CHANGED
@@ -9,7 +9,7 @@ module ScoutApm
|
|
9
9
|
attr_reader :logger
|
10
10
|
attr_reader :type
|
11
11
|
|
12
|
-
def initialize(config=Agent.instance.config, logger=Agent.instance.logger
|
12
|
+
def initialize(type = :checkin, config=Agent.instance.config, logger=Agent.instance.logger)
|
13
13
|
@config = config
|
14
14
|
@logger = logger
|
15
15
|
@type = type
|
data/lib/scout_apm/version.rb
CHANGED