diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2024-03-28 19:07:13 +0200 |
---|---|---|
committer | Austin S. Hemmelgarn <ahferroin7@gmail.com> | 2024-04-01 11:25:53 -0400 |
commit | a5c4478702fbfa772fbe671ad306ae39b24a8f66 (patch) | |
tree | f02fcd84f098e873307daff6433eb1389cfe2f6e | |
parent | e56b836f9cd6764d752d8a9ac415fa2c0ec182bd (diff) |
go.d: sd docker: create multiple nginx configs (#17285)
(cherry picked from commit 9691810ea4c89db9534f58523aac1527734bb763)
-rw-r--r-- | src/go/collectors/go.d.plugin/config/go.d/sd/docker.conf | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/go/collectors/go.d.plugin/config/go.d/sd/docker.conf b/src/go/collectors/go.d.plugin/config/go.d/sd/docker.conf index 6fd4004132..b0f1a3aa9d 100644 --- a/src/go/collectors/go.d.plugin/config/go.d/sd/docker.conf +++ b/src/go/collectors/go.d.plugin/config/go.d/sd/docker.conf @@ -132,9 +132,18 @@ compose: dsn: netdata@tcp({{.Address}})/ - selector: "nginx" template: | - module: nginx - name: docker_{{.Name}} - url: http://{{.Address}}/stub_status + - module: nginx + name: docker_{{.Name}} + url: http://{{.Address}}/stub_status + - module: nginx + name: docker_{{.Name}} + url: http://{{.Address}}/basic_status + - module: nginx + name: docker_{{.Name}} + url: http://{{.Address}}/nginx_status + - module: nginx + name: docker_{{.Name}} + url: http://{{.Address}}/status - selector: "pgbouncer" template: | module: pgbouncer |