{ "info": { "author": "Yipit Coders", "author_email": "coders@yipit.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python" ], "description": "Graphite AWS Cleaner\n====================\n\nDelete old graphite data based on instance name pattern and current\nrunning AWS instances.\n\nThis is very useful if you have AWS instances that are terminated and\nyou no longer need their metrics, so you can just remove their stats.\n\nIt is required to have AWS credentials set via environment variables\n(``AWS_ACCESS_KEY_ID`` and ``AWS_SECRET_ACCESS_KEY``) or IAM roles.\n\nInstallation\n------------\n\n::\n\n $ pip install graphite_aws_cleaner\n\nUsage\n-----\n\n::\n\n # aws context\n web_i-123 # running\n web_i-456 # running\n web_i-789 # terminated\n\n\n $ graphite-aws-cleaner '*web*' /opt/graphite/storage\n\nThis is going to delete all graphite data related to ``web_i-789``,\nsince the instance is no longer runnning.\n\nPatterns\n~~~~~~~~\n\nAnything that matches Python's\n`fnmatch.fnmatch `_\nworks as a pattern:\n\n+-------------+------------------------------------+\n| Pattern | Meaning |\n+=============+====================================+\n| \\* | matches everything |\n+-------------+------------------------------------+\n| ? | matches any single character |\n+-------------+------------------------------------+\n| [seq] | matches any character in seq |\n+-------------+------------------------------------+\n| [!seq] | matches any character not in seq |\n+-------------+------------------------------------+\n\nDevelopment\n-----------\n\n::\n\n $ make setup\n\nRunning tests\n~~~~~~~~~~~~~\n\n::\n\n $ make test", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Yipit/graphite_aws_cleaner", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "graphite_aws_cleaner", "package_url": "https://pypi.org/project/graphite_aws_cleaner/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/graphite_aws_cleaner/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/Yipit/graphite_aws_cleaner" }, "release_url": "https://pypi.org/project/graphite_aws_cleaner/0.0.3/", "requires_dist": null, "requires_python": null, "summary": "Delete old graphite data based on instance name patternand current running AWS instances.", "version": "0.0.3" }, "last_serial": 2947754, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "87707c2fa8082f1c235098dcc2c33163", "sha256": "96148bccd9ae01a7d81d5cbb815c30565f7acec62a73970db4c4afd501613a67" }, "downloads": -1, "filename": "graphite_aws_cleaner-0.0.1.tar.gz", "has_sig": false, "md5_digest": "87707c2fa8082f1c235098dcc2c33163", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3536, "upload_time": "2013-08-22T15:46:16", "url": "https://files.pythonhosted.org/packages/5c/16/32b6ce83f245ccdbe91cad5f9cd5e7234e88b19f9d4370a9783a5857a1c7/graphite_aws_cleaner-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "8a18eb1ea795ed52c2e4be73211b0b78", "sha256": "b1076a3819185d81a7ea6be93dc87bff56e0b3d4abd33969ea51865a3bfbea42" }, "downloads": -1, "filename": "graphite_aws_cleaner-0.0.2.tar.gz", "has_sig": false, "md5_digest": "8a18eb1ea795ed52c2e4be73211b0b78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3666, "upload_time": "2013-09-04T14:42:19", "url": "https://files.pythonhosted.org/packages/1c/be/a874715a9a13efc3996026db349d477c0bfa772911751682ae9faab7e5d5/graphite_aws_cleaner-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "0fafa96f8d6a650362a393950196b21e", "sha256": "6a47697455d0375896daa6064e6f6a4023c990ecbe33bec38fa866616e973db0" }, "downloads": -1, "filename": "graphite_aws_cleaner-0.0.3.tar.gz", "has_sig": false, "md5_digest": "0fafa96f8d6a650362a393950196b21e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3717, "upload_time": "2013-09-23T15:30:05", "url": "https://files.pythonhosted.org/packages/d6/d1/aca63bf889aca8ac66e06fd5e6c3c1cdc9e0de712a7392166ef8b8b36882/graphite_aws_cleaner-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0fafa96f8d6a650362a393950196b21e", "sha256": "6a47697455d0375896daa6064e6f6a4023c990ecbe33bec38fa866616e973db0" }, "downloads": -1, "filename": "graphite_aws_cleaner-0.0.3.tar.gz", "has_sig": false, "md5_digest": "0fafa96f8d6a650362a393950196b21e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3717, "upload_time": "2013-09-23T15:30:05", "url": "https://files.pythonhosted.org/packages/d6/d1/aca63bf889aca8ac66e06fd5e6c3c1cdc9e0de712a7392166ef8b8b36882/graphite_aws_cleaner-0.0.3.tar.gz" } ] }