Skip to main content

Jupyter Server extension for collecting metrics via jupyter_events

Project description

SwanMetrics

SWAN Metrics extension to add metrics for specific user actions, such as opening editors.

Requirements

  • jupyter_server
  • jupyter_events

Install

pip install swanmetrics

Observations

  • The /metrics route was added to direct the PrometheusMetricsHandler to the root url, so that Prometheus always scrapes the same endpoint, without having to access the /user/<username>/metrics endpoint every time. Otherwise, the username would have to be parsed each time Prometheus would scrape the metrics from the user pod.

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

swanmetrics-1.0.7.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swanmetrics-1.0.7-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file swanmetrics-1.0.7.tar.gz.

File metadata

  • Download URL: swanmetrics-1.0.7.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for swanmetrics-1.0.7.tar.gz
Algorithm Hash digest
SHA256 a09ddac444a7205ec924bcc4134fe310d17643c9a12c72b2262ca6026de3df67
MD5 d4114f8c5c312e3bac6b7b266ffa341c
BLAKE2b-256 93b8076faba92644bdfa75f74f5a070b095df6f41830ec0189e49d259ab489fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for swanmetrics-1.0.7.tar.gz:

Publisher: release.yml on swan-cern/jupyter-extensions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file swanmetrics-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: swanmetrics-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for swanmetrics-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 aafad1845787565f401191b83ecac0f0c9b49749ef166f8c38697b8e6a53a5b9
MD5 ae824ae7a4678279dc728c65199deb4e
BLAKE2b-256 9f1a2d4586e592a105c3dc695728bac2b0abca36adfe3e2fd11da907718c07c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for swanmetrics-1.0.7-py3-none-any.whl:

Publisher: release.yml on swan-cern/jupyter-extensions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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