summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2024-04-05 15:25:01 +0300
committerGitHub <noreply@github.com>2024-04-05 15:25:01 +0300
commitb6bffedc3516161c0c76be8f5837a7a2b848c69c (patch)
tree4d26af98970d53e33d05a4375d38c275e51ef3e9
parent128f112c7313ce97d166213303f1bc47500369d3 (diff)
go.d: schemas: add missing "body" and "method" (#17325)
-rw-r--r--src/go/collectors/go.d.plugin/modules/activemq/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/apache/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/bind/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/cassandra/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/cockroachdb/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/consul/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/coredns/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/couchbase/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/couchdb/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/dnsdist/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/docker_engine/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/dockerhub/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/elasticsearch/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/envoy/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/fluentd/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/geth/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/haproxy/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/hdfs/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/httpcheck/config_schema.json33
-rw-r--r--src/go/collectors/go.d.plugin/modules/k8s_kubelet/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/k8s_kubeproxy/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/lighttpd/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/logstash/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/nginx/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/nginxplus/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/nginxvts/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/phpdaemon/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/pihole/config_schema.json32
-rw-r--r--src/go/collectors/go.d.plugin/modules/powerdns/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/powerdns_recursor/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/prometheus/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/pulsar/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/rabbitmq/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/scaleio/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/tengine/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/traefik/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/vcsa/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/vernemq/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/vsphere/config_schema.json14
-rw-r--r--src/go/collectors/go.d.plugin/modules/windows/config_schema.json14
40 files changed, 584 insertions, 13 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/activemq/config_schema.json b/src/go/collectors/go.d.plugin/modules/activemq/config_schema.json
index c20eeed0ba..421354cae7 100644
--- a/src/go/collectors/go.d.plugin/modules/activemq/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/activemq/config_schema.json
@@ -126,6 +126,14 @@
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^$|^/"
+ },
+ "body": {
+ "title": "Body",
+ "type": "string"
+ },
+ "method": {
+ "title": "Method",
+ "type": "string"
}
},
"required": [
@@ -195,6 +203,12 @@
"uiOptions": {
"fullPage": true
},
+ "body": {
+ "ui:widget": "hidden"
+ },
+ "method": {
+ "ui:widget": "hidden"
+ },
"timeout": {
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
},
diff --git a/src/go/collectors/go.d.plugin/modules/apache/config_schema.json b/src/go/collectors/go.d.plugin/modules/apache/config_schema.json
index 1f31af7765..94e30202f8 100644
--- a/src/go/collectors/go.d.plugin/modules/apache/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/apache/config_schema.json
@@ -92,6 +92,14 @@
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^$|^/"
+ },
+ "body": {
+ "title": "Body",
+ "type": "string"
+ },
+ "method": {
+ "title": "Method",
+ "type": "string"
}
},
"required": [
@@ -106,6 +114,12 @@
"uiOptions": {
"fullPage": true
},
+ "body": {
+ "ui:widget": "hidden"
+ },
+ "method": {
+ "ui:widget": "hidden"
+ },
"timeout": {
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
},
diff --git a/src/go/collectors/go.d.plugin/modules/bind/config_schema.json b/src/go/collectors/go.d.plugin/modules/bind/config_schema.json
index 7d7e376a51..55aa502a65 100644
--- a/src/go/collectors/go.d.plugin/modules/bind/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/bind/config_schema.json
@@ -92,6 +92,14 @@
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^$|^/"
+ },
+ "body": {
+ "title": "Body",
+ "type": "string"
+ },
+ "method": {
+ "title": "Method",
+ "type": "string"
}
},
"required": [
@@ -150,6 +158,12 @@
"uiOptions": {
"fullPage": true
},
+ "body": {
+ "ui:widget": "hidden"
+ },
+ "method": {
+ "ui:widget": "hidden"
+ },
"timeout": {
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
},
diff --git a/src/go/collectors/go.d.plugin/modules/cassandra/config_schema.json b/src/go/collectors/go.d.plugin/modules/cassandra/config_schema.json
index 3012d5e899..d6309d739d 100644
--- a/src/go/collectors/go.d.plugin/modules/cassandra/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/cassandra/config_schema.json
@@ -92,6 +92,14 @@
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^$|^/"
+ },
+ "body": {
+ "title": "Body",
+ "type": "string"
+ },
+ "method": {
+ "title": "Method",
+ "type": "string"
}
},
"required": [
@@ -150,6 +158,12 @@
"uiOptions": {
"fullPage": true
},
+ "body": {
+ "ui:widget": "hidden"
+ },
+ "method": {
+ "ui:widget": "hidden"
+ },
"timeout": {
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
},
diff --git a/src/go/collectors/go.d.plugin/modules/cockroachdb/config_schema.json b/src/go/collectors/go.d.plugin/modules/cockroachdb/config_schema.json
index 843de390c7..e045b5916d 100644
--- a/src/go/collectors/go.d.plugin/modules/cockroachdb/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/cockroachdb/config_schema.json
@@ -92,6 +92,14 @@
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^$|^/"
+ },
+ "body": {
+ "title": "Body",
+ "type": "string"
+ },
+ "method": {
+ "title": "Method",
+ "type": "string"
}
},
"required": [
@@ -150,6 +158,12 @@
"uiOptions": {
"fullPage": true
},
+ "body": {
+ "ui:widget": "hidden"
+ },
+ "method": {
+ "ui:widget": "hidden"
+ },
"timeout": {
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
},
diff --git a/src/go/collectors/go.d.plugin/modules/consul/config_schema.json b/src/go/collectors/go.d.plugin/modules/consul/config_schema.json
index 876f4fb2eb..18679ad09c 100644
--- a/src/go/collectors/go.d.plugin/modules/consul/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/consul/config_schema.json
@@ -98,6 +98,14 @@
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^$|^/"
+ },
+ "body": {
+ "title": "Body",
+ "type": "string"
+ },
+ "method": {
+ "title": "Method",
+ "type": "string"
}
},
"required": [
@@ -157,6 +165,12 @@
"uiOptions": {
"fullPage": true
},
+ "body": {
+ "ui:widget": "hidden"
+ },
+ "method": {
+ "ui:widget": "hidden"
+ },
"timeout": {
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
},
diff --git a/src/go/collectors/go.d.plugin/modules/coredns/config_schema.json b/src/go/collectors/go.d.plugin/modules/coredns/config_schema.json
index cbad100a26..77134298b9 100644
--- a/src/go/collectors/go.d.plugin/modules/coredns/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/coredns/config_schema.json
@@ -164,6 +164,14 @@
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^$|^/"
+ },
+ "body": {
+ "title": "Body",
+ "type": "string"
+ },
+ "method": {
+ "title": "Method",
+ "type": "string"
}
},
"required": [
@@ -229,6 +237,12 @@
}
]
},
+ "body": {
+ "ui:widget": "hidden"
+ },
+ "method": {
+ "ui:widget": "hidden"
+ },
"timeout": {
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
},
diff --git a/src/go/collectors/go.d.plugin/modules/couchbase/config_schema.json b/src/go/collectors/go.d.plugin/modules/couchbase/config_schema.json
index 293b07dffc..7a69e99475 100644
--- a/src/go/collectors/go.d.plugin/modules/couchbase/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/couchbase/config_schema.json
@@ -92,6 +92,14 @@
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^$|^/"
+ },
+ "body": {
+ "title": "Body",
+ "type": "string"
+ },
+ "method": {
+ "title": "Method",
+ "type": "string"
}
},
"required": [
@@ -150,6 +158,12 @@
"uiOptions": {
"fullPage": true
},
+ "body": {
+ "ui:widget": "hidden"
+ },
+ "method": {
+ "ui:widget": "hidden"
+ },
"timeout": {
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
},
diff --git a/src/go/collectors/go.d.plugin/modules/couchdb/config_schema.json b/src/go/collectors/go.d.plugin/modules/couchdb/config_schema.json
index 23d750d278..2f9df722a4 100644
--- a/src/go/collectors/go.d.plugin/modules/couchdb/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/couchdb/config_schema.json
@@ -103,6 +103,14 @@
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^$|^/"
+ },
+ "body": {
+ "title": "Body",
+ "type": "string"
+ },
+ "method": {
+ "title": "Method",
+ "type": "string"
}
},
"required": [
@@ -164,6 +172,12 @@
"uiOptions": {
"fullPage": true
},
+ "body": {
+ "ui:widget": "hidden"
+ },
+ "method": {
+ "ui:widget": "hidden"
+ },
"timeout": {
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
},
diff --git a/src/go/collectors/go.d.plugin/modules/dnsdist/config_schema.json b/src/go/collectors/go.d.plugin/modules/dnsdist/config_schema.json
index f12fdb7b58..d635ab1a2f 100644
--- a/src/go/collectors/go.d.plugin/modules/dnsdist/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/dnsdist/config_schema.json
@@ -92,6 +92,14 @@
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^$|^/"
+ },
+ "body": {
+ "title": "Body",
+ "type": "string"
+ },
+ "method": {
+ "title": "Method",
+ "type": "string"
}
},
"required": [
@@ -150,6 +158,12 @@
"uiOptions": {
"fullPage": true
},
+ "body": {
+ "ui:widget": "hidden"
+ },
+ "method": {
+ "ui:widget": "hidden"
+ },
"timeout": {
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
},
diff --git a/src/go/collectors/go.d.plugin/modules/docker_engine/config_schema.json b/src/go/collectors/go.d.plugin/modules/docker_engine/config_schema.json
index e967e29cd0..a18a8fe863 100644
--- a/src/go/collectors/go.d.plugin/modules/docker_engine/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/docker_engine/config_schema.json
@@ -92,6 +92,14 @@
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^$|^/"
+ },
+ "body": {
+ "title": "Body",
+ "type": "string"
+ },
+ "method": {
+ "title": "Method",
+ "type": "string"
}
},
"required": [
@@ -150,6 +158,12 @@
}
]
},
+ "body": {
+ "ui:widget": "hidden"
+ },
+ "method": {
+ "ui:widget": "hidden"
+ },
"timeout": {
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
},
diff --git a/src/go/collectors/go.d.plugin/modules/dockerhub/config_schema.json b/src/go/collectors/go.d.plugin/modules/dockerhub/config_schema.json
index a8d16888b7..47842fd9bf 100644
--- a/src/go/collectors/go.d.plugin/modules/dockerhub/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/dockerhub/config_schema.json
@@ -107,6 +107,14 @@
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^$|^/"
+ },
+ "body": {
+ "title": "Body",
+ "type": "string"
+ },
+ "method": {
+ "title": "Method",
+ "type": "string"
}
},
"required": [
@@ -167,6 +175,12 @@
"uiOptions": {
"fullPage": true
},
+ "body": {
+ "ui:widget": "hidden"
+ },
+ "method": {
+ "ui:widget": "hidden"
+ },
"timeout": {
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
},
diff --git a/src/go/collectors/go.d.plugin/modules/elasticsearch/config_schema.json b/src/go/collectors/go.d.plugin/modules/elasticsearch/config_schema.json
index bc4d4eaab3..f1c39b0233 100644
--- a/src/go/collectors/go.d.plugin/modules/elasticsearch/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/elasticsearch/config_schema.json
@@ -122,6 +122,14 @@
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^$|^/"
+ },
+ "body": {
+ "title": "Body",
+ "type": "string"
+ },
+ "method": {
+ "title": "Method",
+ "type": "string"
}
},
"required": [
@@ -185,6 +193,12 @@
"uiOptions": {
"fullPage": true
},
+ "body": {
+ "ui:widget": "hidden"
+ },
+ "method": {
+ "ui:widget": "hidden"
+ },
"timeout": {
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
},
diff --git a/src/go/collectors/go.d.plugin/modules/envoy/config_schema.json b/src/go/collectors/go.d.plugin/modules/envoy/config_schema.json
index c60bbf9097..edcb67994a 100644
--- a/src/go/collectors/go.d.plugin/modules/envoy/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/envoy/config_schema.json
@@ -92,6 +92,14 @@
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^$|^/"
+ },
+ "body": {
+ "title": "Body",
+ "type": "string"
+ },
+ "method": {
+ "title": "Method",
+ "type": "string"
}
},
"required": [
@@ -150,6 +158,12 @@
"uiOptions": {
"fullPage": true
},
+ "body": {
+ "ui:widget": "hidden"
+ },
+ "method": {
+ "ui:widget": "hidden"
+ },
"timeout": {
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
},
diff --git a/src/go/collectors/go.d.plugin/modules/fluentd/config_schema.json b/src/go/collectors/go.d.plugin/modules/fluentd/config_schema.json
index 922394a52b..ff2adc739b 100644
--- a/src/go/collectors/go.d.plugin/modules/fluentd/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/fluentd/config_schema.json
@@ -92,6 +92,14 @@
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^$|^/"
+ },
+ "body": {
+ "title": "Body",
+ "type": "string"
+ },
+ "method": {
+ "title": "Method",
+ "type": "string"
}
},
"required": [
@@ -150,6 +158,12 @@
"uiOptions": {
"fullPage": true
},
+ "body": {
+ "ui:widget": "hidden"
+ },
+ "method": {
+ "ui:widget": "hidden"
+ },
"timeout": {
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
},
diff --git a/src/go/collectors/go.d.plugin/modules/geth/config_schema.json b/src/go/collectors/go.d.plugin/modules/geth/config_schema.json
index 8a79623c58..3fd239e4f4 100644
--- a/src/go/collectors/go.d.plugin/modules/geth/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/geth/config_schema.json
@@ -92,6 +92,14 @@
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^$|^/"
+ },
+ "body": {
+ "title": "Body",
+ "type": "string"
+ },
+ "method": {
+ "title": "Method",
+ "type": "string"
}
},
"required": [
@@ -150,6 +158,12 @@
"uiOptions": {
"fullPage": true
},
+ "body": {
+ "ui:widget": "hidden"
+ },
+ "method": {
+ "ui:widget": "hidden"
+ },
"timeout": {
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
},
diff --git a/src/go/collectors/go.d.plugin/modules/haproxy/config_schema.json b/src/go/collectors/go.d.plugin/modules/haproxy/config_schema.json
index 31d1f6e2aa..a5d43236cf 100644
--- a/src/go/collectors/go.d.plugin/modules/haproxy/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/haproxy/config_schema.json
@@ -92,6 +92,14 @@
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^$|^/"
+ },
+ "body": {
+ "title": "Body",
+ "type": "string"
+ },
+ "method": {
+ "title": "Method",
+ "type": "string"
}
},
"required": [
@@ -150,6 +158,12 @@
"uiOptions": {
"fullPage": true
},
+ "body": {
+ "ui:widget": "hidden"
+ },
+ "method": {
+ "ui:widget": "hidden"
+ },
"timeout": {
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
},
diff --git a/src/go/collectors/go.d.plugin/modules/hdfs/config_schema.json b/src/go/collectors/go.d.plugin/modules/hdfs/config_schema.json
index 4cc017c450..416b694185 100644
--- a/src/go/collectors/go.d.plugin/modules/hdfs/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/hdfs/config_schema.json
@@ -92,6 +92,14 @@
"description": "The path to the client key file for TLS authentication.",
"type": "string",
"pattern": "^$|^/"
+ },
+ "body": {
+ "title": "Body",
+ "type": "string"
+ },
+ "method": {
+ "title": "Method",
+ "type": "string"
}
},
"required": [
@@ -150,6 +158,12 @@
"uiOptions": {
"fullPage": true
},
+ "body": {
+ "ui:widget": "hidden"
+ },
+ "method": {
+ "ui:widget": "hidden"
+ },
"url": {
"ui:help": "By default, the DataNode's port is 9864, and the NameNode's port is 9870, as specified in the [HDFS configuration](https://hadoop.apache.org/docs/r3.1.3/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml)."
},
diff --git a/src/go/collectors/go.d.plugin/modules/httpcheck/config_schema.json b/src/go/collectors/go.d.plugin/modules/httpcheck/config_schema.json
index 38a6f40503..80db7b05c9 100644
--- a/src/go/collectors/go.d.plugin/modules/httpcheck/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/httpcheck/config_schema.json
@@ -29,7 +29,24 @@
"description": "If set, the client will not follow HTTP redirects automatically.",
"type": "boolean"
},
- "accepted_statuses": {
+ "method": {
+ "title": "Method",
+ "description": "The [HTTP method