Class: CloudwatchMetrics::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/cloudwatch_metrics/configuration.rb

Instance Attribute Summary collapse

Instance Attribute Details

#default_dimensionsObject

Returns the value of attribute default_dimensions.



5
6
7
# File 'lib/cloudwatch_metrics/configuration.rb', line 5

def default_dimensions
  @default_dimensions
end

#environmentObject

Returns the value of attribute environment.



5
6
7
# File 'lib/cloudwatch_metrics/configuration.rb', line 5

def environment
  @environment
end

#error_handlerObject

Returns the value of attribute error_handler.



5
6
7
# File 'lib/cloudwatch_metrics/configuration.rb', line 5

def error_handler
  @error_handler
end

#loggerObject



16
17
18
# File 'lib/cloudwatch_metrics/configuration.rb', line 16

def logger
  @logger ||= Logger.new($stdout)
end

#namespaceObject

Returns the value of attribute namespace.



5
6
7
# File 'lib/cloudwatch_metrics/configuration.rb', line 5

def namespace
  @namespace
end

#no_cw_aliasObject



8
9
10
# File 'lib/cloudwatch_metrics/configuration.rb', line 8

def no_cw_alias
  @no_cw_alias ||= false
end

#non_production_prefixObject



20
21
22
# File 'lib/cloudwatch_metrics/configuration.rb', line 20

def non_production_prefix
  @non_production_prefix ||= 'test/'
end

#publish_environmentsObject



12
13
14
# File 'lib/cloudwatch_metrics/configuration.rb', line 12

def publish_environments
  @publish_environments ||= %w[production]
end

#regionObject

Returns the value of attribute region.



5
6
7
# File 'lib/cloudwatch_metrics/configuration.rb', line 5

def region
  @region
end