From 67747e122ed71c47178a0054e42fed468f4f5c5c Mon Sep 17 00:00:00 2001 From: Ilya Mashchenko Date: Tue, 12 Nov 2024 22:50:02 +0200 Subject: [PATCH] fix(go.d/dyncfg): remove additionalProperties check (#19003) --- .../go.d/modules/activemq/config_schema.json | 2 +- .../modules/adaptecraid/config_schema.json | 2 +- .../plugin/go.d/modules/ap/config_schema.json | 2 +- .../go.d/modules/apache/config_schema.json | 2 +- .../go.d/modules/apcupsd/config_schema.json | 2 +- .../go.d/modules/beanstalk/config_schema.json | 2 +- .../go.d/modules/bind/config_schema.json | 2 +- .../go.d/modules/boinc/config_schema.json | 2 +- .../go.d/modules/cassandra/config_schema.json | 2 +- .../go.d/modules/ceph/config_schema.json | 2 +- .../go.d/modules/chrony/config_schema.json | 2 +- .../modules/clickhouse/config_schema.json | 2 +- .../modules/cockroachdb/config_schema.json | 2 +- .../go.d/modules/consul/config_schema.json | 2 +- .../go.d/modules/coredns/config_schema.json | 2 +- .../go.d/modules/couchbase/config_schema.json | 2 +- .../go.d/modules/couchdb/config_schema.json | 2 +- .../go.d/modules/dmcache/config_schema.json | 2 +- .../go.d/modules/dnsdist/config_schema.json | 2 +- .../go.d/modules/dnsmasq/config_schema.json | 2 +- .../modules/dnsmasq_dhcp/config_schema.json | 2 +- .../go.d/modules/dnsquery/config_schema.json | 2 +- .../go.d/modules/docker/config_schema.json | 2 +- .../modules/docker_engine/config_schema.json | 2 +- .../go.d/modules/dockerhub/config_schema.json | 2 +- .../go.d/modules/dovecot/config_schema.json | 2 +- .../modules/elasticsearch/config_schema.json | 2 +- .../go.d/modules/envoy/config_schema.json | 2 +- .../go.d/modules/exim/config_schema.json | 2 +- .../go.d/modules/fail2ban/config_schema.json | 2 +- .../go.d/modules/filecheck/config_schema.json | 2 +- .../go.d/modules/fluentd/config_schema.json | 2 +- .../modules/freeradius/config_schema.json | 2 +- .../go.d/modules/gearman/config_schema.json | 2 +- .../go.d/modules/geth/config_schema.json | 2 +- .../go.d/modules/haproxy/config_schema.json | 2 +- .../go.d/modules/hddtemp/config_schema.json | 2 +- .../go.d/modules/hdfs/config_schema.json | 2 +- .../go.d/modules/hpssa/config_schema.json | 2 +- .../go.d/modules/httpcheck/config_schema.json | 2 +- .../go.d/modules/icecast/config_schema.json | 2 +- .../go.d/modules/intelgpu/config_schema.json | 2 +- .../go.d/modules/ipfs/config_schema.json | 2 +- .../go.d/modules/isc_dhcpd/config_schema.json | 2 +- .../modules/k8s_kubelet/config_schema.json | 2 +- .../modules/k8s_kubeproxy/config_schema.json | 2 +- .../go.d/modules/k8s_state/config_schema.json | 2 +- .../go.d/modules/lighttpd/config_schema.json | 2 +- .../go.d/modules/litespeed/config_schema.json | 2 +- .../go.d/modules/logind/config_schema.json | 2 +- .../go.d/modules/logstash/config_schema.json | 2 +- .../go.d/modules/lvm/config_schema.json | 2 +- .../go.d/modules/maxscale/config_schema.json | 2 +- .../go.d/modules/megacli/config_schema.json | 2 +- .../go.d/modules/memcached/config_schema.json | 2 +- .../go.d/modules/mongodb/config_schema.json | 2 +- .../go.d/modules/monit/config_schema.json | 2 +- .../go.d/modules/mysql/config_schema.json | 2 +- .../go.d/modules/nginx/config_schema.json | 2 +- .../go.d/modules/nginxplus/config_schema.json | 2 +- .../go.d/modules/nginxunit/config_schema.json | 2 +- .../go.d/modules/nginxvts/config_schema.json | 2 +- .../go.d/modules/nsd/config_schema.json | 2 +- .../go.d/modules/ntpd/config_schema.json | 2 +- .../modules/nvidia_smi/config_schema.json | 2 +- .../go.d/modules/nvme/config_schema.json | 2 +- .../go.d/modules/openldap/config_schema.json | 2 +- .../go.d/modules/openvpn/config_schema.json | 2 +- .../openvpn_status_log/config_schema.json | 2 +- .../go.d/modules/oracledb/config_schema.json | 2 +- .../go.d/modules/pgbouncer/config_schema.json | 2 +- .../go.d/modules/phpdaemon/config_schema.json | 2 +- .../go.d/modules/phpfpm/config_schema.json | 2 +- .../go.d/modules/pihole/config_schema.json | 2 +- .../go.d/modules/pika/config_schema.json | 2 +- .../go.d/modules/ping/config_schema.json | 2 +- .../go.d/modules/portcheck/config_schema.json | 2 +- .../go.d/modules/postfix/config_schema.json | 2 +- .../go.d/modules/postgres/config_schema.json | 2 +- .../go.d/modules/powerdns/config_schema.json | 2 +- .../powerdns_recursor/config_schema.json | 2 +- .../modules/prometheus/config_schema.json | 2 +- .../go.d/modules/proxysql/config_schema.json | 2 +- .../go.d/modules/pulsar/config_schema.json | 2 +- .../go.d/modules/puppet/config_schema.json | 2 +- .../go.d/modules/rabbitmq/config_schema.json | 2 +- .../go.d/modules/redis/config_schema.json | 2 +- .../go.d/modules/rethinkdb/config_schema.json | 2 +- .../go.d/modules/riakkv/config_schema.json | 2 +- .../go.d/modules/rspamd/config_schema.json | 2 +- .../go.d/modules/samba/config_schema.json | 2 +- .../go.d/modules/scaleio/config_schema.json | 2 +- .../go.d/modules/sensors/config_schema.json | 2 +- .../go.d/modules/smartctl/config_schema.json | 2 +- .../go.d/modules/snmp/config_schema.json | 2 +- .../go.d/modules/spigotmc/config_schema.json | 2 +- .../go.d/modules/squid/config_schema.json | 2 +- .../go.d/modules/squidlog/config_schema.json | 2 +- .../go.d/modules/storcli/config_schema.json | 2 +- .../modules/supervisord/config_schema.json | 2 +- .../modules/systemdunits/config_schema.json | 2 +- .../go.d/modules/tengine/config_schema.json | 2 +- .../modules/testrandom/config_schema.json | 2 +- .../go.d/modules/tomcat/config_schema.json | 2 +- .../go.d/modules/tor/config_schema.json | 2 +- .../go.d/modules/traefik/config_schema.json | 2 +- .../go.d/modules/typesense/config_schema.json | 2 +- .../go.d/modules/unbound/config_schema.json | 2 +- .../go.d/modules/upsd/config_schema.json | 2 +- .../go.d/modules/uwsgi/config_schema.json | 2 +- .../go.d/modules/varnish/config_schema.json | 2 +- .../go.d/modules/vcsa/config_schema.json | 2 +- .../go.d/modules/vernemq/config_schema.json | 2 +- .../go.d/modules/vsphere/config_schema.json | 2 +- .../go.d/modules/w1sensor/config_schema.json | 2 +- .../go.d/modules/weblog/config_schema.json | 27 ++++++++++++++++++- .../modules/whoisquery/config_schema.json | 2 +- .../go.d/modules/windows/config_schema.json | 2 +- .../go.d/modules/wireguard/config_schema.json | 2 +- .../go.d/modules/x509check/config_schema.json | 2 +- .../go.d/modules/zfspool/config_schema.json | 2 +- .../go.d/modules/zookeeper/config_schema.json | 2 +- src/go/plugin/go.d/pkg/logs/csv.go | 2 +- 123 files changed, 148 insertions(+), 123 deletions(-) diff --git a/src/go/plugin/go.d/modules/activemq/config_schema.json b/src/go/plugin/go.d/modules/activemq/config_schema.json index df71bcadf071ca..eb6d65cb94e10b 100644 --- a/src/go/plugin/go.d/modules/activemq/config_schema.json +++ b/src/go/plugin/go.d/modules/activemq/config_schema.json @@ -140,7 +140,7 @@ "url", "webadmin" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/adaptecraid/config_schema.json b/src/go/plugin/go.d/modules/adaptecraid/config_schema.json index ad54f15854ff89..1a76206b0049f3 100644 --- a/src/go/plugin/go.d/modules/adaptecraid/config_schema.json +++ b/src/go/plugin/go.d/modules/adaptecraid/config_schema.json @@ -19,7 +19,7 @@ "default": 2 } }, - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/ap/config_schema.json b/src/go/plugin/go.d/modules/ap/config_schema.json index 4566247f1d5592..468e8cd7336cce 100644 --- a/src/go/plugin/go.d/modules/ap/config_schema.json +++ b/src/go/plugin/go.d/modules/ap/config_schema.json @@ -28,7 +28,7 @@ "required": [ "binary_path" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/apache/config_schema.json b/src/go/plugin/go.d/modules/apache/config_schema.json index b92363e93312f1..0b3c75b3a95510 100644 --- a/src/go/plugin/go.d/modules/apache/config_schema.json +++ b/src/go/plugin/go.d/modules/apache/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/apcupsd/config_schema.json b/src/go/plugin/go.d/modules/apcupsd/config_schema.json index 08aaa4f42a424b..00f61c8154cd16 100644 --- a/src/go/plugin/go.d/modules/apcupsd/config_schema.json +++ b/src/go/plugin/go.d/modules/apcupsd/config_schema.json @@ -28,7 +28,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/beanstalk/config_schema.json b/src/go/plugin/go.d/modules/beanstalk/config_schema.json index aa600ac0351b36..1aa34f4d7306a5 100644 --- a/src/go/plugin/go.d/modules/beanstalk/config_schema.json +++ b/src/go/plugin/go.d/modules/beanstalk/config_schema.json @@ -35,7 +35,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/bind/config_schema.json b/src/go/plugin/go.d/modules/bind/config_schema.json index 29bb739eaa69f6..cfc013e628932d 100644 --- a/src/go/plugin/go.d/modules/bind/config_schema.json +++ b/src/go/plugin/go.d/modules/bind/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/boinc/config_schema.json b/src/go/plugin/go.d/modules/boinc/config_schema.json index eb735e71e090cd..17f5fb6efb025d 100644 --- a/src/go/plugin/go.d/modules/boinc/config_schema.json +++ b/src/go/plugin/go.d/modules/boinc/config_schema.json @@ -34,7 +34,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/cassandra/config_schema.json b/src/go/plugin/go.d/modules/cassandra/config_schema.json index c4ca5f4f9ef6f3..987dda1016fdda 100644 --- a/src/go/plugin/go.d/modules/cassandra/config_schema.json +++ b/src/go/plugin/go.d/modules/cassandra/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/ceph/config_schema.json b/src/go/plugin/go.d/modules/ceph/config_schema.json index 6e58119f0de23f..534c8ba462bc87 100644 --- a/src/go/plugin/go.d/modules/ceph/config_schema.json +++ b/src/go/plugin/go.d/modules/ceph/config_schema.json @@ -108,7 +108,7 @@ "username", "password" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/chrony/config_schema.json b/src/go/plugin/go.d/modules/chrony/config_schema.json index 5de10a822e2909..3cefad1d6ed857 100644 --- a/src/go/plugin/go.d/modules/chrony/config_schema.json +++ b/src/go/plugin/go.d/modules/chrony/config_schema.json @@ -27,7 +27,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/clickhouse/config_schema.json b/src/go/plugin/go.d/modules/clickhouse/config_schema.json index 8b0129ecef86b4..85804887fbe04d 100644 --- a/src/go/plugin/go.d/modules/clickhouse/config_schema.json +++ b/src/go/plugin/go.d/modules/clickhouse/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/cockroachdb/config_schema.json b/src/go/plugin/go.d/modules/cockroachdb/config_schema.json index 51b94f6a6d854d..204faf31cd96c9 100644 --- a/src/go/plugin/go.d/modules/cockroachdb/config_schema.json +++ b/src/go/plugin/go.d/modules/cockroachdb/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/consul/config_schema.json b/src/go/plugin/go.d/modules/consul/config_schema.json index a716e15e445328..0051c03d1def7f 100644 --- a/src/go/plugin/go.d/modules/consul/config_schema.json +++ b/src/go/plugin/go.d/modules/consul/config_schema.json @@ -111,7 +111,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/coredns/config_schema.json b/src/go/plugin/go.d/modules/coredns/config_schema.json index d5f87912bda685..abde584eb39cdb 100644 --- a/src/go/plugin/go.d/modules/coredns/config_schema.json +++ b/src/go/plugin/go.d/modules/coredns/config_schema.json @@ -177,7 +177,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/couchbase/config_schema.json b/src/go/plugin/go.d/modules/couchbase/config_schema.json index 6ef455a97d109a..936ce360ca8a42 100644 --- a/src/go/plugin/go.d/modules/couchbase/config_schema.json +++ b/src/go/plugin/go.d/modules/couchbase/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/couchdb/config_schema.json b/src/go/plugin/go.d/modules/couchdb/config_schema.json index 0df439b07b87fa..01260153ff0652 100644 --- a/src/go/plugin/go.d/modules/couchdb/config_schema.json +++ b/src/go/plugin/go.d/modules/couchdb/config_schema.json @@ -117,7 +117,7 @@ "url", "node" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/dmcache/config_schema.json b/src/go/plugin/go.d/modules/dmcache/config_schema.json index 4428b4d1b37340..0ad99bd444bd19 100644 --- a/src/go/plugin/go.d/modules/dmcache/config_schema.json +++ b/src/go/plugin/go.d/modules/dmcache/config_schema.json @@ -19,7 +19,7 @@ "default": 2 } }, - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/dnsdist/config_schema.json b/src/go/plugin/go.d/modules/dnsdist/config_schema.json index a71faaa0448425..dc6bbd48705a17 100644 --- a/src/go/plugin/go.d/modules/dnsdist/config_schema.json +++ b/src/go/plugin/go.d/modules/dnsdist/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/dnsmasq/config_schema.json b/src/go/plugin/go.d/modules/dnsmasq/config_schema.json index 79396b3641f550..c2bdc77705a70a 100644 --- a/src/go/plugin/go.d/modules/dnsmasq/config_schema.json +++ b/src/go/plugin/go.d/modules/dnsmasq/config_schema.json @@ -39,7 +39,7 @@ "address", "protocol" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/dnsmasq_dhcp/config_schema.json b/src/go/plugin/go.d/modules/dnsmasq_dhcp/config_schema.json index f51a3b2a22a346..61853af565da8e 100644 --- a/src/go/plugin/go.d/modules/dnsmasq_dhcp/config_schema.json +++ b/src/go/plugin/go.d/modules/dnsmasq_dhcp/config_schema.json @@ -37,7 +37,7 @@ "leases_path", "conf_path" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/dnsquery/config_schema.json b/src/go/plugin/go.d/modules/dnsquery/config_schema.json index cfa6f3a147e21d..8c9cef01638287 100644 --- a/src/go/plugin/go.d/modules/dnsquery/config_schema.json +++ b/src/go/plugin/go.d/modules/dnsquery/config_schema.json @@ -105,7 +105,7 @@ "servers", "network" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/docker/config_schema.json b/src/go/plugin/go.d/modules/docker/config_schema.json index bd48c91262de07..e28d20a83bac26 100644 --- a/src/go/plugin/go.d/modules/docker/config_schema.json +++ b/src/go/plugin/go.d/modules/docker/config_schema.json @@ -33,7 +33,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/docker_engine/config_schema.json b/src/go/plugin/go.d/modules/docker_engine/config_schema.json index 1e40bb585aca61..9e9a6c546e4c74 100644 --- a/src/go/plugin/go.d/modules/docker_engine/config_schema.json +++ b/src/go/plugin/go.d/modules/docker_engine/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/dockerhub/config_schema.json b/src/go/plugin/go.d/modules/dockerhub/config_schema.json index 7998516f4aca8f..01682929af6ef5 100644 --- a/src/go/plugin/go.d/modules/dockerhub/config_schema.json +++ b/src/go/plugin/go.d/modules/dockerhub/config_schema.json @@ -121,7 +121,7 @@ "url", "repositories" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/dovecot/config_schema.json b/src/go/plugin/go.d/modules/dovecot/config_schema.json index cf99b69392ffcd..61b50d70066901 100644 --- a/src/go/plugin/go.d/modules/dovecot/config_schema.json +++ b/src/go/plugin/go.d/modules/dovecot/config_schema.json @@ -28,7 +28,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/elasticsearch/config_schema.json b/src/go/plugin/go.d/modules/elasticsearch/config_schema.json index 230993b05d2d60..c329e3b00bcd71 100644 --- a/src/go/plugin/go.d/modules/elasticsearch/config_schema.json +++ b/src/go/plugin/go.d/modules/elasticsearch/config_schema.json @@ -135,7 +135,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/envoy/config_schema.json b/src/go/plugin/go.d/modules/envoy/config_schema.json index 7073337ddf5bfa..f7a3fed4d7e58a 100644 --- a/src/go/plugin/go.d/modules/envoy/config_schema.json +++ b/src/go/plugin/go.d/modules/envoy/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/exim/config_schema.json b/src/go/plugin/go.d/modules/exim/config_schema.json index 6561ea34fb4be0..dba98461028fb9 100644 --- a/src/go/plugin/go.d/modules/exim/config_schema.json +++ b/src/go/plugin/go.d/modules/exim/config_schema.json @@ -19,7 +19,7 @@ "default": 2 } }, - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/fail2ban/config_schema.json b/src/go/plugin/go.d/modules/fail2ban/config_schema.json index 7fd0d91affa326..2eda3af5e6264f 100644 --- a/src/go/plugin/go.d/modules/fail2ban/config_schema.json +++ b/src/go/plugin/go.d/modules/fail2ban/config_schema.json @@ -19,7 +19,7 @@ "default": 2 } }, - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/filecheck/config_schema.json b/src/go/plugin/go.d/modules/filecheck/config_schema.json index c64bb941f80bcd..344efaa67d89b9 100644 --- a/src/go/plugin/go.d/modules/filecheck/config_schema.json +++ b/src/go/plugin/go.d/modules/filecheck/config_schema.json @@ -107,7 +107,7 @@ ] } }, - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/fluentd/config_schema.json b/src/go/plugin/go.d/modules/fluentd/config_schema.json index 037420f74cf909..ec24f7d2935b19 100644 --- a/src/go/plugin/go.d/modules/fluentd/config_schema.json +++ b/src/go/plugin/go.d/modules/fluentd/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/freeradius/config_schema.json b/src/go/plugin/go.d/modules/freeradius/config_schema.json index 7e1a3a4e91c0d9..86fa3afc213c5e 100644 --- a/src/go/plugin/go.d/modules/freeradius/config_schema.json +++ b/src/go/plugin/go.d/modules/freeradius/config_schema.json @@ -41,7 +41,7 @@ "port", "secret" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/gearman/config_schema.json b/src/go/plugin/go.d/modules/gearman/config_schema.json index dd5d3a0b86f9cc..397bbf04458fb5 100644 --- a/src/go/plugin/go.d/modules/gearman/config_schema.json +++ b/src/go/plugin/go.d/modules/gearman/config_schema.json @@ -28,7 +28,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/geth/config_schema.json b/src/go/plugin/go.d/modules/geth/config_schema.json index 00b3071d076158..494e4cb860bf47 100644 --- a/src/go/plugin/go.d/modules/geth/config_schema.json +++ b/src/go/plugin/go.d/modules/geth/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/haproxy/config_schema.json b/src/go/plugin/go.d/modules/haproxy/config_schema.json index 6a794145e5a58d..0a9ad1dd1ea38d 100644 --- a/src/go/plugin/go.d/modules/haproxy/config_schema.json +++ b/src/go/plugin/go.d/modules/haproxy/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/hddtemp/config_schema.json b/src/go/plugin/go.d/modules/hddtemp/config_schema.json index 2858fbe0267052..5300723633baa5 100644 --- a/src/go/plugin/go.d/modules/hddtemp/config_schema.json +++ b/src/go/plugin/go.d/modules/hddtemp/config_schema.json @@ -28,7 +28,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/hdfs/config_schema.json b/src/go/plugin/go.d/modules/hdfs/config_schema.json index 528cc4dbfe4afb..05be2c587602d3 100644 --- a/src/go/plugin/go.d/modules/hdfs/config_schema.json +++ b/src/go/plugin/go.d/modules/hdfs/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/hpssa/config_schema.json b/src/go/plugin/go.d/modules/hpssa/config_schema.json index 788d7685e1625e..9704327d587027 100644 --- a/src/go/plugin/go.d/modules/hpssa/config_schema.json +++ b/src/go/plugin/go.d/modules/hpssa/config_schema.json @@ -19,7 +19,7 @@ "default": 2 } }, - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/httpcheck/config_schema.json b/src/go/plugin/go.d/modules/httpcheck/config_schema.json index 82ffc7cb50745c..d32a75021bd29d 100644 --- a/src/go/plugin/go.d/modules/httpcheck/config_schema.json +++ b/src/go/plugin/go.d/modules/httpcheck/config_schema.json @@ -178,7 +178,7 @@ "url", "status_accepted" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/icecast/config_schema.json b/src/go/plugin/go.d/modules/icecast/config_schema.json index 3abda6e75048fb..471a3535e598f2 100644 --- a/src/go/plugin/go.d/modules/icecast/config_schema.json +++ b/src/go/plugin/go.d/modules/icecast/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/intelgpu/config_schema.json b/src/go/plugin/go.d/modules/intelgpu/config_schema.json index ac8183421804c7..2d367babbace06 100644 --- a/src/go/plugin/go.d/modules/intelgpu/config_schema.json +++ b/src/go/plugin/go.d/modules/intelgpu/config_schema.json @@ -17,7 +17,7 @@ "type": "string" } }, - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/ipfs/config_schema.json b/src/go/plugin/go.d/modules/ipfs/config_schema.json index ce4921c3eb3af0..be30f666445d2a 100644 --- a/src/go/plugin/go.d/modules/ipfs/config_schema.json +++ b/src/go/plugin/go.d/modules/ipfs/config_schema.json @@ -115,7 +115,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/isc_dhcpd/config_schema.json b/src/go/plugin/go.d/modules/isc_dhcpd/config_schema.json index a34e79c70efad2..55aff8bf54709f 100644 --- a/src/go/plugin/go.d/modules/isc_dhcpd/config_schema.json +++ b/src/go/plugin/go.d/modules/isc_dhcpd/config_schema.json @@ -57,7 +57,7 @@ "leases_path", "pools" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/k8s_kubelet/config_schema.json b/src/go/plugin/go.d/modules/k8s_kubelet/config_schema.json index 16f9029a6374b1..15851bb18e65e6 100644 --- a/src/go/plugin/go.d/modules/k8s_kubelet/config_schema.json +++ b/src/go/plugin/go.d/modules/k8s_kubelet/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/k8s_kubeproxy/config_schema.json b/src/go/plugin/go.d/modules/k8s_kubeproxy/config_schema.json index f5d2d3424d6cef..b54a9013c3228d 100644 --- a/src/go/plugin/go.d/modules/k8s_kubeproxy/config_schema.json +++ b/src/go/plugin/go.d/modules/k8s_kubeproxy/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/k8s_state/config_schema.json b/src/go/plugin/go.d/modules/k8s_state/config_schema.json index ae66d7cb560118..76f412cc05c99b 100644 --- a/src/go/plugin/go.d/modules/k8s_state/config_schema.json +++ b/src/go/plugin/go.d/modules/k8s_state/config_schema.json @@ -12,7 +12,7 @@ "default": 1 } }, - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/lighttpd/config_schema.json b/src/go/plugin/go.d/modules/lighttpd/config_schema.json index 32700b3b2cfb4b..a596a31eee976e 100644 --- a/src/go/plugin/go.d/modules/lighttpd/config_schema.json +++ b/src/go/plugin/go.d/modules/lighttpd/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/litespeed/config_schema.json b/src/go/plugin/go.d/modules/litespeed/config_schema.json index 2ec13468fedca0..3a4a3bfba9ca94 100644 --- a/src/go/plugin/go.d/modules/litespeed/config_schema.json +++ b/src/go/plugin/go.d/modules/litespeed/config_schema.json @@ -21,7 +21,7 @@ "required": [ "reports_dir" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/logind/config_schema.json b/src/go/plugin/go.d/modules/logind/config_schema.json index 0a861853884c19..c117ca46623051 100644 --- a/src/go/plugin/go.d/modules/logind/config_schema.json +++ b/src/go/plugin/go.d/modules/logind/config_schema.json @@ -19,7 +19,7 @@ "default": 1 } }, - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/logstash/config_schema.json b/src/go/plugin/go.d/modules/logstash/config_schema.json index c08d136f106041..5c0faa54d76097 100644 --- a/src/go/plugin/go.d/modules/logstash/config_schema.json +++ b/src/go/plugin/go.d/modules/logstash/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/lvm/config_schema.json b/src/go/plugin/go.d/modules/lvm/config_schema.json index 1e0788074ef076..48e6a5d069382c 100644 --- a/src/go/plugin/go.d/modules/lvm/config_schema.json +++ b/src/go/plugin/go.d/modules/lvm/config_schema.json @@ -19,7 +19,7 @@ "default": 2 } }, - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/maxscale/config_schema.json b/src/go/plugin/go.d/modules/maxscale/config_schema.json index 2fa6b6249e6fb2..54b7669bb92e3e 100644 --- a/src/go/plugin/go.d/modules/maxscale/config_schema.json +++ b/src/go/plugin/go.d/modules/maxscale/config_schema.json @@ -107,7 +107,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/megacli/config_schema.json b/src/go/plugin/go.d/modules/megacli/config_schema.json index 6eb36519ddc2bc..39aad9c04409e7 100644 --- a/src/go/plugin/go.d/modules/megacli/config_schema.json +++ b/src/go/plugin/go.d/modules/megacli/config_schema.json @@ -19,7 +19,7 @@ "default": 2 } }, - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/memcached/config_schema.json b/src/go/plugin/go.d/modules/memcached/config_schema.json index f92a8eee919e64..3006e958af795b 100644 --- a/src/go/plugin/go.d/modules/memcached/config_schema.json +++ b/src/go/plugin/go.d/modules/memcached/config_schema.json @@ -28,7 +28,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/mongodb/config_schema.json b/src/go/plugin/go.d/modules/mongodb/config_schema.json index fc5c42eff54529..14298212414740 100644 --- a/src/go/plugin/go.d/modules/mongodb/config_schema.json +++ b/src/go/plugin/go.d/modules/mongodb/config_schema.json @@ -64,7 +64,7 @@ "required": [ "uri" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/monit/config_schema.json b/src/go/plugin/go.d/modules/monit/config_schema.json index 4d23760b3c22c6..de64d8da9035f9 100644 --- a/src/go/plugin/go.d/modules/monit/config_schema.json +++ b/src/go/plugin/go.d/modules/monit/config_schema.json @@ -107,7 +107,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/mysql/config_schema.json b/src/go/plugin/go.d/modules/mysql/config_schema.json index 20bb265c0fbbc1..a9f65bfe5dd3e3 100644 --- a/src/go/plugin/go.d/modules/mysql/config_schema.json +++ b/src/go/plugin/go.d/modules/mysql/config_schema.json @@ -33,7 +33,7 @@ "required": [ "dsn" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/nginx/config_schema.json b/src/go/plugin/go.d/modules/nginx/config_schema.json index 25fead781f3525..ba919e26cabd5e 100644 --- a/src/go/plugin/go.d/modules/nginx/config_schema.json +++ b/src/go/plugin/go.d/modules/nginx/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/nginxplus/config_schema.json b/src/go/plugin/go.d/modules/nginxplus/config_schema.json index fd4c38ef14104e..5e9d2195cb8cfc 100644 --- a/src/go/plugin/go.d/modules/nginxplus/config_schema.json +++ b/src/go/plugin/go.d/modules/nginxplus/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/nginxunit/config_schema.json b/src/go/plugin/go.d/modules/nginxunit/config_schema.json index 607d117c84fbd3..e1a90ca5caa9c7 100644 --- a/src/go/plugin/go.d/modules/nginxunit/config_schema.json +++ b/src/go/plugin/go.d/modules/nginxunit/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/nginxvts/config_schema.json b/src/go/plugin/go.d/modules/nginxvts/config_schema.json index ef6a1d2379d456..04f333102c5058 100644 --- a/src/go/plugin/go.d/modules/nginxvts/config_schema.json +++ b/src/go/plugin/go.d/modules/nginxvts/config_schema.json @@ -104,7 +104,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/nsd/config_schema.json b/src/go/plugin/go.d/modules/nsd/config_schema.json index d49107c716c379..d2d79d0e27abf8 100644 --- a/src/go/plugin/go.d/modules/nsd/config_schema.json +++ b/src/go/plugin/go.d/modules/nsd/config_schema.json @@ -19,7 +19,7 @@ "default": 2 } }, - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/ntpd/config_schema.json b/src/go/plugin/go.d/modules/ntpd/config_schema.json index f4d763b827f84c..46de216cbb3669 100644 --- a/src/go/plugin/go.d/modules/ntpd/config_schema.json +++ b/src/go/plugin/go.d/modules/ntpd/config_schema.json @@ -33,7 +33,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/nvidia_smi/config_schema.json b/src/go/plugin/go.d/modules/nvidia_smi/config_schema.json index 46b48095d6bd95..44537edc61e2e1 100644 --- a/src/go/plugin/go.d/modules/nvidia_smi/config_schema.json +++ b/src/go/plugin/go.d/modules/nvidia_smi/config_schema.json @@ -34,7 +34,7 @@ "required": [ "binary_path" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/nvme/config_schema.json b/src/go/plugin/go.d/modules/nvme/config_schema.json index 179a24ab1730f5..6d5df6de3d4bf4 100644 --- a/src/go/plugin/go.d/modules/nvme/config_schema.json +++ b/src/go/plugin/go.d/modules/nvme/config_schema.json @@ -20,7 +20,7 @@ } }, "required": [], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/openldap/config_schema.json b/src/go/plugin/go.d/modules/openldap/config_schema.json index e6724a827467c5..a13d326a0c5d37 100644 --- a/src/go/plugin/go.d/modules/openldap/config_schema.json +++ b/src/go/plugin/go.d/modules/openldap/config_schema.json @@ -64,7 +64,7 @@ "url", "username" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/openvpn/config_schema.json b/src/go/plugin/go.d/modules/openvpn/config_schema.json index 8bbda1fd46c297..85834ac10fd85e 100644 --- a/src/go/plugin/go.d/modules/openvpn/config_schema.json +++ b/src/go/plugin/go.d/modules/openvpn/config_schema.json @@ -64,7 +64,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/openvpn_status_log/config_schema.json b/src/go/plugin/go.d/modules/openvpn_status_log/config_schema.json index db3af2cc8b9686..0eea2bbd6516c2 100644 --- a/src/go/plugin/go.d/modules/openvpn_status_log/config_schema.json +++ b/src/go/plugin/go.d/modules/openvpn_status_log/config_schema.json @@ -58,7 +58,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/oracledb/config_schema.json b/src/go/plugin/go.d/modules/oracledb/config_schema.json index 3cd491a17b6e20..781ef4cec8cc1e 100644 --- a/src/go/plugin/go.d/modules/oracledb/config_schema.json +++ b/src/go/plugin/go.d/modules/oracledb/config_schema.json @@ -28,7 +28,7 @@ "required": [ "dsn" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/pgbouncer/config_schema.json b/src/go/plugin/go.d/modules/pgbouncer/config_schema.json index d8d08bc5171132..f72102a78248ff 100644 --- a/src/go/plugin/go.d/modules/pgbouncer/config_schema.json +++ b/src/go/plugin/go.d/modules/pgbouncer/config_schema.json @@ -28,7 +28,7 @@ "required": [ "dsn" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/phpdaemon/config_schema.json b/src/go/plugin/go.d/modules/phpdaemon/config_schema.json index a154aaa59e6942..00c22cf86f9660 100644 --- a/src/go/plugin/go.d/modules/phpdaemon/config_schema.json +++ b/src/go/plugin/go.d/modules/phpdaemon/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/phpfpm/config_schema.json b/src/go/plugin/go.d/modules/phpfpm/config_schema.json index 81b4005af98d9b..7d141de9639d04 100644 --- a/src/go/plugin/go.d/modules/phpfpm/config_schema.json +++ b/src/go/plugin/go.d/modules/phpfpm/config_schema.json @@ -122,7 +122,7 @@ "type": "string" } }, - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/pihole/config_schema.json b/src/go/plugin/go.d/modules/pihole/config_schema.json index 14523a2e891cc5..1baf1befc0d30f 100644 --- a/src/go/plugin/go.d/modules/pihole/config_schema.json +++ b/src/go/plugin/go.d/modules/pihole/config_schema.json @@ -111,7 +111,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/pika/config_schema.json b/src/go/plugin/go.d/modules/pika/config_schema.json index 885cbed0f8848d..25a97bc144a78b 100644 --- a/src/go/plugin/go.d/modules/pika/config_schema.json +++ b/src/go/plugin/go.d/modules/pika/config_schema.json @@ -51,7 +51,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/ping/config_schema.json b/src/go/plugin/go.d/modules/ping/config_schema.json index 1168e33884f8cf..bbc7c26a1d653c 100644 --- a/src/go/plugin/go.d/modules/ping/config_schema.json +++ b/src/go/plugin/go.d/modules/ping/config_schema.json @@ -66,7 +66,7 @@ "required": [ "hosts" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/portcheck/config_schema.json b/src/go/plugin/go.d/modules/portcheck/config_schema.json index ba169b25039ad5..fc798db381cd28 100644 --- a/src/go/plugin/go.d/modules/portcheck/config_schema.json +++ b/src/go/plugin/go.d/modules/portcheck/config_schema.json @@ -57,7 +57,7 @@ "required": [ "host" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/postfix/config_schema.json b/src/go/plugin/go.d/modules/postfix/config_schema.json index da416f14b134dc..ca329029626499 100644 --- a/src/go/plugin/go.d/modules/postfix/config_schema.json +++ b/src/go/plugin/go.d/modules/postfix/config_schema.json @@ -28,7 +28,7 @@ "required": [ "binary_path" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/postgres/config_schema.json b/src/go/plugin/go.d/modules/postgres/config_schema.json index 42bff329b55b5e..b4eaa0edc28e09 100644 --- a/src/go/plugin/go.d/modules/postgres/config_schema.json +++ b/src/go/plugin/go.d/modules/postgres/config_schema.json @@ -91,7 +91,7 @@ "required": [ "dsn" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/powerdns/config_schema.json b/src/go/plugin/go.d/modules/powerdns/config_schema.json index 2ec6565c15b785..70fc444938fa25 100644 --- a/src/go/plugin/go.d/modules/powerdns/config_schema.json +++ b/src/go/plugin/go.d/modules/powerdns/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/powerdns_recursor/config_schema.json b/src/go/plugin/go.d/modules/powerdns_recursor/config_schema.json index 1b76938cef566c..a43ce53c5fe0c0 100644 --- a/src/go/plugin/go.d/modules/powerdns_recursor/config_schema.json +++ b/src/go/plugin/go.d/modules/powerdns_recursor/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/prometheus/config_schema.json b/src/go/plugin/go.d/modules/prometheus/config_schema.json index df843109ed48e2..7d424ce79e46db 100644 --- a/src/go/plugin/go.d/modules/prometheus/config_schema.json +++ b/src/go/plugin/go.d/modules/prometheus/config_schema.json @@ -210,7 +210,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/proxysql/config_schema.json b/src/go/plugin/go.d/modules/proxysql/config_schema.json index c0c880a2e75732..fb45e6dd1a8eba 100644 --- a/src/go/plugin/go.d/modules/proxysql/config_schema.json +++ b/src/go/plugin/go.d/modules/proxysql/config_schema.json @@ -28,7 +28,7 @@ "required": [ "dsn" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/pulsar/config_schema.json b/src/go/plugin/go.d/modules/pulsar/config_schema.json index b4bc8b45f17019..47b58b56235051 100644 --- a/src/go/plugin/go.d/modules/pulsar/config_schema.json +++ b/src/go/plugin/go.d/modules/pulsar/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/puppet/config_schema.json b/src/go/plugin/go.d/modules/puppet/config_schema.json index 92cbcb87f22225..0d2fb0048722d2 100644 --- a/src/go/plugin/go.d/modules/puppet/config_schema.json +++ b/src/go/plugin/go.d/modules/puppet/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/rabbitmq/config_schema.json b/src/go/plugin/go.d/modules/rabbitmq/config_schema.json index defa70142df1d4..34ad759751dbad 100644 --- a/src/go/plugin/go.d/modules/rabbitmq/config_schema.json +++ b/src/go/plugin/go.d/modules/rabbitmq/config_schema.json @@ -113,7 +113,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/redis/config_schema.json b/src/go/plugin/go.d/modules/redis/config_schema.json index c57b06ac0caa0c..25e3d1387c3195 100644 --- a/src/go/plugin/go.d/modules/redis/config_schema.json +++ b/src/go/plugin/go.d/modules/redis/config_schema.json @@ -67,7 +67,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/rethinkdb/config_schema.json b/src/go/plugin/go.d/modules/rethinkdb/config_schema.json index 9a84aeca4b27d9..cb34634f2350bd 100644 --- a/src/go/plugin/go.d/modules/rethinkdb/config_schema.json +++ b/src/go/plugin/go.d/modules/rethinkdb/config_schema.json @@ -40,7 +40,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/riakkv/config_schema.json b/src/go/plugin/go.d/modules/riakkv/config_schema.json index 402c2c1068abcd..85fb193aa61e54 100644 --- a/src/go/plugin/go.d/modules/riakkv/config_schema.json +++ b/src/go/plugin/go.d/modules/riakkv/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/rspamd/config_schema.json b/src/go/plugin/go.d/modules/rspamd/config_schema.json index c7b866d87ad70a..4a2b1df4d02980 100644 --- a/src/go/plugin/go.d/modules/rspamd/config_schema.json +++ b/src/go/plugin/go.d/modules/rspamd/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/samba/config_schema.json b/src/go/plugin/go.d/modules/samba/config_schema.json index 3ca373a6777d8f..266a5236bedc53 100644 --- a/src/go/plugin/go.d/modules/samba/config_schema.json +++ b/src/go/plugin/go.d/modules/samba/config_schema.json @@ -19,7 +19,7 @@ "default": 2 } }, - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/scaleio/config_schema.json b/src/go/plugin/go.d/modules/scaleio/config_schema.json index 97aea7faf5e657..ba85beeaf5437a 100644 --- a/src/go/plugin/go.d/modules/scaleio/config_schema.json +++ b/src/go/plugin/go.d/modules/scaleio/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/sensors/config_schema.json b/src/go/plugin/go.d/modules/sensors/config_schema.json index 7e352d2b4c6d7c..f3d71707ee08b7 100644 --- a/src/go/plugin/go.d/modules/sensors/config_schema.json +++ b/src/go/plugin/go.d/modules/sensors/config_schema.json @@ -76,7 +76,7 @@ }, "required": [ ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/smartctl/config_schema.json b/src/go/plugin/go.d/modules/smartctl/config_schema.json index afe7ce1a9fc788..1daef822266973 100644 --- a/src/go/plugin/go.d/modules/smartctl/config_schema.json +++ b/src/go/plugin/go.d/modules/smartctl/config_schema.json @@ -82,7 +82,7 @@ } } }, - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/snmp/config_schema.json b/src/go/plugin/go.d/modules/snmp/config_schema.json index dd0a50bd6f4567..7b52c6f7b5a771 100644 --- a/src/go/plugin/go.d/modules/snmp/config_schema.json +++ b/src/go/plugin/go.d/modules/snmp/config_schema.json @@ -348,7 +348,7 @@ "community", "options" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/spigotmc/config_schema.json b/src/go/plugin/go.d/modules/spigotmc/config_schema.json index 30b54682bfa766..ea8516767336d3 100644 --- a/src/go/plugin/go.d/modules/spigotmc/config_schema.json +++ b/src/go/plugin/go.d/modules/spigotmc/config_schema.json @@ -34,7 +34,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/squid/config_schema.json b/src/go/plugin/go.d/modules/squid/config_schema.json index b1264b2b1502c4..1a49e4023b6133 100644 --- a/src/go/plugin/go.d/modules/squid/config_schema.json +++ b/src/go/plugin/go.d/modules/squid/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/squidlog/config_schema.json b/src/go/plugin/go.d/modules/squidlog/config_schema.json index 47e55b09b48004..2e901520ba4505 100644 --- a/src/go/plugin/go.d/modules/squidlog/config_schema.json +++ b/src/go/plugin/go.d/modules/squidlog/config_schema.json @@ -40,7 +40,7 @@ "path", "log_type" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} }, diff --git a/src/go/plugin/go.d/modules/storcli/config_schema.json b/src/go/plugin/go.d/modules/storcli/config_schema.json index 226a370f437482..5e42b647c6466a 100644 --- a/src/go/plugin/go.d/modules/storcli/config_schema.json +++ b/src/go/plugin/go.d/modules/storcli/config_schema.json @@ -19,7 +19,7 @@ "default": 2 } }, - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/supervisord/config_schema.json b/src/go/plugin/go.d/modules/supervisord/config_schema.json index 8d3c4e94373bb9..198c0976d1f506 100644 --- a/src/go/plugin/go.d/modules/supervisord/config_schema.json +++ b/src/go/plugin/go.d/modules/supervisord/config_schema.json @@ -49,7 +49,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/systemdunits/config_schema.json b/src/go/plugin/go.d/modules/systemdunits/config_schema.json index 016e984cedacb6..ed4090eb26f13d 100644 --- a/src/go/plugin/go.d/modules/systemdunits/config_schema.json +++ b/src/go/plugin/go.d/modules/systemdunits/config_schema.json @@ -75,7 +75,7 @@ "required": [ "include" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/tengine/config_schema.json b/src/go/plugin/go.d/modules/tengine/config_schema.json index 44f6968e18c0fe..b3339454129890 100644 --- a/src/go/plugin/go.d/modules/tengine/config_schema.json +++ b/src/go/plugin/go.d/modules/tengine/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/testrandom/config_schema.json b/src/go/plugin/go.d/modules/testrandom/config_schema.json index 328773f6d76613..9df0e3a11fb9ee 100644 --- a/src/go/plugin/go.d/modules/testrandom/config_schema.json +++ b/src/go/plugin/go.d/modules/testrandom/config_schema.json @@ -125,7 +125,7 @@ "required": [ "charts" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/tomcat/config_schema.json b/src/go/plugin/go.d/modules/tomcat/config_schema.json index 91d7096ee7c1a6..c0f9cc4cc88da0 100644 --- a/src/go/plugin/go.d/modules/tomcat/config_schema.json +++ b/src/go/plugin/go.d/modules/tomcat/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/tor/config_schema.json b/src/go/plugin/go.d/modules/tor/config_schema.json index abfc40d959eab2..f5f1e1e0809080 100644 --- a/src/go/plugin/go.d/modules/tor/config_schema.json +++ b/src/go/plugin/go.d/modules/tor/config_schema.json @@ -34,7 +34,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/traefik/config_schema.json b/src/go/plugin/go.d/modules/traefik/config_schema.json index f027f20a09156a..097518505a2e23 100644 --- a/src/go/plugin/go.d/modules/traefik/config_schema.json +++ b/src/go/plugin/go.d/modules/traefik/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/typesense/config_schema.json b/src/go/plugin/go.d/modules/typesense/config_schema.json index 4368fcb3b03564..b8518fc1402f41 100644 --- a/src/go/plugin/go.d/modules/typesense/config_schema.json +++ b/src/go/plugin/go.d/modules/typesense/config_schema.json @@ -111,7 +111,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/unbound/config_schema.json b/src/go/plugin/go.d/modules/unbound/config_schema.json index 500b601690d636..c39d4fab6f2e66 100644 --- a/src/go/plugin/go.d/modules/unbound/config_schema.json +++ b/src/go/plugin/go.d/modules/unbound/config_schema.json @@ -72,7 +72,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/upsd/config_schema.json b/src/go/plugin/go.d/modules/upsd/config_schema.json index 564c0179cc0485..b49f3ba7cd8dae 100644 --- a/src/go/plugin/go.d/modules/upsd/config_schema.json +++ b/src/go/plugin/go.d/modules/upsd/config_schema.json @@ -38,7 +38,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} }, diff --git a/src/go/plugin/go.d/modules/uwsgi/config_schema.json b/src/go/plugin/go.d/modules/uwsgi/config_schema.json index 14c75043248020..1f9bb70a571d4e 100644 --- a/src/go/plugin/go.d/modules/uwsgi/config_schema.json +++ b/src/go/plugin/go.d/modules/uwsgi/config_schema.json @@ -28,7 +28,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/varnish/config_schema.json b/src/go/plugin/go.d/modules/varnish/config_schema.json index cf26383b6e52ba..39cc289412b7c6 100644 --- a/src/go/plugin/go.d/modules/varnish/config_schema.json +++ b/src/go/plugin/go.d/modules/varnish/config_schema.json @@ -30,7 +30,7 @@ } }, "required": [], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/vcsa/config_schema.json b/src/go/plugin/go.d/modules/vcsa/config_schema.json index 3302794c65259e..e053c163c2ec68 100644 --- a/src/go/plugin/go.d/modules/vcsa/config_schema.json +++ b/src/go/plugin/go.d/modules/vcsa/config_schema.json @@ -104,7 +104,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/vernemq/config_schema.json b/src/go/plugin/go.d/modules/vernemq/config_schema.json index 092d7f417a29df..aad8d402d8c48b 100644 --- a/src/go/plugin/go.d/modules/vernemq/config_schema.json +++ b/src/go/plugin/go.d/modules/vernemq/config_schema.json @@ -105,7 +105,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/vsphere/config_schema.json b/src/go/plugin/go.d/modules/vsphere/config_schema.json index 8902e73ed71351..25b8c49c4d715e 100644 --- a/src/go/plugin/go.d/modules/vsphere/config_schema.json +++ b/src/go/plugin/go.d/modules/vsphere/config_schema.json @@ -153,7 +153,7 @@ "host_include", "vm_include" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/w1sensor/config_schema.json b/src/go/plugin/go.d/modules/w1sensor/config_schema.json index bba6f8a5d80de3..e20261007587af 100644 --- a/src/go/plugin/go.d/modules/w1sensor/config_schema.json +++ b/src/go/plugin/go.d/modules/w1sensor/config_schema.json @@ -19,7 +19,7 @@ } }, "required": [], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/weblog/config_schema.json b/src/go/plugin/go.d/modules/weblog/config_schema.json index 61da661a46def6..7dd553e2b8ec8c 100644 --- a/src/go/plugin/go.d/modules/weblog/config_schema.json +++ b/src/go/plugin/go.d/modules/weblog/config_schema.json @@ -23,6 +23,12 @@ "type": "string", "default": "*.gz" }, + "group_response_codes": { + "title": "Group response codes", + "description": "Controls how HTTP response codes are grouped in charts.", + "type": "boolean", + "default": true + }, "histogram": { "title": "Request processing time histogram", "description": "Buckets for the histogram in milliseconds.", @@ -248,7 +254,7 @@ "path", "log_type" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} }, @@ -285,6 +291,18 @@ "description": "Delimiter used to separate fields in the log file. Default: space (' ').", "type": "string", "default": " " + }, + "trim_leading_space": { + "title": "Trim leading space", + "description": "If true, leading white space in a field is ignored.", + "type": "boolean", + "default": false + }, + "fields_per_record": { + "title": "Fields per record", + "description": "The number of expected fields per record.", + "type": "integer", + "default": -1 } }, "required": [ @@ -399,6 +417,12 @@ "uiOptions": { "fullPage": true }, + "group_response_codes": { + "ui:help": "When true, creates separate charts for each response code family (1xx, 2xx, 3xx, etc.), with individual response codes (200, 201, etc.) as dimensions within each family. When false, creates a single chart with all response codes as separate dimensions." + }, + "fields_per_record": { + "ui:help": "If negative, no check is made and records may have a variable number of fields." + }, "log_type": { "ui:widget": "radio", "ui:options": { @@ -420,6 +444,7 @@ "update_every", "path", "exclude_path", + "group_response_codes", "histogram" ] }, diff --git a/src/go/plugin/go.d/modules/whoisquery/config_schema.json b/src/go/plugin/go.d/modules/whoisquery/config_schema.json index fd3ef4955fef38..5878c7f8b2faea 100644 --- a/src/go/plugin/go.d/modules/whoisquery/config_schema.json +++ b/src/go/plugin/go.d/modules/whoisquery/config_schema.json @@ -41,7 +41,7 @@ "required": [ "source" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/windows/config_schema.json b/src/go/plugin/go.d/modules/windows/config_schema.json index e1011e876fd60c..12182f9d71cef0 100644 --- a/src/go/plugin/go.d/modules/windows/config_schema.json +++ b/src/go/plugin/go.d/modules/windows/config_schema.json @@ -108,7 +108,7 @@ "required": [ "url" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/wireguard/config_schema.json b/src/go/plugin/go.d/modules/wireguard/config_schema.json index 5ff8ff717b8721..468f98118bc944 100644 --- a/src/go/plugin/go.d/modules/wireguard/config_schema.json +++ b/src/go/plugin/go.d/modules/wireguard/config_schema.json @@ -12,7 +12,7 @@ "default": 1 } }, - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/x509check/config_schema.json b/src/go/plugin/go.d/modules/x509check/config_schema.json index 4742a8a806e3c6..01748c366f267f 100644 --- a/src/go/plugin/go.d/modules/x509check/config_schema.json +++ b/src/go/plugin/go.d/modules/x509check/config_schema.json @@ -60,7 +60,7 @@ "required": [ "source" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/zfspool/config_schema.json b/src/go/plugin/go.d/modules/zfspool/config_schema.json index fcfcff1d4c2e51..5f83e09644ff0f 100644 --- a/src/go/plugin/go.d/modules/zfspool/config_schema.json +++ b/src/go/plugin/go.d/modules/zfspool/config_schema.json @@ -28,7 +28,7 @@ "required": [ "binary_path" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/modules/zookeeper/config_schema.json b/src/go/plugin/go.d/modules/zookeeper/config_schema.json index e07a27c29f6143..13c255e1b09913 100644 --- a/src/go/plugin/go.d/modules/zookeeper/config_schema.json +++ b/src/go/plugin/go.d/modules/zookeeper/config_schema.json @@ -56,7 +56,7 @@ "required": [ "address" ], - "additionalProperties": false, + "additionalProperties": true, "patternProperties": { "^name$": {} } diff --git a/src/go/plugin/go.d/pkg/logs/csv.go b/src/go/plugin/go.d/pkg/logs/csv.go index 4057b8c2f4c74e..6c295678761271 100644 --- a/src/go/plugin/go.d/pkg/logs/csv.go +++ b/src/go/plugin/go.d/pkg/logs/csv.go @@ -16,7 +16,7 @@ type ( CSVConfig struct { FieldsPerRecord int `yaml:"fields_per_record,omitempty" json:"fields_per_record"` Delimiter string `yaml:"delimiter,omitempty" json:"delimiter"` - TrimLeadingSpace bool `yaml:"trim_leading_space" json:"trim_leading_space"` + TrimLeadingSpace bool `yaml:"trim_leading_space,omitempty" json:"trim_leading_space"` Format string `yaml:"format,omitempty" json:"format"` CheckField func(string) (string, int, bool) `yaml:"-" json:"-"` }