instana 1.8.0 → 1.8.1

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: 5c968fb1710122a4a4d667b7fdc5462378bcbb9f0f20da3f543251534e0aa87a
4
- data.tar.gz: 72663f04bb23be306e3f87a997cc01375d57a70e8d95501de30a73ca76c32e23
3
+ metadata.gz: a4577c3758b25f831efffaf61c982cd0e0195a0196f865130d20326f3e9ebaa4
4
+ data.tar.gz: 1af3640b9b97e1496f6f4f3fcad9dca309a08c151c53c2e9494113caffe27a5a
5
5
  SHA512:
6
- metadata.gz: f4ad1808b31168d09d780b855517ee6b9b40646533e7cb9a4fdd5a546501a241e2e5ff549158bdb8425cc3165f5f1aaf73140a0a6296302e74992012dd828e44
7
- data.tar.gz: f4dfa14ef6e2ee9c07ac46dacec492cced49e237cdd0420406fe810ba1e719210c7c089bc3ab065d2f6d0193a6e1a872e99e899e53df4035107f513677934582
6
+ metadata.gz: 8640196d3354bed67c1cd305f44c43927114d40f51741a68e3affe21af234ee8866543ac48611dc08de83c0c566effd5348c7c6d3ecef0c7eefb541813a3fddc
7
+ data.tar.gz: 2b2e2cad93f8be1567d306211afb6af2ccf21ee9fe4b5b32bd87d5ee5846a35efe8810c4599b1d7ca364dadad9dab8242fbd50b3915718cbe2d3b7d0b5a30309
data/instana.gemspec CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Peter Giacomo Lombardo"]
10
10
  spec.email = ["pglombardo@gmail.com"]
11
11
 
12
- spec.summary = %q{Ruby sensor for Instana}
13
- spec.description = %q{Provides Ruby sensor instrumentation for Instana.}
12
+ spec.summary = %q{Ruby Distributed Tracing & Metrics Sensor for Instana}
13
+ spec.description = %q{The Instana gem collects and reports Ruby metrics and distibuted traces to your Instana dashboard.}
14
14
  spec.homepage = "https://www.instana.com/"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
data/lib/instana/agent.rb CHANGED
@@ -46,7 +46,7 @@ module Instana
46
46
 
47
47
  # In case we're running in Docker, have the default gateway available
48
48
  # to check in case we're running in bridged network mode
49
- if @is_linux
49
+ if @is_linux && File.exist?("/sbin/ip")
50
50
  @default_gateway = `/sbin/ip route | awk '/default/ { print $3 }'`.chomp
51
51
  else
52
52
  @default_gateway = nil
@@ -23,6 +23,6 @@ if defined?(::ActiveRecord) && ::Instana.config[:active_record][:enabled]
23
23
  ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.send(:include, ::Instana::Instrumentation::PostgreSQLAdapter)
24
24
 
25
25
  else
26
- ::Instana.logger.debug "Unsupported ActiveRecord adapter: #{ActiveRecord::Base.connection.adapter_name.downcase}"
26
+ ::Instana.logger.debug "Unsupported ActiveRecord adapter"
27
27
  end
28
28
  end
@@ -1,4 +1,4 @@
1
1
  module Instana
2
- VERSION = "1.8.0"
2
+ VERSION = "1.8.1"
3
3
  VERSION_FULL = "instana-#{VERSION}"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instana
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Giacomo Lombardo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-27 00:00:00.000000000 Z
11
+ date: 2018-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -164,7 +164,8 @@ dependencies:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: 1.8.1
167
- description: Provides Ruby sensor instrumentation for Instana.
167
+ description: The Instana gem collects and reports Ruby metrics and distibuted traces
168
+ to your Instana dashboard.
168
169
  email:
169
170
  - pglombardo@gmail.com
170
171
  executables: []
@@ -313,7 +314,7 @@ rubyforge_project:
313
314
  rubygems_version: 2.7.6
314
315
  signing_key:
315
316
  specification_version: 4
316
- summary: Ruby sensor for Instana
317
+ summary: Ruby Distributed Tracing & Metrics Sensor for Instana
317
318
  test_files:
318
319
  - test/agent/agent_test.rb
319
320
  - test/apps/cuba.rb