lib/instana/base.rb in instana-1.197.0 vs lib/instana/base.rb in instana-1.198.0.pre1
- old
+ new
@@ -11,10 +11,11 @@
attr_accessor :tracer
attr_accessor :processor
attr_accessor :config
attr_accessor :pid
attr_reader :secrets
+ attr_reader :serverless
##
# setup
#
# Setup the Instana language agent to an informal "ready
@@ -23,9 +24,10 @@
def setup
@agent = ::Instana::Backend::Agent.new
@tracer = ::Instana::Tracer.new
@processor = ::Instana::Processor.new
@secrets = ::Instana::Secrets.new
+ @serverless = ::Instana::Serverless.new
end
def logger
@logger ||= ::Instana::LoggerDelegator.new(Logger.new(STDOUT))
end