@cryptotaxi247 / netdata-1 / commits / 9691810ea

go.d: sd docker: create multiple nginx configs (#17285)

Ilya Mashchenko committed Mar 28, 2024 at 19:07 UTC 9691810ea4c89db9534f58523aac1527734bb763
1 file changed +12 -3
src/go/collectors/go.d.plugin/config/go.d/sd/docker.conf
+12 -3
@@ -132,9 +132,18 @@ compose:
132 dsn: netdata@tcp({{.Address}})/
133 - selector: "nginx"
134 template: |
135 - module: nginx
136 - name: docker_{{.Name}}
137 - url: http://{{.Address}}/stub_status
135 + - module: nginx
136 + name: docker_{{.Name}}
137 + url: http://{{.Address}}/stub_status
138 + - module: nginx
139 + name: docker_{{.Name}}
140 + url: http://{{.Address}}/basic_status
141 + - module: nginx
142 + name: docker_{{.Name}}
143 + url: http://{{.Address}}/nginx_status
144 + - module: nginx
145 + name: docker_{{.Name}}
146 + url: http://{{.Address}}/status
147 - selector: "pgbouncer"
148 template: |
149 module: pgbouncer