GithubHelp home page GithubHelp logo

aws_metrics_collector's People

Contributors

nicc777 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

aws_metrics_collector's Issues

Add command line arguments to select the services (EC2 and/or RDS) to collect statistics for

Is your feature request related to a problem? Please describe.

Control which service (EC2 and/or RDS) data must be collected

Describe the solution you'd like

Add a command line parameter with the following usage options:

  • --services="ec2, rds" -> Default behaviour
  • --services="ec2" -> Limit to ec2
  • --services="rds" -> Limit to rds

Additional context

The selected options will set services

Add command line arguments to select the regions (by default all regions will be scanned)

Is your feature request related to a problem? Please describe.

Add a command line argument to supply a list of regions to perform service discovery on

Describe the solution you'd like

Use the parameter --regions="us-east-1,..." (comma separated list) to name all regions to scan. If only one region is supplied, a comma is not required.

Additional context

By default all regions will be selected. Sets the variable all_regions to False and places the selected regions in the regions variable.

Command `amcollect` does not quit with `-h` option

Describe the bug
When supplying the script amcollect with the -h option to print help, the command does not quit.

To Reproduce
Run the amcollect command with -h

Expected behavior
Display help message and immediately quit

Screenshots, Console Output or Log Snippet
N/A

Version Information

  • OS and Version: Ubuntu Linux 18.04 (WSL)
  • Python version: 3.6.8

Additional context
N/A

Add command line arguments to control if and where JSON data is dumped

Is your feature request related to a problem? Please describe.
N/A

Describe the solution you'd like
Add a command line parameter --json-file=<filename>.json or -f <filename>.json.

Additional context
The current behavior is to dump the data by default to the file ./data.json.

Change the default program behavior so that the dump_raw_json_to_file flag is False

The -f option will set dump_raw_json_to_file to True and attempt to dump the data to the supplied file, which must be supplied.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.