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

Uploaded Python 3

File details

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

File metadata

  • Download URL: apscheduler_exporter-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 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.1.0.tar.gz
Algorithm Hash digest
SHA256 e40ea3ebf75fe92279ca09e43f49f398e5278fffbf4fbe2b4035eb269edd447e
MD5 1662d8c69c2d7249bdac39ee37af9ccd
BLAKE2b-256 8df8c4f85611d9684e8eb692b89062a5d1ae98bda3d9309457d9add1fe52ed22

See more details on using hashes here.

File details

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

File metadata

  • Download URL: apscheduler_exporter-0.1.0-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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 275eda06a20674432a5a080970d66795f96d7d122554744ad0768f8736210ffd
MD5 5b67cb90caebaab5157d3b39b9fde33d
BLAKE2b-256 e31ff4c62db24920813feab5e4b5f76555b2eb2b6c7fb17e865a5ea631e23664

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