From cfc329689d28534f6a25a118ee80091ee7d30712 Mon Sep 17 00:00:00 2001 From: Ilya Mashchenko Date: Thu, 16 May 2024 21:45:18 +0300 Subject: [PATCH] go.d sd fix rspamd classify match (#17686) --- src/go/collectors/go.d.plugin/config/go.d/sd/net_listeners.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 257cf6b78ba851..7dd547aa93d02b 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 @@ -93,7 +93,7 @@ classify: - tags: "redis" expr: '{{ or (eq .Port "6379") (eq .Comm "redis-server") }}' - tags: "rspamd" - expr: '{{ or (eq .Port "11334") (eq .Comm "rspamd") }}' + expr: '{{ and (eq .Port "11334") (eq .Comm "rspamd") }}' - tags: "supervisord" expr: '{{ and (eq .Port "9001") (eq .Comm "supervisord") }}' - tags: "traefik"