{ "info": { "author": "OpenCensus Authors", "author_email": "census-developers@googlegroups.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "OpenCensus Prometheus Exporter\n============================================================================\n\n|pypi|\n\n.. |pypi| image:: https://badge.fury.io/py/opencensus-ext-prometheus.svg\n :target: https://pypi.org/project/opencensus-ext-prometheus/\n\nInstallation\n------------\n\n::\n\n pip install opencensus-ext-prometheus\n\nUsage\n-----\n\nThe OpenCensus `Prometheus`_ Stats Exporter allows users\nto export metrics to Prometheus monitoring solution.\nThe API of this project is still evolving.\nThe use of vendoring or a dependency management tool is recommended.\n\n.. _Prometheus: https://prometheus.io/\n\nPrometheus Exporter Usage\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nPrometheus Import\n********************\n\n .. code:: python\n\n from opencensus.ext.prometheus import stats_exporter as prometheus\n from opencensus.stats import stats as stats_module\n\nPrometheus Prerequisites\n***************************\n\n- OpenCensus Python libraries require Python 2.7 or later.\n- Prometheus up and running.\n\nRegister the Prometheus exporter\n***********************************\n\n .. code:: python\n\n stats = stats_module.stats\n view_manager = stats.view_manager\n\n exporter = prometheus.new_stats_exporter(prometheus.Options(namespace=\"\"))\n view_manager.register_exporter(exporter)\n ...\n\n\nPrometheus Code Reference\n***************************\n\nIn the *examples* folder, you can find all the necessary steps to get the exporter, register a view, put tags on the measure, and see the values against the Prometheus monitoring tool.\n\nFor further details for the Prometheus implementation, see the folder *prometheus/stats_exporter*.\n\n\n+-------------------------------------------------------------------------------+-------------------------------------+\n| Path & File | Short Description |\n+===============================================================================+=====================================+\n| contrib/opencensus-ext-prometheus/examples/ | End to end example |\n+-------------------------------------------------------------------------------+-------------------------------------+\n| contrib/opencensus-ext-prometheus/opencensus/ext/prometheus/stats_exporter/ | Stats implementation for Prometheus |\n+-------------------------------------------------------------------------------+-------------------------------------+\n\nReferences\n----------\n\n* `OpenCensus Project `_\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-prometheus", "keywords": "", "license": "Apache-2.0", "maintainer": "", "maintainer_email": "", "name": "opencensus-ext-prometheus", "package_url": "https://pypi.org/project/opencensus-ext-prometheus/", "platform": "", "project_url": "https://pypi.org/project/opencensus-ext-prometheus/", "project_urls": { "Homepage": "https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-prometheus" }, "release_url": "https://pypi.org/project/opencensus-ext-prometheus/0.2.1/", "requires_dist": [ "opencensus (<1.0.0,>=0.5.0)", "prometheus-client (<1.0.0,>=0.5.0)" ], "requires_python": "", "summary": "OpenCensus Prometheus Exporter", "version": "0.2.1" }, "last_serial": 5640789, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "62e9999156aeab4bef55eeca7cd51c16", "sha256": "366d222179aa16e28cc89e1292b28ff5008d1a71ead2d3ffe2ed7c9ed046d5af" }, "downloads": -1, "filename": "opencensus_ext_prometheus-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "62e9999156aeab4bef55eeca7cd51c16", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6754, "upload_time": "2019-03-23T00:52:39", "url": "https://files.pythonhosted.org/packages/30/9e/c83695bbb65bc3a6f8583551b0db48485d92a76612942fd399a1bac7bca3/opencensus_ext_prometheus-0.1.0-py2.py3-none-any.whl" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "3c33572f9ffb5dbad3a6f01d2017822f", "sha256": "829e17778126bfb62001a6ea5b9f299c74a30badad416ae3173de498843868d6" }, "downloads": -1, "filename": "opencensus_ext_prometheus-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3c33572f9ffb5dbad3a6f01d2017822f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6798, "upload_time": "2019-04-09T01:54:46", "url": "https://files.pythonhosted.org/packages/38/e1/c7a3f277453f215ab931414a2ab82b790c32773c59e6f644114e38d40fb6/opencensus_ext_prometheus-0.2.0-py2.py3-none-any.whl" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "44d12c5bf72e9f73ca7f8ad84cf4c929", "sha256": "4521d6061ee2fe10e9bb186eedb26bf15f9270c6ae7e7673887c64d8c4c47255" }, "downloads": -1, "filename": "opencensus_ext_prometheus-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "44d12c5bf72e9f73ca7f8ad84cf4c929", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6823, "upload_time": "2019-04-24T20:42:11", "url": "https://files.pythonhosted.org/packages/84/4a/7e37d161786021e83fc9dc48d296344c3568b9e0655925c85a983d8666cd/opencensus_ext_prometheus-0.2.1-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "44d12c5bf72e9f73ca7f8ad84cf4c929", "sha256": "4521d6061ee2fe10e9bb186eedb26bf15f9270c6ae7e7673887c64d8c4c47255" }, "downloads": -1, "filename": "opencensus_ext_prometheus-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "44d12c5bf72e9f73ca7f8ad84cf4c929", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6823, "upload_time": "2019-04-24T20:42:11", "url": "https://files.pythonhosted.org/packages/84/4a/7e37d161786021e83fc9dc48d296344c3568b9e0655925c85a983d8666cd/opencensus_ext_prometheus-0.2.1-py2.py3-none-any.whl" } ] }