dreamfactory / df-exporter-prometheus
DreamFactory(tm) Metrics Exporter for Prometheus
1.1.0
2023-03-01 08:51 UTC
Requires
- php: ^8.0
- ext-json: *
- dreamfactory/df-core: ~1.0
- dreamfactory/df-system: ~0.6
- predis/predis: 1.1.*
- promphp/prometheus_client_php: 2.2.*
- spatie/laravel-http-logger: ^1.1
Requires (Dev)
- filp/whoops: ~2.0
- phpunit/phpunit: ~7.0
README
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:
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