sensu-plugins / sensu-plugins-aws

This plugin provides native AWS instrumentation for monitoring and metrics collection, including: health and metrics for various AWS services, such as EC2, RDS, ELB, and more, as well as handlers for EC2, SES, and SNS.
http://sensu-plugins.io
MIT License
81 stars 143 forks source link

[metrics-billing.rb] provide a way to ask for a different currency than USD #267

Open arthurzenika opened 6 years ago

arthurzenika commented 6 years ago

It would be nice to have a configuration option to ask for a different currency (eg. EUR in our case), via a command line option for example.

$ metrics-billing.rb -h
Usage: /usr/local/bin/metrics-billing.rb (options)
    -r, --aws-region REGION          AWS Region (defaults to us-east-1).
    -s, --scheme SCHEME              Metric naming scheme, text to prepend to metric
    -S SERVICES_NAME,                The name of the AWS service (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/billing-metricscollected.html)
        --services-name
   --currency  CURRENCY            Currency for metric (defaults to USD)
majormoses commented 6 years ago

makes sense to me any chance you'd be willing to work on an enhancement?