Skip to main content

A Prometheus exporter for APScheduler metrics

Project description

uv Ruff Checked with mypy

APScheduler Exporter

A Prometheus exporter for APScheduler metrics

Usage

Basic Example

from apscheduler_metrics import APSchedulerExporter

scheduler_exporter = APSchedulerExporter(scheduler=your_scheduler)
scheduler_exporter.start_http_server()

Configuration

  • port (default value: 8888)
  • listen address (default value: '0.0.0.0')

Metrics

Name Description Type
apscheduler_job_done_total Sent when a job is done. Counter
apscheduler_job_errors_total Sent when a job is failed. Counter
apscheduler_job_missed_total Sent when a job is missed. Counter
apscheduler_job_last_duration_seconds The runtime (seconds) for the last job execution. Gauge

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

apscheduler_exporter-0.2.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

apscheduler_exporter-0.2.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file apscheduler_exporter-0.2.1.tar.gz.

File metadata

  • Download URL: apscheduler_exporter-0.2.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for apscheduler_exporter-0.2.1.tar.gz
Algorithm Hash digest
SHA256 57eda11727177e56ca70400d14864b2d5691b46d44ae71dc8d2cad69050e5996
MD5 3e406d90a37ae4134bd5e33a6901421b
BLAKE2b-256 5ccc503eba73e7da15086994d997090a30624e3fa92d664a133cea648811e8ac

See more details on using hashes here.

File details

Details for the file apscheduler_exporter-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: apscheduler_exporter-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for apscheduler_exporter-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fbdfa59217d49798ff0524b5d945a053614a83f51757b4889018d792265006b4
MD5 ec58701b3da9738ca4ac8b95d8af76a4
BLAKE2b-256 2edbea8df275ad4401ef5eb3b7220c98dbc9dd1ab773c994f7b4acf1a5088a0d

See more details on using hashes here.

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