The purpose of this tool is to easy datadog service monitoring in a docker environment where services change port and host all the time.
PHP_FPM_CONFIG_FILE
(default:/etc/dd-agent/conf.d/php_fpm.yaml
) path to the dd-agentphp_fpm.yaml
file.
GO_EXPR_TARGET_FILE
(default:/etc/dd-agent/conf.d/go_expvar.yaml
) path to the dd-agentgo_expr.yaml
file.
REDIS_TARGET_FILE
(default:/etc/dd-agent/conf.d/redis.yaml
) path to the dd-agentredis.yaml
file.
To get the dependencies and first build, please run:
make install
For easy Local development run
go install && \
DONT_RELOAD_DATADOG=1 \
TARGET_FILE_GO_EXPR=go_expr.yaml \
TARGET_FILE_PHP_FPM=php_fpm.yaml \
CONSUL_HTTP_ADDR=<consul client address>:8500 \
datadog-fpm-monitor