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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9841d34d8ea8772e1f432ea8902b87adca2eca5
4
- data.tar.gz: cb278b70b62479d3039893a62fa797f7769b8d17
3
+ metadata.gz: 36adf5a7555ede28d15fa10c9998f5f0bb033a68
4
+ data.tar.gz: 669e743655d365c1ffbe9f6f286386f374784a50
5
5
  SHA512:
6
- metadata.gz: 41c7e87187b02c3e5013f74316059569eb0a5c62208c45eb4881bac47993ad5162f36c9bc8ff3f8e97cf1dd70c91fdb62d2caaa900ecab3633b7eee758fb9606
7
- data.tar.gz: 74cd457db440e285c645ab045a11ed6da76aefa7e8d95847a61f1e19640337684b6c56ebf0407992c50a7c397fcde16208630074c0424283dfe3573109cbb9cb
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,
@@ -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, type = :checkin)
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
@@ -1,4 +1,4 @@
1
1
  module ScoutApm
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scout_apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derek Haynes