Skip to main content

Provides jupyter server proxy endpoints for launching Jaeger.

Project description

jupyter-jaeger

This adds support for using the Jaeger distributed tracing tool with Jupyter. It facilitates the use case of tracking some process that starts in a kernel and is continued in a mime renderer.

We are using it to profile and debug ibis-vega-transform which goes back and forth between the kernel and the frontend to interactively render charts with Altair.

Installing this adds two Jupyter server extensions that start up the jaeger-all-in-one and jaeger-browser processes when you launch Jupyter. So to use it you must first instrument code in your kernel and/or in the frontend to record traces.

It also provis a NPM Typescript plugin you can use to access the client from inside a JupyterLab extension.

Usage

# Install jaeger-all-in-one binary
conda install -c conda-forge jaeger

# Install this package
pip install jupyter-jaeger

# Optional, to see Jaeger icon in JupyterLab launcherr
jupyter labextension install jupyterlab-server-proxy-saulshanabrook

# Launch a Jupyter server
jupyter lab

# Open the jaeger UI
open http://localhost:8080/jaeger

Example

This repo also includes an example of starting a trace from a kernel and continueing it in a mimeredenr jupyterlab extension, in ./example. You can try this example by:

  1. Launching the Binder for this repo.
  2. Run the notebook.
  3. Create a launcher and launch the Jaeger UI
  4. Inspect the trace created by the notebook execution.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyter_jaeger-1.0.2.tar.gz (55.3 kB view details)

Uploaded Source

Built Distribution

jupyter_jaeger-1.0.2-py3-none-any.whl (168.0 kB view details)

Uploaded Python 3

File details

Details for the file jupyter_jaeger-1.0.2.tar.gz.

File metadata

  • Download URL: jupyter_jaeger-1.0.2.tar.gz
  • Upload date:
  • Size: 55.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.21.0

File hashes

Hashes for jupyter_jaeger-1.0.2.tar.gz
Algorithm Hash digest
SHA256 91beaa4f0efc8060f212ec3718c05e37d5b9681ec72c5ebc0e336b6dbeb33c8a
MD5 5e9030c8517f8bb1633ceaa0506a0009
BLAKE2b-256 40dc45eceeed6f99ffddad2299f3874e19ff3e336f040be2a5d2e4c59d696ce9

See more details on using hashes here.

Provenance

File details

Details for the file jupyter_jaeger-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyter_jaeger-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d606dd021270016f48c4c60842d86519e4c40290c2115f5751cc7b23adf7bff9
MD5 f4d9328fa72c6e84318b5b6d482be872
BLAKE2b-256 e0027dda62b0122a6d2c55b53ed43539ae472cbe170b24f18397c200ee62d1ee

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page