{ "info": { "author": "Ivan Porto Carrero", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Topic :: System :: Monitoring" ], "description": "# OpenTracing Prometheus\n\nAn integration for opentracing and prometheus.\nIt exposes the same metrics as jaeger and prometheus for golang.\n\nThis package contains a PrometheusReporter and PrometheusMetricsFactory\n\nThe reporter is used to report on metrics based on span contents\nThe factory is used to report on metrics from jaeger itself.\n\nThere is also a wsgi middleware that combines all the options.\n\n## Middleware\n\n```python\nfrom flask import Flask, make_response\nfrom opentracing_prometheus import TracerMiddleware\n\nimport logging\nimport sys\n\napp = Flask('prometheus-tracing')\n\nlogging.basicConfig(stream=sys.stderr)\nlog_level = logging.DEBUG\nlogging.getLogger('').handlers = []\nlogging.basicConfig(format='%(asctime)s %(message)s', level=log_level)\n\napp.wsgi_app = TracerMiddleware(app)\nlog = logging.getLogger()\n\n@app.route('/')\ndef fetch_hello_world():\n resp = make_response('Hello, World!')\n resp.headers['Content-Type'] = 'text/plain'\n return resp\n\nif __name__ == '__main__':\n app.run(host='0.0.0.0', port=5000)\n\n```\n\nYou can then make a few requests to localhost:5000 and check the metrics at: http://localhost:5000/metrics\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/casualjim/python-opentracing-prometheus", "keywords": "opentracing jaeger prometheus", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "opentracing-prometheus", "package_url": "https://pypi.org/project/opentracing-prometheus/", "platform": "any", "project_url": "https://pypi.org/project/opentracing-prometheus/", "project_urls": { "Homepage": "https://github.com/casualjim/python-opentracing-prometheus" }, "release_url": "https://pypi.org/project/opentracing-prometheus/0.1.5/", "requires_dist": [ "opentracing-instrumentation", "jaeger-client", "prometheus-client" ], "requires_python": "", "summary": "OpenTracing Jaeger and Prometheus integration", "version": "0.1.5" }, "last_serial": 3646398, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "18db4ed2554cada8d4fc26637353fa67", "sha256": "507397f3508dbf9b51a189b8e11aa69da5c687095a3b5b3a029b6b6a62533de3" }, "downloads": -1, "filename": "opentracing_prometheus-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "18db4ed2554cada8d4fc26637353fa67", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5936, "upload_time": "2018-03-05T03:13:09", "url": "https://files.pythonhosted.org/packages/5e/58/004388ae8ea01966c71ea78c96633bc9cc0f0aa4b90cae9428de7ffa7faf/opentracing_prometheus-0.1.0-py2.py3-none-any.whl" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "dbc913c5e74118785b85938085a37801", "sha256": "b62d627336648cf01d7cb77ee9980ea8b07b33777aecb76a3dde0fedcfd20cfb" }, "downloads": -1, "filename": "opentracing_prometheus-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dbc913c5e74118785b85938085a37801", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6969, "upload_time": "2018-03-05T03:24:15", "url": "https://files.pythonhosted.org/packages/0f/5a/20665f2f9a4974a5053051798ada194f1df92988d4380f8149659c91fd62/opentracing_prometheus-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bc85383e1b9638a03255b3b5202a4419", "sha256": "f07b42cbef57b8cdc6e992124a0c7c7ef39c94968991de39d29062b305557b4e" }, "downloads": -1, "filename": "opentracing_prometheus-0.1.1.tar.gz", "has_sig": false, "md5_digest": "bc85383e1b9638a03255b3b5202a4419", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4487, "upload_time": "2018-03-05T03:24:16", "url": "https://files.pythonhosted.org/packages/09/8f/77d07b9160edd3aa1ac3654b8be3c35bbafc5042f378e74eca10cb1fb880/opentracing_prometheus-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "3b531960a7f4ce9311bc11dba72c194a", "sha256": "712765933b3c537284986df16d2586c39542c8b7425d4d8fdecdf6690631cb4a" }, "downloads": -1, "filename": "opentracing_prometheus-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3b531960a7f4ce9311bc11dba72c194a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7017, "upload_time": "2018-03-07T03:03:00", "url": "https://files.pythonhosted.org/packages/73/77/00f686f1a4cddcc69815b80d47cf5291841c1c428532b429ce8abbee0928/opentracing_prometheus-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bbfd6e0e697dff9e45f7d634cd958493", "sha256": "28fd8ebed1235b9cd6a193c3fe0cc3d492796510e3a7d1ebc59edd02df0d7ae0" }, "downloads": -1, "filename": "opentracing_prometheus-0.1.2.tar.gz", "has_sig": false, "md5_digest": "bbfd6e0e697dff9e45f7d634cd958493", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4557, "upload_time": "2018-03-07T03:03:01", "url": "https://files.pythonhosted.org/packages/46/79/d0b209dbf2847e2053cd41e137e44efb1c1920000e58dc8308b83346fa37/opentracing_prometheus-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "111a893ae5314ab70c89e2628bc5642b", "sha256": "e068fe31d16dd15c810ef9a3e9b3ca0494f6ad48111c14cb7673e421317c96ec" }, "downloads": -1, "filename": "opentracing_prometheus-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "111a893ae5314ab70c89e2628bc5642b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7044, "upload_time": "2018-03-07T03:07:39", "url": "https://files.pythonhosted.org/packages/c6/e4/e529ec2a39444936df6893c2643a404239387d4ff650b18bae67f23f9dd5/opentracing_prometheus-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ccf0d90ccadc7b61370ae4b07e58c7b6", "sha256": "f7ee0cf98583ad4f2d06610e314c102c2b2a85dedc88d144567cb9085543232d" }, "downloads": -1, "filename": "opentracing_prometheus-0.1.3.tar.gz", "has_sig": false, "md5_digest": "ccf0d90ccadc7b61370ae4b07e58c7b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4568, "upload_time": "2018-03-07T03:07:42", "url": "https://files.pythonhosted.org/packages/b1/82/0b9215bafd55c8e00a40bb9ae685229df9df33c6f9df6233c6bafd96c74e/opentracing_prometheus-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "4d962a7ce832fafb5d277af9d9cae844", "sha256": "ef5f6846914cdd3f8d8455bc6d6e3921c1cae0d5e2456a239374d8c5c4fb5852" }, "downloads": -1, "filename": "opentracing_prometheus-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4d962a7ce832fafb5d277af9d9cae844", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7081, "upload_time": "2018-03-07T03:19:58", "url": "https://files.pythonhosted.org/packages/fe/7a/15e8a1492cdfa0ecbc049fef70bf2047a6887d66bdd37ae0529c4cab1807/opentracing_prometheus-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ebbda95d70af74fde7c334db8c062375", "sha256": "ece14de1bf4c06894656072e4faf09aa1a917d7813fee52b3df15bf5b9b5753a" }, "downloads": -1, "filename": "opentracing_prometheus-0.1.4.tar.gz", "has_sig": false, "md5_digest": "ebbda95d70af74fde7c334db8c062375", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4606, "upload_time": "2018-03-07T03:20:00", "url": "https://files.pythonhosted.org/packages/0e/7f/edcf825943bb40cc3a34493480965ff1fc110d0eaeeee593cb43a99f7447/opentracing_prometheus-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "48be675f4118e5c40580b59b323845bd", "sha256": "62dc7631969dbbf3f8571e7e71284a6b9fbebf85cf66f96ccc1896bc067ccc8e" }, "downloads": -1, "filename": "opentracing_prometheus-0.1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "48be675f4118e5c40580b59b323845bd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7026, "upload_time": "2018-03-07T03:46:42", "url": "https://files.pythonhosted.org/packages/d5/f0/772e619fb4f67faa0c583f1a24dfbea1c08dd9e1207dba5f03b8f87193a2/opentracing_prometheus-0.1.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4a68c6a22ac6fd19bf2f8855299511f7", "sha256": "80b581b2a4aa53bc05ec957cfe74afcce99bb8a81b76f6a35268364bf1ace517" }, "downloads": -1, "filename": "opentracing_prometheus-0.1.5.tar.gz", "has_sig": false, "md5_digest": "4a68c6a22ac6fd19bf2f8855299511f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4548, "upload_time": "2018-03-07T03:46:43", "url": "https://files.pythonhosted.org/packages/65/d2/c68fc19fdbc53864aad8db4a50e524d3ad028fe62c5fcb011d64efe39f8e/opentracing_prometheus-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "48be675f4118e5c40580b59b323845bd", "sha256": "62dc7631969dbbf3f8571e7e71284a6b9fbebf85cf66f96ccc1896bc067ccc8e" }, "downloads": -1, "filename": "opentracing_prometheus-0.1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "48be675f4118e5c40580b59b323845bd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7026, "upload_time": "2018-03-07T03:46:42", "url": "https://files.pythonhosted.org/packages/d5/f0/772e619fb4f67faa0c583f1a24dfbea1c08dd9e1207dba5f03b8f87193a2/opentracing_prometheus-0.1.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4a68c6a22ac6fd19bf2f8855299511f7", "sha256": "80b581b2a4aa53bc05ec957cfe74afcce99bb8a81b76f6a35268364bf1ace517" }, "downloads": -1, "filename": "opentracing_prometheus-0.1.5.tar.gz", "has_sig": false, "md5_digest": "4a68c6a22ac6fd19bf2f8855299511f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4548, "upload_time": "2018-03-07T03:46:43", "url": "https://files.pythonhosted.org/packages/65/d2/c68fc19fdbc53864aad8db4a50e524d3ad028fe62c5fcb011d64efe39f8e/opentracing_prometheus-0.1.5.tar.gz" } ] }