Skip to content

Commit 60f99d9

Browse files
author
Bennett Goble
committed
Enabled datadog nginx integration autodiscovery
https://docs.datadoghq.com/agent/docker/integrations/?tab=docker
1 parent 58a19f6 commit 60f99d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,7 @@ RUN /test/test.sh
2626
############
2727
# Final
2828
############
29+
LABEL "com.datadoghq.ad.check_names"='["nginx"]'
30+
LABEL "com.datadoghq.ad.init_configs"='[{}]'
31+
LABEL "com.datadoghq.ad.instances"='[{"nginx_status_url": "http://%%host%%:81/nginx_status/"}]'
2932
FROM base

0 commit comments

Comments
 (0)