A Prometheus exporter for APScheduler metrics
Project description
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file apscheduler_exporter-0.2.2.tar.gz.
File metadata
- Download URL: apscheduler_exporter-0.2.2.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d85ee146b3e61b84a74bdfd85e29871b53888911df6061e8a92043b5a8f65268
|
|
| MD5 |
e6ec2a80bbe4b75e0f5c45c29f319b3a
|
|
| BLAKE2b-256 |
52f8aa170d691d753b22dea9bd4b051747189f4c53e3ffda775a4ea94438a285
|
File details
Details for the file apscheduler_exporter-0.2.2-py3-none-any.whl.
File metadata
- Download URL: apscheduler_exporter-0.2.2-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b5757e463915a0b5181e056ede9b7790d3565604fb0afbbe817233c6fc9531a
|
|
| MD5 |
6ae393e20fc883bc06fce23f673d1aff
|
|
| BLAKE2b-256 |
b43b6c12c82f758e9c0a8e595848c6a9520c0780ecd61fb5acaf80b63c9e82f5
|