dreamfactory/df-exporter-prometheus
DreamFactory(tm) Metrics Exporter for Prometheus
25,454
| Install | |
|---|---|
composer require dreamfactory/df-exporter-prometheus |
|
| Latest Version: | 1.1.1 |
| PHP: | ^8.3 |
| Laravel: | 12 · 13 |
| License: | Apache-2.0 |
| Last Updated: | Nov 18, 2026 |
| Links: | GitHub · Packagist |
Maintainer: dreamfactory
DreamFactory Exporter for Prometheus
Adds export metrics about using the DreamFactory API.
Warning. This package is not compatible with df-mongo-logs.
Configuration
This package depends on the Redis cache. DreamFactory supports InMemory and Redis cache,
but DreamFactory Exporter will only work if CACHE_DRIVER is redis.
Configurations for this package:
| Env | Description | Values | Default value |
|---|---|---|---|
| CACHE_DRIVER | It should always be redis |
any | redis |
| PROMETHEUS_ENABLED | Determines whether it is allowed to collect and expose metrics | true, false |
false |
| PROMETHEUS_TELEMETRY | Metrics endpoint for Prometheus | string | /metrics |
| PROMETHEUS_INCLUDE_SYSTEM_REQUESTS | Do Prometheus have to log system calls? | true, false |
false |
| PROMETHEUS_ALLOWED_HOSTNAME | Allowed hostname to call /metrics endpoint | /regex/ |
/^.*$/ |
Metrics
# HELP dreamfactory_api_requests_total The total amount of API requests processed
# TYPE dreamfactory_api_requests_total counter
# HELP php_info Information about the PHP environment.
# TYPE php_info gauge
Related Packages
lkaemmerling/laravel-horizon-prometheus-exporter
A small package to gain and export long time information from Laravel & Horizon...
2,543,524
161
renoki-co/laravel-exporter-contracts
Base contracts implementation for Prometheus exports in Laravel.
175,493
5
triadev/laravel-prometheus-exporter
A laravel and lumen service provider to export metrics for prometheus.
29,438
26
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| 1.1.1 | ^8.3 | Apache-2.0 | |
| 1.1.0 | ^8.0 | Apache-2.0 | |
| 1.0.5 | Apache-2.0 | ||
| 1.0.4 | Apache-2.0 | ||
| 1.0.3 | Apache-2.0 | ||
| 1.0.2 | Apache-2.0 | ||
| 1.0.1 | Apache-2.0 | ||
| 1.0.0 | Apache-2.0 | ||
| 0.1.1 | Apache-2.0 | ||
| 0.1.0 | Apache-2.0 | ||
| 0.0.5 | Apache-2.0 | ||
| 0.0.4 | Apache-2.0 | ||
| 0.0.3 | Apache-2.0 | ||
| 0.0.2 | Apache-2.0 | ||
| 0.0.1 | Apache-2.0 |