lib/new_relic/agent/instrumentation/elasticsearch.rb in newrelic_rpm-9.14.0 vs lib/new_relic/agent/instrumentation/elasticsearch.rb in newrelic_rpm-9.15.0
- old
+ new
@@ -12,11 +12,9 @@
depends_on do
defined?(Elasticsearch)
end
executes do
- NewRelic::Agent.logger.info('Installing Elasticsearch instrumentation')
-
to_instrument = if Gem::Version.create(Elasticsearch::VERSION) < Gem::Version.create('8.0.0')
Elasticsearch::Transport::Client
else
Elastic::Transport::Client
end