dreamfactory/df-exporter-prometheus
最新稳定版本:1.1.0
Composer 安装命令:
composer require dreamfactory/df-exporter-prometheus
包简介
DreamFactory(tm) Metrics Exporter for Prometheus
README 文档
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:
| 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
统计信息
- 总下载量: 23.37k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2020-11-30