go.d: schemas: add missing "body" and "method" (#17325)
Ilya Mashchenko committed
Apr 5, 2024 at 15:25 UTC
b6bffedc3516161c0c76be8f5837a7a2b848c69c
40 files changed
+584
-13
src/go/collectors/go.d.plugin/modules/activemq/config_schema.json
+14
@@ -126,6 +126,14 @@
126
"description": "The path to the client key file for TLS authentication.",
127
"type": "string",
128
"pattern": "^$|^/"
129
+ },
130
+ "body": {
131
+ "title": "Body",
132
+ "type": "string"
133
+ },
134
+ "method": {
135
+ "title": "Method",
136
+ "type": "string"
137
}
138
},
139
"required": [
@@ -195,6 +203,12 @@
203
"uiOptions": {
204
"fullPage": true
205
},
206
+ "body": {
207
+ "ui:widget": "hidden"
208
+ },
209
+ "method": {
210
+ "ui:widget": "hidden"
211
+ },
212
"timeout": {
213
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
214
},
src/go/collectors/go.d.plugin/modules/apache/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -106,6 +114,12 @@
114
"uiOptions": {
115
"fullPage": true
116
},
117
+ "body": {
118
+ "ui:widget": "hidden"
119
+ },
120
+ "method": {
121
+ "ui:widget": "hidden"
122
+ },
123
"timeout": {
124
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
125
},
src/go/collectors/go.d.plugin/modules/bind/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/cassandra/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/cockroachdb/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/consul/config_schema.json
+14
@@ -98,6 +98,14 @@
98
"description": "The path to the client key file for TLS authentication.",
99
"type": "string",
100
"pattern": "^$|^/"
101
+ },
102
+ "body": {
103
+ "title": "Body",
104
+ "type": "string"
105
+ },
106
+ "method": {
107
+ "title": "Method",
108
+ "type": "string"
109
}
110
},
111
"required": [
@@ -157,6 +165,12 @@
165
"uiOptions": {
166
"fullPage": true
167
},
168
+ "body": {
169
+ "ui:widget": "hidden"
170
+ },
171
+ "method": {
172
+ "ui:widget": "hidden"
173
+ },
174
"timeout": {
175
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
176
},
src/go/collectors/go.d.plugin/modules/coredns/config_schema.json
+14
@@ -164,6 +164,14 @@
164
"description": "The path to the client key file for TLS authentication.",
165
"type": "string",
166
"pattern": "^$|^/"
167
+ },
168
+ "body": {
169
+ "title": "Body",
170
+ "type": "string"
171
+ },
172
+ "method": {
173
+ "title": "Method",
174
+ "type": "string"
175
}
176
},
177
"required": [
@@ -229,6 +237,12 @@
237
}
238
]
239
},
240
+ "body": {
241
+ "ui:widget": "hidden"
242
+ },
243
+ "method": {
244
+ "ui:widget": "hidden"
245
+ },
246
"timeout": {
247
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
248
},
src/go/collectors/go.d.plugin/modules/couchbase/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/couchdb/config_schema.json
+14
@@ -103,6 +103,14 @@
103
"description": "The path to the client key file for TLS authentication.",
104
"type": "string",
105
"pattern": "^$|^/"
106
+ },
107
+ "body": {
108
+ "title": "Body",
109
+ "type": "string"
110
+ },
111
+ "method": {
112
+ "title": "Method",
113
+ "type": "string"
114
}
115
},
116
"required": [
@@ -164,6 +172,12 @@
172
"uiOptions": {
173
"fullPage": true
174
},
175
+ "body": {
176
+ "ui:widget": "hidden"
177
+ },
178
+ "method": {
179
+ "ui:widget": "hidden"
180
+ },
181
"timeout": {
182
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
183
},
src/go/collectors/go.d.plugin/modules/dnsdist/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/docker_engine/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
}
159
]
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/dockerhub/config_schema.json
+14
@@ -107,6 +107,14 @@
107
"description": "The path to the client key file for TLS authentication.",
108
"type": "string",
109
"pattern": "^$|^/"
110
+ },
111
+ "body": {
112
+ "title": "Body",
113
+ "type": "string"
114
+ },
115
+ "method": {
116
+ "title": "Method",
117
+ "type": "string"
118
}
119
},
120
"required": [
@@ -167,6 +175,12 @@
175
"uiOptions": {
176
"fullPage": true
177
},
178
+ "body": {
179
+ "ui:widget": "hidden"
180
+ },
181
+ "method": {
182
+ "ui:widget": "hidden"
183
+ },
184
"timeout": {
185
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
186
},
src/go/collectors/go.d.plugin/modules/elasticsearch/config_schema.json
+14
@@ -122,6 +122,14 @@
122
"description": "The path to the client key file for TLS authentication.",
123
"type": "string",
124
"pattern": "^$|^/"
125
+ },
126
+ "body": {
127
+ "title": "Body",
128
+ "type": "string"
129
+ },
130
+ "method": {
131
+ "title": "Method",
132
+ "type": "string"
133
}
134
},
135
"required": [
@@ -185,6 +193,12 @@
193
"uiOptions": {
194
"fullPage": true
195
},
196
+ "body": {
197
+ "ui:widget": "hidden"
198
+ },
199
+ "method": {
200
+ "ui:widget": "hidden"
201
+ },
202
"timeout": {
203
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
204
},
src/go/collectors/go.d.plugin/modules/envoy/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/fluentd/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/geth/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/haproxy/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/hdfs/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"url": {
168
"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)."
169
},
src/go/collectors/go.d.plugin/modules/httpcheck/config_schema.json
+29
-4
@@ -29,7 +29,24 @@
29
"description": "If set, the client will not follow HTTP redirects automatically.",
30
"type": "boolean"
31
},
32
- "accepted_statuses": {
32
+ "method": {
33
+ "title": "Method",
34
+ "description": "The [HTTP method](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) to use for the request. An empty string means `GET`.",
35
+ "type": "string",
36
+ "default": "GET",
37
+ "examples": [
38
+ "GET",
39
+ "POST",
40
+ "PUT",
41
+ "PATCH"
42
+ ]
43
+ },
44
+ "body": {
45
+ "title": "Body",
46
+ "description": "The body content to send along with the HTTP request (if applicable).",
47
+ "type": "string"
48
+ },
49
+ "status_accepted": {
50
"title": "Status code check",
51
"description": "Specifies the list of **HTTP response status codes** that are considered **acceptable**. Responses with status codes not included in this list will be categorized as 'bad status' in the status chart.",
52
"type": [
@@ -159,7 +176,7 @@
176
},
177
"required": [
178
"url",
162
- "accepted_statuses"
179
+ "status_accepted"
180
],
181
"additionalProperties": false,
182
"patternProperties": {
@@ -176,13 +193,15 @@
193
"update_every",
194
"url",
195
"timeout",
179
- "not_follow_redirects"
196
+ "not_follow_redirects",
197
+ "method",
198
+ "body"
199
]
200
},
201
{
202
"title": "Checks",
203
"fields": [
185
- "accepted_statuses",
204
+ "status_accepted",
205
"response_match",
206
"header_match"
207
]
@@ -228,6 +247,12 @@
247
},
248
"timeout": {
249
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
250
+ },
251
+ "method": {
252
+ "ui:placeholder": "GET"
253
+ },
254
+ "body": {
255
+ "ui:widget": "textarea"
256
}
257
}
258
}
src/go/collectors/go.d.plugin/modules/k8s_kubelet/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/k8s_kubeproxy/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/lighttpd/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/logstash/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/nginx/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/nginxplus/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/nginxvts/config_schema.json
+14
@@ -91,6 +91,14 @@
91
"description": "The path to the client key file for TLS authentication.",
92
"type": "string",
93
"pattern": "^$|^/"
94
+ },
95
+ "body": {
96
+ "title": "Body",
97
+ "type": "string"
98
+ },
99
+ "method": {
100
+ "title": "Method",
101
+ "type": "string"
102
}
103
},
104
"required": [
@@ -149,6 +157,12 @@
157
"uiOptions": {
158
"fullPage": true
159
},
160
+ "body": {
161
+ "ui:widget": "hidden"
162
+ },
163
+ "method": {
164
+ "ui:widget": "hidden"
165
+ },
166
"timeout": {
167
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
168
},
src/go/collectors/go.d.plugin/modules/phpdaemon/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/pihole/config_schema.json
+23
-9
@@ -98,6 +98,14 @@
98
"description": "The path to the client key file for TLS authentication.",
99
"type": "string",
100
"pattern": "^$|^/"
101
+ },
102
+ "body": {
103
+ "title": "Body",
104
+ "type": "string"
105
+ },
106
+ "method": {
107
+ "title": "Method",
108
+ "type": "string"
109
}
110
},
111
"required": [
@@ -112,15 +120,6 @@
120
"uiOptions": {
121
"fullPage": true
122
},
115
- "timeout": {
116
- "ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
117
- },
118
- "password": {
119
- "ui:widget": "password"
120
- },
121
- "proxy_password": {
122
- "ui:widget": "password"
123
- },
123
"ui:flavour": "tabs",
124
"ui:options": {
125
"tabs": [
@@ -165,6 +164,21 @@
164
]
165
}
166
]
167
+ },
168
+ "body": {
169
+ "ui:widget": "hidden"
170
+ },
171
+ "method": {
172
+ "ui:widget": "hidden"
173
+ },
174
+ "timeout": {
175
+ "ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
176
+ },
177
+ "password": {
178
+ "ui:widget": "password"
179
+ },
180
+ "proxy_password": {
181
+ "ui:widget": "password"
182
}
183
}
184
}
src/go/collectors/go.d.plugin/modules/powerdns/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/powerdns_recursor/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/prometheus/config_schema.json
+14
@@ -192,6 +192,14 @@
192
"description": "The path to the client key file for TLS authentication.",
193
"type": "string",
194
"pattern": "^$|^/"
195
+ },
196
+ "body": {
197
+ "title": "Body",
198
+ "type": "string"
199
+ },
200
+ "method": {
201
+ "title": "Method",
202
+ "type": "string"
203
}
204
},
205
"required": [
@@ -286,6 +294,12 @@
294
},
295
"proxy_password": {
296
"ui:widget": "password"
297
+ },
298
+ "body": {
299
+ "ui:widget": "hidden"
300
+ },
301
+ "method": {
302
+ "ui:widget": "hidden"
303
}
304
}
305
}
src/go/collectors/go.d.plugin/modules/pulsar/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/rabbitmq/config_schema.json
+14
@@ -100,6 +100,14 @@
100
"description": "The path to the client key file for TLS authentication.",
101
"type": "string",
102
"pattern": "^$|^/"
103
+ },
104
+ "body": {
105
+ "title": "Body",
106
+ "type": "string"
107
+ },
108
+ "method": {
109
+ "title": "Method",
110
+ "type": "string"
111
}
112
},
113
"required": [
@@ -159,6 +167,12 @@
167
"uiOptions": {
168
"fullPage": true
169
},
170
+ "body": {
171
+ "ui:widget": "hidden"
172
+ },
173
+ "method": {
174
+ "ui:widget": "hidden"
175
+ },
176
"timeout": {
177
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
178
},
src/go/collectors/go.d.plugin/modules/scaleio/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/tengine/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/traefik/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/vcsa/config_schema.json
+14
@@ -91,6 +91,14 @@
91
"description": "The path to the client key file for TLS authentication.",
92
"type": "string",
93
"pattern": "^$|^/"
94
+ },
95
+ "body": {
96
+ "title": "Body",
97
+ "type": "string"
98
+ },
99
+ "method": {
100
+ "title": "Method",
101
+ "type": "string"
102
}
103
},
104
"required": [
@@ -149,6 +157,12 @@
157
"uiOptions": {
158
"fullPage": true
159
},
160
+ "body": {
161
+ "ui:widget": "hidden"
162
+ },
163
+ "method": {
164
+ "ui:widget": "hidden"
165
+ },
166
"url": {
167
"ui:placeholder": "https://203.0.113.0"
168
},
src/go/collectors/go.d.plugin/modules/vernemq/config_schema.json
+14
@@ -92,6 +92,14 @@
92
"description": "The path to the client key file for TLS authentication.",
93
"type": "string",
94
"pattern": "^$|^/"
95
+ },
96
+ "body": {
97
+ "title": "Body",
98
+ "type": "string"
99
+ },
100
+ "method": {
101
+ "title": "Method",
102
+ "type": "string"
103
}
104
},
105
"required": [
@@ -150,6 +158,12 @@
158
"uiOptions": {
159
"fullPage": true
160
},
161
+ "body": {
162
+ "ui:widget": "hidden"
163
+ },
164
+ "method": {
165
+ "ui:widget": "hidden"
166
+ },
167
"timeout": {
168
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
169
},
src/go/collectors/go.d.plugin/modules/vsphere/config_schema.json
+14
@@ -136,6 +136,14 @@
136
"description": "The path to the client key file for TLS authentication.",
137
"type": "string",
138
"pattern": "^$|^/"
139
+ },
140
+ "body": {
141
+ "title": "Body",
142
+ "type": "string"
143
+ },
144
+ "method": {
145
+ "title": "Method",
146
+ "type": "string"
147
}
148
},
149
"required": [
@@ -206,6 +214,12 @@
214
}
215
]
216
},
217
+ "body": {
218
+ "ui:widget": "hidden"
219
+ },
220
+ "method": {
221
+ "ui:widget": "hidden"
222
+ },
223
"url": {
224
"ui:placeholder": "https://203.0.113.0"
225
},
src/go/collectors/go.d.plugin/modules/windows/config_schema.json
+14
@@ -90,6 +90,14 @@
90
"description": "The path to the client key file for TLS authentication.",
91
"type": "string",
92
"pattern": "^$|^/"
93
+ },
94
+ "body": {
95
+ "title": "Body",
96
+ "type": "string"
97
+ },
98
+ "method": {
99
+ "title": "Method",
100
+ "type": "string"
101
}
102
},
103
"required": [
@@ -148,6 +156,12 @@
156
"uiOptions": {
157
"fullPage": true
158
},
159
+ "body": {
160
+ "ui:widget": "hidden"
161
+ },
162
+ "method": {
163
+ "ui:widget": "hidden"
164
+ },
165
"url": {
166
"ui:placeholder": "https://203.0.113.0/metrics"
167
},