summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2024-05-12 13:53:59 +0300
committerGitHub <noreply@github.com>2024-05-12 13:53:59 +0300
commite9471741f29114b13ed45375719de049872d0733 (patch)
tree4d46ff2013b84abcd5410eb8e0b75f78be4bc245 /src
parentf039b8efb87db9a474cac70f8e7c56a9e0e2e21b (diff)
go.d ping add missing setting to schema (#17642)
Diffstat (limited to 'src')
-rw-r--r--src/go/collectors/go.d.plugin/modules/ping/config_schema.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/ping/config_schema.json b/src/go/collectors/go.d.plugin/modules/ping/config_schema.json
index 750c8fab7a..007dd45b09 100644
--- a/src/go/collectors/go.d.plugin/modules/ping/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/ping/config_schema.json
@@ -55,6 +55,12 @@
"type": "number",
"minimum": 0.1,
"default": 0.1
+ },
+ "interface": {
+ "title": "Interface",
+ "description": "The name of the network interface whose IP address will be used as the source for sending ping packets.",
+ "type": "string",
+ "default": ""
}
},
"required": [
@@ -81,6 +87,9 @@
},
"interval": {
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
+ },
+ "hosts": {
+ "ui:listFlavour": "list"
}
}
}