{ "info": { "author": "Wolfgang Schnerring", "author_email": "wolfgang.schnerring@zeit.de", "bugtrack_url": null, "classifiers": [], "description": "========================================\nPrometheus Bugsnag error events exporter\n========================================\n\nThis package exports metrics about `Bugsnag`_ error events as `Prometheus`_ metrics.\n\n.. _`Bugsnag`: https://bugsnag.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 Bugsnag Data Access API.\nSee the `Bugsnag documentation` for details.\n\n.. `Bugsnag documentation`: https://bugsnagapiv2.docs.apiary.io/#introduction/authentication\n\n\nStart HTTP service\n------------------\n\nStart the HTTP server like this::\n\n $ BUGSNAG_APITOKEN=MYTOKEN bugsnag_exporter --host=127.0.0.1 --port=9642\n\nPass ``--ttl=SECONDS`` to cache Bugsnag 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 pass `--buckets` with a comma-separated list to define the upper bucket bounds that are used to generate the histogram metric.\n\n\nConfigure Prometheus\n--------------------\n\n::\n\n scrape_configs:\n - job_name: 'bugsnag'\n scrape_interval: 1800s\n static_configs:\n - targets: ['localhost:9642']\n\nWe export one metric, a histogram called ``bugsnag_events``,\nwith labels ``{project=\"MyProject\", release_stage=\"production\"}``.\n\nA typical alerting PromQL query might be ``bugsnag_events_bucket{le=\"+Inf\",release_stage=\"production\"} - bugsnag_events_bucket{le=\"1000.0\",release_stage=\"production\"} > 0``\n\nAdditionally, a ``bugsnag_scrape_duration_seconds`` gauge is exported.\n\n\nCHANGES\n=======\n\n\n1.1.0 (2019-10-02)\n------------------\n\n- Use default prometheus histograms with \"le\" buckets\n\n\n1.0.0 (2019-09-09)\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/bugsnag_exporter", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "bugsnag-exporter", "package_url": "https://pypi.org/project/bugsnag-exporter/", "platform": "", "project_url": "https://pypi.org/project/bugsnag-exporter/", "project_urls": { "Homepage": "https://github.com/ZeitOnline/bugsnag_exporter" }, "release_url": "https://pypi.org/project/bugsnag-exporter/1.1.0/", "requires_dist": null, "requires_python": "", "summary": "", "version": "1.1.0" }, "last_serial": 5916979, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "a34ac3a7ecb412ca042a3d0d38943b26", "sha256": "6f265ad167009141c9f88bdf54b04fd3eaa76398dd67e150f61b322c1e205585" }, "downloads": -1, "filename": "bugsnag_exporter-1.0.0.tar.gz", "has_sig": false, "md5_digest": "a34ac3a7ecb412ca042a3d0d38943b26", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5470, "upload_time": "2019-09-09T12:31:44", "url": "https://files.pythonhosted.org/packages/60/31/548564ccd17fde84ae58b29902fc8612062395d1a96d70b7d1ea6190b06f/bugsnag_exporter-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "9210dd16deb5da0c5b8a0e03544095d7", "sha256": "daf0f38cf6fff4d31ea34363886dde9c876e2b2b77f99a997324eeae764362b1" }, "downloads": -1, "filename": "bugsnag_exporter-1.1.0.tar.gz", "has_sig": false, "md5_digest": "9210dd16deb5da0c5b8a0e03544095d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5459, "upload_time": "2019-10-02T09:50:12", "url": "https://files.pythonhosted.org/packages/f2/ae/c6b4876e1677d096bb6bbbc7fddf922b7ddd7bd885c5089c30a193f0a94e/bugsnag_exporter-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9210dd16deb5da0c5b8a0e03544095d7", "sha256": "daf0f38cf6fff4d31ea34363886dde9c876e2b2b77f99a997324eeae764362b1" }, "downloads": -1, "filename": "bugsnag_exporter-1.1.0.tar.gz", "has_sig": false, "md5_digest": "9210dd16deb5da0c5b8a0e03544095d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5459, "upload_time": "2019-10-02T09:50:12", "url": "https://files.pythonhosted.org/packages/f2/ae/c6b4876e1677d096bb6bbbc7fddf922b7ddd7bd885c5089c30a193f0a94e/bugsnag_exporter-1.1.0.tar.gz" } ] }