{ "info": { "author": "J\u00e9r\u00e9my Cohen Solal", "author_email": "jeremy.cohen-solal@dalenys.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Topic :: Database :: Database Engines/Servers", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Monitoring", "Topic :: Utilities" ], "description": "# MySQL Table Space Graphing\n\n![Build Status](https://travis-ci.org/dalenys/mytsgraph.svg?branch=master)\n\n#### Table of contents\n\n1. [Overview] (#overview)\n2. [Usage] (#usage)\n3. [Notices] (#notices)\n4. [Installation] (#installation)\n5. [Development] (#development)\n\n## Overview\nThis program put in statsd (graphite stack) some metrics about your database\nand table space consumption.\n\nFor all your databases/tables, you will have\n\n- data_length: size of the table\n- index_length: size of the index\n- data_free: free space in table space\n- row_count: the (approximative) number of rows\n\n## Usage\n\n```\nusage: mytsgraph [-h] --config CONFIG\n\noptional arguments:\n -h, --help show this help message and exit\n --config CONFIG, -c CONFIG\n Configuration file\n\n```\n\n## Notices\nBE CAREFUL:\n - It could be very slow (especially on heavy loaded servers or servers with a\n huge databases/tables count.\n You surely want to run this tool on a slave instead of a master\n\n## Installation [pypi link](https://pypi.python.org/pypi/mytsgraph/)\n\nTo install it with a [Python virtualenv](http://docs.python-guide.org/en/latest/dev/virtualenvs/)\n(recommended):\n\n```\n$> virtualenv myenv\n$> source myenv/bin/activate\n(myenv) $> pip install mytsgraph\n(myenv) $> mysql-monitor -h\n```\n\nOr on your system, without virtualenv:\n\n```\n$> pip install mytsgraph\n$> mysql-monitor -h\n```\n\n## Retention policy\n\nI suggest to use a not fine grained retention since this script should be used\nonly a few time a day. Something like this should be enough:\n\n```\n[mytsgraph]\npattern = database.*\nretentions = 4h:3y\n```\n\n## Development\n\nTo start hacking on the project, run:\n\n```\n$> virtualenv myenv\n$> source myenv/bin/activate\n(myenv) $> pip install -e .\n(myenv) $> mytsgraph -h\n```", "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/dalenys/mytsgraph", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "mytsgraph", "package_url": "https://pypi.org/project/mytsgraph/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/mytsgraph/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/dalenys/mytsgraph" }, "release_url": "https://pypi.org/project/mytsgraph/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "MySQL table space monitoring.", "version": "1.0.1" }, "last_serial": 2585242, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "b9558e7187e0771688b653ddd8abf1b0", "sha256": "1c830e1bc3c9f683bc5922f1a49143741f0b3ecb76c5323e13cceef970c10314" }, "downloads": -1, "filename": "mytsgraph-1.0.0.tar.gz", "has_sig": false, "md5_digest": "b9558e7187e0771688b653ddd8abf1b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3601, "upload_time": "2016-12-19T14:10:32", "url": "https://files.pythonhosted.org/packages/5e/f8/c8fa339e21d985b6b69f2fb640775a7c04b1ab7a9fae445f8731685a3407/mytsgraph-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "67a6bfae35cff23320f35561c17f5ad3", "sha256": "51b6f8a2e94e1a535c170b6166d96bded0927f3cea97bdf43c0e2272461a6659" }, "downloads": -1, "filename": "mytsgraph-1.0.1.tar.gz", "has_sig": false, "md5_digest": "67a6bfae35cff23320f35561c17f5ad3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3755, "upload_time": "2017-01-19T15:30:05", "url": "https://files.pythonhosted.org/packages/95/d9/40f45c1b09f51b8d603d7ee2520976fbbb19ebca828d9438ffeaf16ea9fc/mytsgraph-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "67a6bfae35cff23320f35561c17f5ad3", "sha256": "51b6f8a2e94e1a535c170b6166d96bded0927f3cea97bdf43c0e2272461a6659" }, "downloads": -1, "filename": "mytsgraph-1.0.1.tar.gz", "has_sig": false, "md5_digest": "67a6bfae35cff23320f35561c17f5ad3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3755, "upload_time": "2017-01-19T15:30:05", "url": "https://files.pythonhosted.org/packages/95/d9/40f45c1b09f51b8d603d7ee2520976fbbb19ebca828d9438ffeaf16ea9fc/mytsgraph-1.0.1.tar.gz" } ] }