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.4.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.4-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for swanmetrics-1.0.4.tar.gz
Algorithm Hash digest
SHA256 2bd06d515c2dd804ce2326e22df43bb10ac845e663f0f02909232eccac27a283
MD5 4d0d61a3173bdec30a163fe295c97421
BLAKE2b-256 ed0de203a1a721d8ea68605eca114afd390a082ef2dde55e21a8f91e916d25be

See more details on using hashes here.

Provenance

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

Publisher: swan-ci-ca.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.4-py3-none-any.whl.

File metadata

  • Download URL: swanmetrics-1.0.4-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.7

File hashes

Hashes for swanmetrics-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9b90680578bbb6acd8b5a9982098b0223aa38681d4bc08bfee06a350844d969b
MD5 10ce1fb2099f5f140d02bf6a0879ef1e
BLAKE2b-256 54ae1d112175e1e9f747edeeec3ef220932490292c12b94d89d6f95bd89445ef

See more details on using hashes here.

Provenance

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

Publisher: swan-ci-ca.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