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

This commit is contained in:
Ilya Mashchenko 2024-03-28 19:07:13 +02:00 committed by GitHub
parent 9af7592fdb
commit 9691810ea4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 3 deletions

View File

@ -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