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

Uploaded Python 3

File details

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

File metadata

  • Download URL: swanmetrics-1.0.8.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.8.tar.gz
Algorithm Hash digest
SHA256 0622794f61a3126dfefcc69d50174cef3e9c369cc1fdfc2fdbbd80d62307aae4
MD5 1b9cc153d73bfcf200bd48351606cb30
BLAKE2b-256 56e59bfa05984d46b371cb4833128d7d7d3437ab3bd0d10b8a69a8940e356148

See more details on using hashes here.

Provenance

The following attestation bundles were made for swanmetrics-1.0.8.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.8-py3-none-any.whl.

File metadata

  • Download URL: swanmetrics-1.0.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 0fdc456fed5d0a8a9c289c9ab6f11f585edbdfe286f75569c601f88c64c8e1ba
MD5 b02e61206c6e2fdfe9e215b2b8b84920
BLAKE2b-256 9337b599d3db4e6d26e84ef1443314fd93678625ebe700157c8fc96f369f9bfc

See more details on using hashes here.

Provenance

The following attestation bundles were made for swanmetrics-1.0.8-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