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.conf9
1 files changed, 9 insertions, 0 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 68d2d76d7a..6c2e22c71c 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
@@ -50,6 +50,8 @@ classify:
expr: '{{ and (eq .Port "6060") (eq .Comm "geth") }}'
- tags: "haproxy"
expr: '{{ and (eq .Port "8404") (eq .Comm "haproxy") }}'
+ - tags: "hddtemp"
+ expr: '{{ and (eq .Port "7634") (eq .Comm "hddtemp") }}'
- tags: "hdfs_namenode"
expr: '{{ and (eq .Port "9870") (eq .Comm "hadoop") }}'
- tags: "hdfs_datanode"
@@ -226,6 +228,11 @@ compose:
module: haproxy
name: local
url: http://{{.Address}}/metrics
+ - selector: "hddtemp"
+ template: |
+ module: hddtemp
+ name: local
+ address: {{.Address}}
- selector: "hdfs_namenode"
template: |
module: hdfs
@@ -419,4 +426,6 @@ compose:
- pushgateway_*
{{ else if eq $name "wireguard_exporter" -}}
expected_prefix: 'wireguard_exporter'
+ {{ else if eq $name "clickhouse" -}}
+ max_time_series: 3000
{{ end -}}