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.3.tar.gz (3.8 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.3-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: swanmetrics-1.0.3.tar.gz
  • Upload date:
  • Size: 3.8 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.3.tar.gz
Algorithm Hash digest
SHA256 c7c59be1e0d4f950719dbfcbeabd859493f6e907bcdbc8f9818cfabd439a1eff
MD5 d5c45f004e9562258060d4056c70ab76
BLAKE2b-256 4bcfa84acbfb624002b0069a20c97b746f1284021dabc8bf04942211558089f0

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: swanmetrics-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6871fb5e8319b3cd7c98a073dd620f519261170c8383424ed323ece0e158c843
MD5 989aa634ab47b23d29918ea4368e8ba7
BLAKE2b-256 cd915d1d8ba82974bbcfcf1b6e857178e8baf4c012142c848e55b8c1501b41f1

See more details on using hashes here.

Provenance

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