{ "info": { "author": "Torsten Rehn", "author_email": "torsten@rehn.email", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Flask", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Database :: Front-Ends", "Topic :: Internet :: Log Analysis", "Topic :: System :: Monitoring", "Topic :: System :: Networking :: Monitoring" ], "description": "grafilter\n=========\n\nDashboards like [Grafana](http://grafana.org) are awesome, but sometimes they make it hard to look at all the metrics, without first spending time to configure a dashboard. Grafilter is meant to provide lightweight and easy access to your metrics. You can still customize visuals of course, but in a way that let's you store these customizations in a versioned config management system such as [Ansible](http://www.ansible.com), [BundleWrap](http://bundlewrap.org) or [Chef](https://www.chef.io/chef/) as opposed to a database like Grafana 2 does.\n\nGrafilter supports InfluxDB 0.9.0 and onwards.\n\n![PyPI downloads](http://img.shields.io/pypi/dm/grafilter.svg)   ![PyPI version](http://img.shields.io/pypi/v/grafilter.svg)   ![Python 3.x](http://img.shields.io/badge/Python-3.4-green.svg)   ![License](http://img.shields.io/badge/License-GPLv3-red.svg)\n\nInstall\n-------\n\n```\napt-get install python3-pip\npip3 install grafilter\n```\n\nConfigure\n---------\n\nCreate a file with these contents anywhere:\n\n```python\nCACHE_TIMEOUT = 300\nCONFIG_DIR = \"/var/lib/grafilter\"\nDEBUG = False\nIGNORED_TAGS = [\"_key\"]\nINFLUXDB_DB = \"metrics\"\nINFLUXDB_URL = \"http://user:pass@influxdb.example.com:8086\"\n```\n\nNote that `INFLUXDB_URL` points to the HTTP API port of InfluxDB.\n\nRun\n---\n\n```sh\nGRAFILTER_SETTINGS=/path/to/grafilter.cfg grafilter\n```\n\nCustomize\n---------\n\nYou can customize the appearance of your individual metrics by placing files in the `metrics` subdirectory of your `CONFIG_DIR`. These files must have a `.json` extension and look like this:\n\n```json\n{\n\t\"pattern\": \"^load/\",\n\t\"transform\": \"lambda x: math.floor(x)\",\n\t\"type\": \"area\"\n}\n```\n\nNote that `pattern` is a regular expression that has to match the name of the metrics you want to customize. The name is formatted like this: `measurement/tag1:value1/tag2:value2`. Each metric will only be styled according to the first file with a matching `pattern`. All other options listed here are optional.\n\nOption | Explanation\n-------|------------\n`max` | force highest value on y axis (int or float)\n`merge` | a Python expression describing a function that takes two numeric values and the time interval between them and returns one numeric value. It can be used to calculate the difference between two sequential datapoints and use the result in your graph (useful for ever increasing counters, e.g. `lambda x, y, t: (y - x) / t`). You have access to the [math module from the Python standard library](https://docs.python.org/3/library/math.html). Applied before `transform`.\n`min` | force lowest value on y axis (int or float)\n`short_name` | a cosmetic name for this metric, e.g. \"Load Average\"\n`stack` | set this to `true` if you want to stack values when selecting multiple metrics\n`transform` | a Python expression describing a function that takes a numeric value and returns another. It can be used to perform conversions and other math on your metrics. You have access to the [math module from the Python standard library](https://docs.python.org/3/library/math.html). Applied after `merge`.\n`type` | chart type: `area`, `area-spline`, `area-step`, `line`, `spline` or `step` (defaults to `line`)\n`unit_format` | a [d3 format specifier](https://github.com/mbostock/d3/wiki/Formatting#d3_format) for your y axis (e.g. \"s\" to turn \"1000\" into \"1K\" and \"1000000\" into \"1M\")\n`unit` | any string you want to be displayed next to your y axis\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/trehn/grafilter", "keywords": "graph,influxdb,metrics", "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "grafilter", "package_url": "https://pypi.org/project/grafilter/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/grafilter/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/trehn/grafilter" }, "release_url": "https://pypi.org/project/grafilter/0.4.0/", "requires_dist": null, "requires_python": null, "summary": "Helps you explore and graph all your metrics as a supplement to dashboard solutions like Grafana", "version": "0.4.0" }, "last_serial": 1617952, "releases": { "0.0.0": [], "0.1.0": [ { "comment_text": "", "digests": { "md5": "a6178efa169fbdecab5b2ae95ba1ea04", "sha256": "36aac7f8a277ec5bab0f612675a4a93edb8ddaefe55f358ebd1e96ce766d6597" }, "downloads": -1, "filename": "grafilter-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a6178efa169fbdecab5b2ae95ba1ea04", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 10726, "upload_time": "2015-05-19T23:00:28", "url": "https://files.pythonhosted.org/packages/ca/90/94b8c39dfcd60197a008a8a74ebd98ef6c3f73290de7f00d93706d26851e/grafilter-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "59989c949eb89ac6cdb93d8ba5dddd2e", "sha256": "532831786ae7a5cd86a9c799d73aafa33b920b934b256152fd6ef354ae26cdb7" }, "downloads": -1, "filename": "grafilter-0.1.0.tar.gz", "has_sig": false, "md5_digest": "59989c949eb89ac6cdb93d8ba5dddd2e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21312, "upload_time": "2015-05-19T23:00:23", "url": "https://files.pythonhosted.org/packages/cf/f8/ba83cee101fd7a3ee7c42f5c655164fc5cae7ba24956c78f58b9c762a70a/grafilter-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "0ff6bdf12235804f14d7165dee41253a", "sha256": "ac056af35c712f77e181fd9cf85cf1d1eb40eb276b25889d960f0185fbb5c362" }, "downloads": -1, "filename": "grafilter-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "0ff6bdf12235804f14d7165dee41253a", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 12181, "upload_time": "2015-05-31T16:02:01", "url": "https://files.pythonhosted.org/packages/16/dc/c7b5c63905f6a95666166be1e48d958203afe848c6693a199565b43f8402/grafilter-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "90b5c5de47bbb9ed9dc8cdc13c87dded", "sha256": "853cc5862418e587a6c339158e410bffd4eedfa0f6df2798ea9cc81530e1220a" }, "downloads": -1, "filename": "grafilter-0.2.0.tar.gz", "has_sig": false, "md5_digest": "90b5c5de47bbb9ed9dc8cdc13c87dded", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22670, "upload_time": "2015-05-31T16:01:57", "url": "https://files.pythonhosted.org/packages/b4/63/f672d54755c3bbe8b35ab212644740742fc29dd9ab6d8bb0eb7f48f58bed/grafilter-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "252da3abbd3e0c57207ed2153c6f0714", "sha256": "d39bf8badfb7869a350b72b7990ec0449cbb5722d84d456a4f39bc9a32d8f694" }, "downloads": -1, "filename": "grafilter-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "252da3abbd3e0c57207ed2153c6f0714", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 12302, "upload_time": "2015-05-31T17:27:35", "url": "https://files.pythonhosted.org/packages/24/23/41c4d3e5d0926c6d2ffbfde76119c4484cceda30dc9dc091b245e8d0a541/grafilter-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "304a778825b09b852a422ce889c2a9a0", "sha256": "0b19ff54dde11d90031ac68030e31cf7fce991fe9a7796bba8823ccf281a7749" }, "downloads": -1, "filename": "grafilter-0.2.1.tar.gz", "has_sig": false, "md5_digest": "304a778825b09b852a422ce889c2a9a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22797, "upload_time": "2015-05-31T17:27:30", "url": "https://files.pythonhosted.org/packages/4f/48/e916ba6db12b4940654ffb951ecf126c71aeb50a8a42239ecf5cc6d8c06e/grafilter-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "22064bf07862f3d9b63bbb41f8592ad3", "sha256": "bcbf7449ebb386321d8c62b8d76128c465d01c1485957bc49fbb88620215e646" }, "downloads": -1, "filename": "grafilter-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "22064bf07862f3d9b63bbb41f8592ad3", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 12410, "upload_time": "2015-07-03T10:54:05", "url": "https://files.pythonhosted.org/packages/7a/35/286bdef33bf740809cb33606103423efe02d92b91e3662b81bc8b1282315/grafilter-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6829f995715209edf965bd9ef0f4dac4", "sha256": "d91a5afcb1827acc52ec92080821b7fbceb82dfc654870873343c4f6a10628ce" }, "downloads": -1, "filename": "grafilter-0.3.0.tar.gz", "has_sig": false, "md5_digest": "6829f995715209edf965bd9ef0f4dac4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23276, "upload_time": "2015-07-03T10:54:01", "url": "https://files.pythonhosted.org/packages/60/65/56d5459c8a27af75a788289c4e1fc129dd30f3eaa3587627ea0d8ebb58be/grafilter-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "89e3eacaf186249acb4a20cd2cf21ac4", "sha256": "4dc9b048cff435c98d145a611ab3418b1d5ec303f338652c5b847b2e229226dc" }, "downloads": -1, "filename": "grafilter-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "89e3eacaf186249acb4a20cd2cf21ac4", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 12411, "upload_time": "2015-07-03T11:03:15", "url": "https://files.pythonhosted.org/packages/9e/d1/b658d4f58a69f97f906193e695620e50c1265753718ce71b417eaccf1756/grafilter-0.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "401d160c6c20b936d7a44221d93ec975", "sha256": "3e32b08c237790b8d7d8edacf3b4d8f2e329734a09fd8078b257a04771f564c3" }, "downloads": -1, "filename": "grafilter-0.3.1.tar.gz", "has_sig": false, "md5_digest": "401d160c6c20b936d7a44221d93ec975", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23262, "upload_time": "2015-07-03T11:03:11", "url": "https://files.pythonhosted.org/packages/a6/9c/0151dd5dd05ba6267ce46d61509e06e4bb312f17043f4ef0874bad0a6b22/grafilter-0.3.1.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "704d0c56dcb2d71538ba8d1c318ea135", "sha256": "36533c1756d8c252c54936e97c49ec95a28af6ca71569a02555cea01078d1cc9" }, "downloads": -1, "filename": "grafilter-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "704d0c56dcb2d71538ba8d1c318ea135", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 12534, "upload_time": "2015-07-03T11:39:49", "url": "https://files.pythonhosted.org/packages/6d/96/7d7f6e9c0575eb2b0b75e5cc73f68619d02f6d8ac080eddef124c1634b6d/grafilter-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e7933ef27e1c9f93381ee9d36fbae88f", "sha256": "935eac6159b6ecdd3385a26085151bb287086278f3f57aaf5e93be67275ebc6b" }, "downloads": -1, "filename": "grafilter-0.4.0.tar.gz", "has_sig": false, "md5_digest": "e7933ef27e1c9f93381ee9d36fbae88f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23438, "upload_time": "2015-07-03T11:39:46", "url": "https://files.pythonhosted.org/packages/da/b1/d8c94371701b768ad8734da31efa9a4bd6870406e968f3e47f634fe797bd/grafilter-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "704d0c56dcb2d71538ba8d1c318ea135", "sha256": "36533c1756d8c252c54936e97c49ec95a28af6ca71569a02555cea01078d1cc9" }, "downloads": -1, "filename": "grafilter-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "704d0c56dcb2d71538ba8d1c318ea135", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 12534, "upload_time": "2015-07-03T11:39:49", "url": "https://files.pythonhosted.org/packages/6d/96/7d7f6e9c0575eb2b0b75e5cc73f68619d02f6d8ac080eddef124c1634b6d/grafilter-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e7933ef27e1c9f93381ee9d36fbae88f", "sha256": "935eac6159b6ecdd3385a26085151bb287086278f3f57aaf5e93be67275ebc6b" }, "downloads": -1, "filename": "grafilter-0.4.0.tar.gz", "has_sig": false, "md5_digest": "e7933ef27e1c9f93381ee9d36fbae88f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23438, "upload_time": "2015-07-03T11:39:46", "url": "https://files.pythonhosted.org/packages/da/b1/d8c94371701b768ad8734da31efa9a4bd6870406e968f3e47f634fe797bd/grafilter-0.4.0.tar.gz" } ] }