{ "info": { "author": "OpenStack", "author_email": "openstack-discuss@lists.openstack.org", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Environment :: OpenStack", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "Ironic Prometheus Exporter\n==========================\n\nOverview\n--------\nTool to expose hardware sensor data in the `Prometheus `_ format through an HTTP endpoint.\n\nThe hardware sensor data come from bare metal machines deployed\nusing `OpenStack Bare Metal Service (ironic) `_.\n\n* License: Apache License, Version 2.0\n* Documentation: https://docs.openstack.org/ironic-prometheus-exporter/\n* Source: https://opendev.org/openstack/ironic-prometheus-exporter\n* Bugs: https://storyboard.openstack.org/#!/project/openstack/ironic-prometheus-exporter\n\n\nInstallation\n------------\n\n1 - Install ironic-prometheus-exporter\n::\n\n $ pip install --user ironic-prometheus-exporter\n\n2- Verify if the driver is installed\n::\n\n $ pip install entry_point_inspector --user \n $ epi group show oslo.messaging.notify.drivers\n\n\n- Output in case of a successful instalation: `prometheus_exporter` is listed in the `Name` column and the `Error` column should be empty.\n- Output in case of an unsuccessful instalation: `prometheus_exporter` is listed in the `Name` column and the `Error` column will have more information.\n\n\nConfiguration\n-------------\n\nAfter install the driver you will need to update the `ironic.conf` and add the following information:\n\n::\n\n [conductor]\n send_sensor_data=true\n\n [oslo_messaging_notifications]\n driver = prometheus_exporter\n transport_url = fake://\n location=/tmp/ironic_prometheus_exporter\n\n\n\nRunning exporter application\n----------------------------\n\nThe Flask Application is responsible to merge all the metrics files present in the directory\nset in `[oslo_messaging_notifications]/location`.\n\n.. note:: If you want to deploy in production please check the Flask `documentation `_\n\nTo run the Flask Application follow the steps listed below:\n1 - open the repository directory\n::\n\n $ cd ironic-prometheus-exporter/\n\n2- set the `FLASK_*` environment variables and the location of the `ironic.conf` file.\n::\n\n $ export IRONIC_CONFIG=/etc/ironic/ironic.conf\n $ export FLASK_APP=ironic_prometheus_exporter/app/exporter.py\n $ export FLASK_RUN_HOST=$HOST_IP\n $ export FLASK_RUN_PORT=5000\n\n3- run the Flask Application\n::\n\n$ python -m flask run &\n\n\n**Running under uWSGI**\n\nReproduce the Steps 1 and 2 (You don't need to set `FLASK_APP` variable) and run the command below:\n::\n\n$ uwsgi --plugin python --http-socket ${FLASK_RUN_HOST}:${FLASK_RUN_PORT} --module ironic_prometheus_exporter.app.wsgi:application\n\n\nContributing\n------------\n\n* Pull requests: `Gerrit\n `_\n (see `developer's guide\n `_)\n* Bugs and RFEs: `StoryBoard\n `_\n (please do NOT report bugs to Github)\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://opendev.org/openstack/ironic-prometheus-exporter", "keywords": "", "license": "Apache-2", "maintainer": "", "maintainer_email": "", "name": "ironic-prometheus-exporter", "package_url": "https://pypi.org/project/ironic-prometheus-exporter/", "platform": "", "project_url": "https://pypi.org/project/ironic-prometheus-exporter/", "project_urls": { "Homepage": "https://opendev.org/openstack/ironic-prometheus-exporter" }, "release_url": "https://pypi.org/project/ironic-prometheus-exporter/1.1.0/", "requires_dist": [ "pbr (!=2.1.0,>=2.0.0)", "stevedore (>=1.20.0)", "oslo.messaging (>=9.4.0)", "Flask (>=1.0.0)", "prometheus-client (>=0.6.0)" ], "requires_python": "", "summary": "Prometheus Exporter for Ironic Hardware Sensor data", "version": "1.1.0" }, "last_serial": 5885082, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7e2f09a214df683d601860226291f0e1", "sha256": "e8baeee2bb586859e91e133dddf44d2ea3bc513c0e50a5b8fb74d273752e1731" }, "downloads": -1, "filename": "ironic_prometheus_exporter-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7e2f09a214df683d601860226291f0e1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 28418, "upload_time": "2019-07-22T21:08:22", "url": "https://files.pythonhosted.org/packages/19/6c/6a6a8a80d15a6010fb96f3cf04c21b05403a5d5331b4c38dd6bcf9ca1de6/ironic_prometheus_exporter-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8b2e0b8f501cdccdbe8366c7fd27289c", "sha256": "d7c8947a70ff12ed5604baf95f285fe57663e84f43e7f1cb40dcbb81f92538f0" }, "downloads": -1, "filename": "ironic-prometheus-exporter-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8b2e0b8f501cdccdbe8366c7fd27289c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27308, "upload_time": "2019-07-22T21:08:26", "url": "https://files.pythonhosted.org/packages/b7/82/e144b328c3f676787937856c206148defeac7696cacc27a978423ed334b4/ironic-prometheus-exporter-0.1.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "04ef617a7158a6990ff2a85233a6987f", "sha256": "2290b54c7bd9a78089e0a7f452aa0e0111213547725c842d51db6c24595290cb" }, "downloads": -1, "filename": "ironic_prometheus_exporter-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "04ef617a7158a6990ff2a85233a6987f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 42382, "upload_time": "2019-09-25T09:15:02", "url": "https://files.pythonhosted.org/packages/4a/e7/ef74a12a49966e0cf413a24b90708c7986bcaf20f07bbebe41f781b8326b/ironic_prometheus_exporter-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2745fda276cd1ea5c12dfa75033d7f98", "sha256": "23d71cc613beb032dd1e6563da6e346e5e935923c3ab410b231251e2041d0ed8" }, "downloads": -1, "filename": "ironic_prometheus_exporter-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "2745fda276cd1ea5c12dfa75033d7f98", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13851, "upload_time": "2019-06-13T14:51:33", "url": "https://files.pythonhosted.org/packages/21/b5/0641335358c52b85d5cdf7b4d05976f56c5ef1cc0242ee1f0d025a8089f1/ironic_prometheus_exporter-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2e6d596509da09b6c5063821b8869e9c", "sha256": "dc68c3fe2eb9ea57d01dfc6fcc5e24096ba4a212c1d267ccf268619d55dda460" }, "downloads": -1, "filename": "ironic_prometheus_exporter-1.0.0.tar.gz", "has_sig": false, "md5_digest": "2e6d596509da09b6c5063821b8869e9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7479, "upload_time": "2019-06-13T14:51:36", "url": "https://files.pythonhosted.org/packages/2d/ee/1cd90cfb739a44faac09c3af8082cda1a1cd14f95d19a40ab12e51076103/ironic_prometheus_exporter-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "107fc412e2e1113418eaee3c751e0d62", "sha256": "b4c3c669115973ad46c28b0b19156a791f491e0d3bbab8933231aa4b6fa09197" }, "downloads": -1, "filename": "ironic_prometheus_exporter-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "107fc412e2e1113418eaee3c751e0d62", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 42383, "upload_time": "2019-09-25T12:42:30", "url": "https://files.pythonhosted.org/packages/44/13/15b211f0d0ead9b1f8d2aea90cd28b3bbec1b839fbbe248da855780cfefd/ironic_prometheus_exporter-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "55aafe813c53d67f030d9a143cde2b17", "sha256": "18b5a8185b6c90be849e5757f88c8cd25dbb461c447d74bda09423a24ffb65a4" }, "downloads": -1, "filename": "ironic-prometheus-exporter-1.1.0.tar.gz", "has_sig": false, "md5_digest": "55aafe813c53d67f030d9a143cde2b17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39401, "upload_time": "2019-09-25T12:42:34", "url": "https://files.pythonhosted.org/packages/88/78/7d216b8013f801ba3b7ee2e2cce5099c394995a0c4365a61d156588c6270/ironic-prometheus-exporter-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "107fc412e2e1113418eaee3c751e0d62", "sha256": "b4c3c669115973ad46c28b0b19156a791f491e0d3bbab8933231aa4b6fa09197" }, "downloads": -1, "filename": "ironic_prometheus_exporter-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "107fc412e2e1113418eaee3c751e0d62", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 42383, "upload_time": "2019-09-25T12:42:30", "url": "https://files.pythonhosted.org/packages/44/13/15b211f0d0ead9b1f8d2aea90cd28b3bbec1b839fbbe248da855780cfefd/ironic_prometheus_exporter-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "55aafe813c53d67f030d9a143cde2b17", "sha256": "18b5a8185b6c90be849e5757f88c8cd25dbb461c447d74bda09423a24ffb65a4" }, "downloads": -1, "filename": "ironic-prometheus-exporter-1.1.0.tar.gz", "has_sig": false, "md5_digest": "55aafe813c53d67f030d9a143cde2b17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39401, "upload_time": "2019-09-25T12:42:34", "url": "https://files.pythonhosted.org/packages/88/78/7d216b8013f801ba3b7ee2e2cce5099c394995a0c4365a61d156588c6270/ironic-prometheus-exporter-1.1.0.tar.gz" } ] }