Skip to content

Commit

Permalink
go.d: sd docker: create multiple nginx configs (netdata#17285)
Browse files Browse the repository at this point in the history
(cherry picked from commit 9691810)
  • Loading branch information
ilyam8 authored and stelfrag committed Mar 29, 2024
1 parent b9ec1a8 commit 317d7fe
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/go/collectors/go.d.plugin/config/go.d/sd/docker.conf
Expand Up @@ -132,9 +132,18 @@ compose:
dsn: netdata@tcp({{.IPAddress}}:{{.PrivatePort}})/
- 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
Expand Down

0 comments on commit 317d7fe

Please sign in to comment.