Module: CloudwatchMetrics
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/cloudwatch_metrics.rb,
lib/cloudwatch_metrics/version.rb,
lib/cloudwatch_metrics/constants.rb,
lib/cloudwatch_metrics/configuration.rb,
lib/generators/cloudwatch_metrics/initializer_generator.rb
Overview
Posts custom metrics to AWS CloudWatch
Defined Under Namespace
Modules: Generators Classes: Client, Configuration, Error
Constant Summary collapse
- VERSION =
'1.1.4'
- SECONDS =
'Seconds'
- MICROSECONDS =
'Microseconds'
- MILLISECONDS =
'Milliseconds'
- BYTES =
'Bytes'
- KILOBYTES =
'Kilobytes'
- MEGABYTES =
'Megabytes'
- GIGABYTES =
'Gigabytes'
- TERABYTES =
'Terabytes'
- BITS =
'Bits'
- KILOBITS =
'Kilobits'
- MEGABITS =
'Megabits'
- GIGABITS =
'Gigabits'
- TERABITS =
'Terabits'
- PERCENT =
'Percent'
- COUNT =
'Count'
- BYTES_PER_SECOND =
'Bytes/Second'
- KILOBYTES_PER_SECOND =
'Kilobytes/Second'
- MEGABYTES_PER_SECOND =
'Megabytes/Second'
- GIGABYTES_PER_SECOND =
'Gigabytes/Second'
- TERABYTES_PER_SECOND =
'Terabytes/Second'
- BITS_PER_SECOND =
'Bits/Second'
- KILOBITS_PER_SECOND =
'Kilobits/Second'
- MEGABITS_PER_SECOND =
'Megabits/Second'
- GIGABITS_PER_SECOND =
'Gigabits/Second'
- TERABITS_PER_SECOND =
'Terabits/Second'
- COUNT_PER_SECOND =
'Count/Second'
- NONE =
'None'
- UNITS =
[ SECONDS, MICROSECONDS, MILLISECONDS, BYTES, KILOBYTES, MEGABYTES, GIGABYTES, TERABYTES, BITS, KILOBITS, MEGABITS, GIGABITS, TERABITS, PERCENT, COUNT, BYTES_PER_SECOND, KILOBYTES_PER_SECOND, MEGABYTES_PER_SECOND, GIGABYTES_PER_SECOND, TERABYTES_PER_SECOND, BITS_PER_SECOND, KILOBITS_PER_SECOND, MEGABITS_PER_SECOND, GIGABITS_PER_SECOND, TERABITS_PER_SECOND, COUNT_PER_SECOND, NONE ]
Class Method Summary collapse
Class Method Details
.flush ⇒ Object
23 24 25 |
# File 'lib/cloudwatch_metrics.rb', line 23 def flush @instance = nil end |
.instance ⇒ Object
19 20 21 |
# File 'lib/cloudwatch_metrics.rb', line 19 def instance @instance ||= CloudwatchMetrics::Client.new end |