summaryrefslogtreecommitdiffstats
path: root/src/go/collectors/go.d.plugin/config/go.d/sd/net_listeners.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/collectors/go.d.plugin/config/go.d/sd/net_listeners.conf')
-rw-r--r--src/go/collectors/go.d.plugin/config/go.d/sd/net_listeners.conf110
1 files changed, 55 insertions, 55 deletions
diff --git a/src/go/collectors/go.d.plugin/config/go.d/sd/net_listeners.conf b/src/go/collectors/go.d.plugin/config/go.d/sd/net_listeners.conf
index dd11977ee9..10e622bd48 100644
--- a/src/go/collectors/go.d.plugin/config/go.d/sd/net_listeners.conf
+++ b/src/go/collectors/go.d.plugin/config/go.d/sd/net_listeners.conf
@@ -35,7 +35,7 @@ classify:
- tags: "dnsdist"
expr: '{{ and (eq .Port "8083") (eq .Comm "dnsdist") }}'
- tags: "dnsmasq"
- expr: '{{ and (eq .Port "53") (eq .Comm "dnsmasq") }}'
+ expr: '{{ and (eq .Protocol "UDP") (eq .Port "53") (eq .Comm "dnsmasq") }}'
- tags: "docker_engine"
expr: '{{ and (eq .Port "9323") (eq .Comm "dockerd") }}'
- tags: "elasticsearch"
@@ -111,7 +111,7 @@ classify:
tags: "-unknown exporter"
match:
- tags: "exporter"
- expr: '{{ not (empty (promPort .Port)) }}'
+ expr: '{{ and (not (empty (promPort .Port))) (not (eq .Comm "docker-proxy")) }}'
compose:
- name: "Applications"
selector: "app"
@@ -120,59 +120,59 @@ compose:
template: |
module: activemq
name: local
- url: http://localhost:{{.Port}}
+ url: http://{{.Address}}
webadmin: admin
- selector: "apache"
template: |
module: apache
name: local
- url: http://localhost:{{.Port}}/server-status?auto
+ url: http://{{.Address}}/server-status?auto
- selector: "bind"
template: |
module: bind
name: local
- url: http://localhost:{{.Port}}/json/v1
+ url: http://{{.Address}}/json/v1
- selector: "cassandra"
template: |
module: cassandra
name: local
- url: http://localhost:{{.Port}}/metrics
+ url: http://{{.Address}}/metrics
- selector: "chrony"
template: |
module: chrony
name: local
- address: 127.0.0.1:{{.Port}}
+ address: {{.Address}}
- selector: "cockroachdb"
template: |
module: cockroachdb
name: local
- url: http://localhost:{{.Port}}/_status/vars
+ url: http://{{.Address}}/_status/vars
- selector: "consul"
template: |
module: consul
name: local
- url: http://localhost:{{.Port}}
+ url: http://{{.Address}}
- selector: "coredns"
template: |
module: coredns
name: local
- url: http://localhost:{{.Port}}/metrics
+ url: http://{{.Address}}/metrics
- selector: "couchbase"
template: |
module: couchbase
name: local
- url: http://localhost:{{.Port}}
+ url: http://{{.Address}}
- selector: "couchdb"
template: |
module: couchdb
name: local
- url: http://localhost:{{.Port}}
+ url: http://{{.Address}}
node: '_local'
- selector: "dnsdist"
template: |
module: dnsdist
name: local
- url: http://localhost:{{.Port}}
+ url: http://{{.Address}}
headers:
X-API-Key: 'dnsdist-api-key'
- selector: "dnsmasq"
@@ -180,23 +180,23 @@ compose:
module: dnsmasq
name: local
protocol: udp
- address: 127.0.0.1:{{.Port}}
+ address: {{.Address}}
- selector: "docker_engine"
template: |
module: docker_engine
name: local
- url: http://localhost:{{.Port}}/metrics
+ url: http://{{.Address}}/metrics
- selector: "elasticsearch"
template: |
module: elasticsearch
name: local
- url: http://localhost:{{.Port}}
+ url: http://{{.Address}}
cluster_mode: no
- selector: "opensearch"
template: |
module: elasticsearch
name: local
- url: https://localhost:{{.Port}}
+ url: https://{{.Address}}
cluster_mode: no
tls_skip_verify: yes
username: admin
@@ -205,148 +205,148 @@ compose:
template: |
module: envoy
name: local
- url: http://localhost:{{.Port}}/stats/prometheus
+ url: http://{{.Address}}/stats/prometheus
- selector: "envoy"
template: |
module: envoy
name: local
- url: http://localhost:{{.Port}}/stats/prometheus
+ url: http://{{.Address}}/stats/prometheus
- selector: "fluentd"
template: |
module: fluentd
name: local
- url: http://localhost:{{.Port}}
+ url: http://{{.Address}}
- selector: "freeradius"
template: |
module: freeradius
name: local
- address: localhost
+ address: {{.IPAddress}}
port: {{.Port}}
secret: adminsecret
- selector: "geth"
template: |
module: geth
name: local
- url: http://localhost:{{.Port}}/debug/metrics/prometheus
+ url: http://{{.Address}}/debug/metrics/prometheus
- selector: "haproxy"
template: |
module: haproxy
name: local
- url: http://localhost:{{.Port}}/metrics
+ url: http://{{.Address}}/metrics
- selector: "hdfs_namenode"
template: |
module: hdfs
name: namenode_local
- url: http://localhost:{{.Port}}/jmx
+ url: http://{{.Address}}/jmx
- selector: "hdfs_datanode"
template: |
module: hdfs
name: datanode_local
- url: http://localhost:{{.Port}}/jmx
+ url: http://{{.Address}}/jmx
- selector: "kubelet"
template: |
module: kubelet
name: local
{{- if eq .Port "10255" }}
- url: http://localhost:{{.Port}}/metrics
+ url: http://{{.Address}}/metrics
{{- else }}
- url: https://localhost:{{.Port}}/metrics
+ url: https://{{.Address}}/metrics
tls_skip_verify: yes
{{- end }}
- selector: "kubeproxy"
template: |
module: kubeproxy
name: local
- url: http://localhost:{{.Port}}/metrics
+ url: http://{{.Address}}/metrics
- selector: "lighttpd"
template: |
module: lighttpd
name: local
- url: http://localhost:{{.Port}}/server-status?auto
+ url: http://{{.Address}}/server-status?auto
- selector: "logstash"
template: |
module: logstash
name: local
- url: http://localhost:{{.Port}}
+ url: http://{{.Address}}
- selector: "mongodb"
template: |
module: mongodb
name: local
- uri: mongodb://localhost:{{.Port}}
+ uri: mongodb://{{.Address}}
- selector: "mysql"
template: |
module: mysql
name: local
- dsn: netdata@tcp(127.0.0.1:{{.Port}})/
+ dsn: netdata@tcp({{.IPAddress}}:{{.Port}})/
- selector: "nginx"
template: |
- module: nginx
name: local
- url: http://localhost:{{.Port}}/stub_status
+ url: http://{{.Address}}/stub_status
- module: nginx
name: local
- url: http://localhost:{{.Port}}/basic_status
+ url: http://{{.Address}}/basic_status
- module: nginx
name: local
- url: http://localhost:{{.Port}}/nginx_status
+ url: http://{{.Address}}/nginx_status
- module: nginx
name: local
- url: http://localhost:{{.Port}}/status
+ url: http://{{.Address}}/status
- selector: "ntpd"
template: |
module: ntpd
name: local
- address: 127.0.0.1:{{.Port}}
+ address: {{.Address}}
collect_peers: no
- selector: "openvpn"
template: |
module: openvpn
name: local
- address: 127.0.0.1:{{.Port}}
+ address: {{.Address}}
- selector: "pgbouncer"
template: |
module: pgbouncer
name: local
- dsn: postgres://netdata:postgres@127.0.0.1:{{.Port}}/pgbouncer
+ dsn: postgres://netdata:postgres@{{.IPAddress}}:{{.Port}}/pgbouncer
- selector: "pihole"
template: |
module: pihole
name: local
- url: http://localhost
+ url: http://{{.Address}}
- selector: "pika"
template: |
module: pika
name: local
- address: redis://@127.0.0.1:{{.Port}}
+ address: redis://@{{.IPAddress}}:{{.Port}}
- selector: "postgres"
template: |
module: postgres
name: local
- dsn: postgresql://netdata@127.0.0.1:{{.Port}}/postgres
+ dsn: postgresql://netdata@{{.IPAddress}}:{{.Port}}/postgres
- selector: "powerdns"
template: |
module: powerdns
name: local
- url: http://localhost:{{.Port}}
+ url: http://{{.Address}}
headers:
X-API-KEY: secret
- selector: "powerdns_recursor"
template: |
module: powerdns_recursor
name: local
- url: http://localhost:{{.Port}}
+ url: http://{{.Address}}
headers:
X-API-KEY: secret
- selector: "proxysql"
template: |
module: proxysql
name: local
- dsn: stats:stats@tcp(127.0.0.1:{{.Port}})/
+ dsn: stats:stats@tcp({{.IPAddress}}:{{.Port}})/
- selector: "rabbitmq"
template: |
module: rabbitmq
name: local
- url: http://localhost:{{.Port}}
+ url: http://{{.Address}}
username: guest
password: guest
collect_queues_metrics: no
@@ -354,42 +354,42 @@ compose:
template: |
module: redis
name: local
- address: redis://@127.0.0.1:{{.Port}}
+ address: redis://@{{.IPAddress}}:{{.Port}}
- selector: "supervisord"
template: |
module: supervisord
name: local
- url: http://localhost:{{.Port}}/RPC2
+ url: http://{{.Address}}/RPC2
- selector: "traefik"
template: |
module: traefik
name: local
- url: http://localhost:{{.Port}}/metrics
+ url: http://{{.Address}}/metrics
- selector: "traefik"
template: |
module: traefik
name: local
- url: http://localhost:{{.Port}}/metrics
+ url: http://{{.Address}}/metrics
- selector: "unbound"
template: |
module: unbound
name: local
- address: 127.0.0.1:{{.Port}}
+ address: {{.Address}}
- selector: "upsd"
template: |
module: upsd
name: local
- address: 127.0.0.1:{{.Port}}
+ address: {{.Address}}
- selector: "vernemq"
template: |
module: vernemq
name: local
- url: http://localhost:{{.Port}}/metrics
+ url: http://{{.Address}}/metrics
- selector: "zookeeper"
template: |
module: zookeeper
name: local
- address: 127.0.0.1:{{.Port}}
+ address: {{.Address}}
- name: "Prometheus exporters generic"
selector: "exporter"
@@ -399,7 +399,7 @@ compose:
{{ $name := promPort .Port -}}
module: prometheus
name: {{$name}}_local
- url: http://localhost:{{.Port}}/metrics
+ url: http://{{.Address}}/metrics
{{ if eq $name "caddy" -}}
expected_prefix: 'caddy_'
{{ else if eq $name "openethereum" -}}