Update docker-compose example
This commit is contained in:
parent
cf5fd6de28
commit
54fecfad3b
2 changed files with 3 additions and 2 deletions
|
@ -17,8 +17,9 @@ services:
|
||||||
PHP_FPM_PM_STATUS_PATH: "/status"
|
PHP_FPM_PM_STATUS_PATH: "/status"
|
||||||
|
|
||||||
exporter:
|
exporter:
|
||||||
image: hipages/php-fpm_exporter:0.0.3
|
image: hipages/php-fpm_exporter:0.0.4
|
||||||
ports:
|
ports:
|
||||||
- "9253:9253"
|
- "9253:9253"
|
||||||
environment:
|
environment:
|
||||||
PHP_FPM_SCRAPE_URI: "tcp://phpfpm:9000/status"
|
PHP_FPM_SCRAPE_URI: "tcp://phpfpm:9000/status"
|
||||||
|
PHP_FPM_LOG_LEVEL: "debug"
|
||||||
|
|
|
@ -34,4 +34,4 @@ scrape_configs:
|
||||||
scrape_timeout: 1s
|
scrape_timeout: 1s
|
||||||
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['phpfpm:9253']
|
- targets: ['exporter:9253']
|
||||||
|
|
Loading…
Reference in a new issue