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

Dashboard

See Grafana Dashboard to import the example dashboard in your instance apscheduler-exporter-dashboard-example

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: apscheduler_exporter-0.2.3.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","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.3.tar.gz
Algorithm Hash digest
SHA256 a4e7a75b609e641c762ba70e1a1dc8f7ca21eaab2192c47b8413650a2cbe034c
MD5 b2650bf863b27a2180d2998cbe277b3a
BLAKE2b-256 a64ff30278f7b2585a33c9dcfb997a232e295e56af19a2333bb685664e1ea854

See more details on using hashes here.

File details

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

File metadata

  • Download URL: apscheduler_exporter-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dde23af209d280d22351f2c0a54ce18b7457e6055c663484fde03612c8447aa2
MD5 783cf31efdf0b4f7900a0cd9858e3fa3
BLAKE2b-256 6223113ac420ff5fdb241c345a75bbc6a260cd4e3eed8e5d7ecb430fab8a4b46

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