{ "info": { "author": "Wolfgang Schnerring", "author_email": "wolfgang.schnerring@zeit.de", "bugtrack_url": null, "classifiers": [], "description": "====================================\nPrometheus Jira issue count exporter\n====================================\n\nThis package exports metrics about `Jira`_ issues as `Prometheus`_ metrics.\n\n.. _`Jira`: https://jira.atlassian.com\n.. _`Prometheus`: https://prometheus.io\n\n\nUsage\n=====\n\nConfigure API token\n-------------------\n\nYou'll need to provide an API token to access the Jira REST API.\nCurrently HTTP Basic authentication is used.\nSee the `Jira documentation`_ for details.\n\n.. _`Jira documentation`: https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-basic-authentication/\n\n\nStart HTTP service\n------------------\n\nStart the HTTP server like this::\n\n $ JIRA_URL=https://example.atlassian.net JIRA_USERNAME=test@example.com JIRA_PASSWORD=APITOKEN jira_exporter --host=127.0.0.1 --port=9653\n\nPass ``--ttl=SECONDS`` to cache API results for the given time or -1 to disable (default is 600).\nPrometheus considers metrics stale after 300s, so that's the highest scrape_interval one should use.\nHowever it's usually unnecessary to hit the API that often, since the vulnerability alert information does not change that rapidly.\n\nYou can restrict which projects to look at by passing a comma-separated list of project keys (``FOO``, ``BAR`` etc.) with ``--projects``.\n\n\nConfigure Prometheus\n--------------------\n\n::\n\n scrape_configs:\n - job_name: 'jira'\n scrape_interval: 300s\n static_configs:\n - targets: ['localhost:9653']\n\nWe export one metric, a gauge called ``jira_issues_total``,\nwith labels ``{project=\"PROJ\", status=\"open\"}``.\n\nAdditionally, a ``jira_scrape_duration_seconds`` gauge is exported.\n\n\nCHANGES\n=======\n\n\n1.1.0 (2020-07-31)\n------------------\n\n- Make projects configurable.\n\n\n1.0.1 (2019-10-30)\n------------------\n\n- Use correct listen port.\n\n\n1.0.0 (2019-10-30)\n------------------\n\n- First release.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ZeitOnline/jira_exporter", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "jira-exporter", "package_url": "https://pypi.org/project/jira-exporter/", "platform": "", "project_url": "https://pypi.org/project/jira-exporter/", "project_urls": { "Homepage": "https://github.com/ZeitOnline/jira_exporter" }, "release_url": "https://pypi.org/project/jira-exporter/1.1.0/", "requires_dist": null, "requires_python": "", "summary": "", "version": "1.1.0", "yanked": false, "yanked_reason": null }, "last_serial": 9396921, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "8ce2dd95ec2cf138767d8007c176f71d", "sha256": "26c807ea433df67d48a509d41f521b38d60e8b9b63e1fb959c070fa3bd2659d9" }, "downloads": -1, "filename": "jira_exporter-1.0.0.tar.gz", "has_sig": false, "md5_digest": "8ce2dd95ec2cf138767d8007c176f71d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4959, "upload_time": "2019-10-30T13:17:24", "upload_time_iso_8601": "2019-10-30T13:17:24.816009Z", "url": "https://files.pythonhosted.org/packages/31/1a/d238cb0803aacc11a38f44da59be82ed7fd96bae4b6c1b18c98c5ee8e369/jira_exporter-1.0.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "0ab3a6e293811728d0167fbe9355ff80", "sha256": "dce1cb50bc97e91467df591e79d502b00d3d38df37aea93af197000b7f41a78d" }, "downloads": -1, "filename": "jira_exporter-1.0.1.tar.gz", "has_sig": false, "md5_digest": "0ab3a6e293811728d0167fbe9355ff80", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4986, "upload_time": "2019-10-30T13:21:07", "upload_time_iso_8601": "2019-10-30T13:21:07.583551Z", "url": "https://files.pythonhosted.org/packages/ac/1e/856a3d4ab1d5fe37d507837efbc90ff809bf7cdd9066bea238dfcee3dc6e/jira_exporter-1.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "25e7eb492ce7fcb755311507dce9476a", "sha256": "63aaddfed014596148ad3c53da4c8bfa2aec75da39fbf09828215b7baf5c0865" }, "downloads": -1, "filename": "jira_exporter-1.1.0.tar.gz", "has_sig": false, "md5_digest": "25e7eb492ce7fcb755311507dce9476a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5311, "upload_time": "2020-07-31T09:37:55", "upload_time_iso_8601": "2020-07-31T09:37:55.357601Z", "url": "https://files.pythonhosted.org/packages/ac/7e/32c3afe70948ce9e63ca5ccfe571ec21e103e1e6ca3a6e4b704076b5dd99/jira_exporter-1.1.0.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "25e7eb492ce7fcb755311507dce9476a", "sha256": "63aaddfed014596148ad3c53da4c8bfa2aec75da39fbf09828215b7baf5c0865" }, "downloads": -1, "filename": "jira_exporter-1.1.0.tar.gz", "has_sig": false, "md5_digest": "25e7eb492ce7fcb755311507dce9476a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5311, "upload_time": "2020-07-31T09:37:55", "upload_time_iso_8601": "2020-07-31T09:37:55.357601Z", "url": "https://files.pythonhosted.org/packages/ac/7e/32c3afe70948ce9e63ca5ccfe571ec21e103e1e6ca3a6e4b704076b5dd99/jira_exporter-1.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }