module XRay::Plugins::ElasticBeanstalk
A plugin that records information about the elastic beanstalk environment hosting your application.
Constants
- CONF_PATH
- ORIGIN
Public Class Methods
aws()
click to toggle source
# File lib/aws-xray-sdk/plugins/elastic_beanstalk.rb, line 14 def self.aws @@aws ||= begin file = File.open(CONF_PATH) { elastic_beanstalk: MultiJson.load(file) } rescue StandardError => e @@aws = {} Logging.logger.warn %(cannot get the environment config due to: #{e.message}.) end end