{ "info": { "author": "Saul Shanabrook", "author_email": "", "bugtrack_url": null, "classifiers": [ "Framework :: Jupyter", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8" ], "description": "# jupyter-jaeger
![PyPI](https://img.shields.io/pypi/v/jupyter_jaeger?style=flat-square) ![npm](https://img.shields.io/npm/v/jupyter-jaeger?style=flat-square) ![Github Actions Status](https://github.com/Quansight/jupyter-jaeger/workflows/Build/badge.svg)\n\n\nThis adds support for using the [Jaeger](https://www.jaegertracing.io/) distributed tracing tool with Jupyter. It facilitates the use case of tracking some process\nthat starts in a kernel and is continued in a mime renderer.\n\nWe are using it to profile and debug [`ibis-vega-transform`](https://github.com/Quansight/ibis-vega-transform) which goes back and forth between the kernel and the frontend to interactively render charts with Altair.\n\nInstalling this adds two Jupyter server extensions that start up the `jaeger-all-in-one` and `jaeger-browser` processes when you launch Jupyter.\nSo to use it you must first instrument code in your kernel and/or in the frontend to record traces.\n\nIt also provis a NPM Typescript plugin you can use to access the client from inside a JupyterLab extension.\n\n\n## Requirements\n\n* JupyterLab >= 3.0\n\n\n\n## Usage\n\n```bash\n# Install jaeger-all-in-one binary\nconda install -c conda-forge jaeger\n\n# Install this package\npip install jupyter-jaeger\n\n# Optional, to see Jaeger icon in JupyterLab launcherr\njupyter labextension install jupyterlab-server-proxy-saulshanabrook\n\n# Launch a Jupyter server\njupyter lab\n\n# Open the jaeger UI\nopen http://localhost:8080/jaeger\n```\n\n## Install\n\n```bash\npip install jupyter-jaeger\n```\n\n\n## Contributing\n\n### Development install\n\nNote: You will need NodeJS to build the extension package.\n\nThe `jlpm` command is JupyterLab's pinned version of\n[yarn](https://yarnpkg.com/) that is installed with JupyterLab. You may use\n`yarn` or `npm` in lieu of `jlpm` below.\n\n```bash\n# Clone the repo to your local environment\n# Change directory to the jupyter-jaeger directory\n# Install package in development mode\npip install -e .\n# Link your development version of the extension with JupyterLab\njupyter labextension develop . --overwrite\n# Rebuild extension Typescript source after making changes\njlpm run build\n```\n\nYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.\n\n```bash\n# Watch the source directory in one terminal, automatically rebuilding when needed\njlpm run watch\n# Run JupyterLab in another terminal\njupyter lab\n```\n\nWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).\n\nBy default, the `jlpm run build` command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:\n\n```bash\njupyter lab build --minimize=False\n```\n\n### Uninstall\n\n```bash\npip uninstall jupyter-jaeger\n```\n\n\n## Example\n\nThis repo also includes an example of starting a trace from a kernel and continuing it in a mimeredenr jupyterlab extension,\nin [`./example`](./example). You can try this example by:\n\n1. [Launching the Binder](https://mybinder.org/v2/gh/Quansight/jupyter-jaeger/master?urlpath=lab/tree/example/Untitled.ipynb) for this repo.\n2. Create a launcher and launch the Jaeger UI\n3. Run the notebook.\n4. Inspect the trace created by the notebook execution.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Quansight/jupyter-jaeger", "keywords": "Jupyter,JupyterLab,JupyterLab3", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "jupyter-jaeger", "package_url": "https://pypi.org/project/jupyter-jaeger/", "platform": "Linux", "project_url": "https://pypi.org/project/jupyter-jaeger/", "project_urls": { "Homepage": "https://github.com/Quansight/jupyter-jaeger" }, "release_url": "https://pypi.org/project/jupyter-jaeger/1.0.4/", "requires_dist": null, "requires_python": ">=3.6", "summary": "This adds support for using the Jaeger distributed tracing tool with Jupyter.", "version": "1.0.4", "yanked": false, "yanked_reason": null }, "last_serial": 10040646, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "c25a7ad69771af00cd72c032b87c46b7", "sha256": "c1af7752eaffc758da8d180a0e09d25bdc35a90b8224cd7bae17ba30a8c350d9" }, "downloads": -1, "filename": "jupyter_jaeger-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "c25a7ad69771af00cd72c032b87c46b7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 3583, "upload_time": "2019-10-25T13:09:50", "upload_time_iso_8601": "2019-10-25T13:09:50.537611Z", "url": "https://files.pythonhosted.org/packages/b4/81/f68c9800c681cdc76c3551432e99f714c42bc49f5ce111931a0599327209/jupyter_jaeger-1.0.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "7004257376c38403d0ba156705ef35ab", "sha256": "ae6106913147b4ab48fafcc075010ff41de6c8df016c538e3fb190ceb228f092" }, "downloads": -1, "filename": "jupyter_jaeger-1.0.0.tar.gz", "has_sig": false, "md5_digest": "7004257376c38403d0ba156705ef35ab", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 5338, "upload_time": "2019-10-25T13:09:57", "upload_time_iso_8601": "2019-10-25T13:09:57.072067Z", "url": "https://files.pythonhosted.org/packages/20/b4/1f404413e167977aea5ae2a0e468e4a4ecc79893a5629cfa5667015ed391/jupyter_jaeger-1.0.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "9d43433f3689a5e93d4dc30f4c4c90a1", "sha256": "bfe67704836aa6e0d133d6c477be1333ee2cf43cef08f7656c3861a4c4c5fbd4" }, "downloads": -1, "filename": "jupyter_jaeger-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "9d43433f3689a5e93d4dc30f4c4c90a1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 3569, "upload_time": "2019-10-25T13:12:53", "upload_time_iso_8601": "2019-10-25T13:12:53.429199Z", "url": "https://files.pythonhosted.org/packages/31/2d/e70e83af00a6133b8a268814bde17fe54a043db1758db4d1342a3dad5aee/jupyter_jaeger-1.0.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "d3d95aeb9d0ac5b863ade0f279dc780f", "sha256": "f7e8408ad0b11d823517bf21fc6d52ccaa74179d10d48ed8f99081ac06c9da0d" }, "downloads": -1, "filename": "jupyter_jaeger-1.0.1.tar.gz", "has_sig": false, "md5_digest": "d3d95aeb9d0ac5b863ade0f279dc780f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 5401, "upload_time": "2019-10-25T13:12:54", "upload_time_iso_8601": "2019-10-25T13:12:54.865017Z", "url": "https://files.pythonhosted.org/packages/d5/e2/704f5496961c4e3b95de0247df1fb2c477a08de63511e0f2badaa63d5c2e/jupyter_jaeger-1.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "f4d9328fa72c6e84318b5b6d482be872", "sha256": "d606dd021270016f48c4c60842d86519e4c40290c2115f5751cc7b23adf7bff9" }, "downloads": -1, "filename": "jupyter_jaeger-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "f4d9328fa72c6e84318b5b6d482be872", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 167962, "upload_time": "2019-10-25T13:56:38", "upload_time_iso_8601": "2019-10-25T13:56:38.089146Z", "url": "https://files.pythonhosted.org/packages/e0/02/7dda62b0122a6d2c55b53ed43539ae472cbe170b24f18397c200ee62d1ee/jupyter_jaeger-1.0.2-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "5e9030c8517f8bb1633ceaa0506a0009", "sha256": "91beaa4f0efc8060f212ec3718c05e37d5b9681ec72c5ebc0e336b6dbeb33c8a" }, "downloads": -1, "filename": "jupyter_jaeger-1.0.2.tar.gz", "has_sig": false, "md5_digest": "5e9030c8517f8bb1633ceaa0506a0009", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 55259, "upload_time": "2019-10-25T13:56:40", "upload_time_iso_8601": "2019-10-25T13:56:40.549857Z", "url": "https://files.pythonhosted.org/packages/40/dc/45eceeed6f99ffddad2299f3874e19ff3e336f040be2a5d2e4c59d696ce9/jupyter_jaeger-1.0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "bb8e9172590555a0900c2ed05a401493", "sha256": "74d41026890ac83795d765ead24c12d42c3435cc6fa47cf56c42edc11073e1b9" }, "downloads": -1, "filename": "jupyter_jaeger-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "bb8e9172590555a0900c2ed05a401493", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 51171, "upload_time": "2019-12-30T20:54:16", "upload_time_iso_8601": "2019-12-30T20:54:16.552388Z", "url": "https://files.pythonhosted.org/packages/c9/35/29bd4634fd9b72936def25dc58692e9be88cad2f7004851a0ef4f797800b/jupyter_jaeger-1.0.3-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "c8132ad82b1243e1f06c5d0bb3528ce2", "sha256": "c49006760f2eb63689af195c64f066ab8d1ec1dee882f5868a05804e38a20e03" }, "downloads": -1, "filename": "jupyter_jaeger-1.0.3.tar.gz", "has_sig": false, "md5_digest": "c8132ad82b1243e1f06c5d0bb3528ce2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 55363, "upload_time": "2019-12-30T20:54:18", "upload_time_iso_8601": "2019-12-30T20:54:18.522506Z", "url": "https://files.pythonhosted.org/packages/8f/40/91057cd68a06d651ae6754dfbc6e9a5c742e5f76be9f3e835934935b4cab/jupyter_jaeger-1.0.3.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "a1c19b3699ff11ec10779f1b5116ff1f", "sha256": "46628417163b28e67298af0f782d00e2f5e8d106a94785cca4cd454abc70e73d" }, "downloads": -1, "filename": "jupyter_jaeger-1.0.4.tar.gz", "has_sig": false, "md5_digest": "a1c19b3699ff11ec10779f1b5116ff1f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 61076, "upload_time": "2021-04-12T15:30:30", "upload_time_iso_8601": "2021-04-12T15:30:30.878781Z", "url": "https://files.pythonhosted.org/packages/38/29/40d51e1fb680be55042e99f516fbab6763eb413418186e3d23d803904997/jupyter_jaeger-1.0.4.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a1c19b3699ff11ec10779f1b5116ff1f", "sha256": "46628417163b28e67298af0f782d00e2f5e8d106a94785cca4cd454abc70e73d" }, "downloads": -1, "filename": "jupyter_jaeger-1.0.4.tar.gz", "has_sig": false, "md5_digest": "a1c19b3699ff11ec10779f1b5116ff1f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 61076, "upload_time": "2021-04-12T15:30:30", "upload_time_iso_8601": "2021-04-12T15:30:30.878781Z", "url": "https://files.pythonhosted.org/packages/38/29/40d51e1fb680be55042e99f516fbab6763eb413418186e3d23d803904997/jupyter_jaeger-1.0.4.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }