summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/api/netdata-swagger.json14
-rw-r--r--web/api/netdata-swagger.yaml11
2 files changed, 25 insertions, 0 deletions
diff --git a/web/api/netdata-swagger.json b/web/api/netdata-swagger.json
index 6a222a00ab..ca2d03631f 100644
--- a/web/api/netdata-swagger.json
+++ b/web/api/netdata-swagger.json
@@ -562,6 +562,20 @@
}
},
{
+ "name": "variables",
+ "in": "query",
+ "description": "When enabled, netdata will expose various system configuration metrics.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "enum": [
+ "yes",
+ "no"
+ ],
+ "default": "no"
+ }
+ },
+ {
"name": "help",
"in": "query",
"description": "Enable or disable HELP lines in prometheus output.",
diff --git a/web/api/netdata-swagger.yaml b/web/api/netdata-swagger.yaml
index 669d1d1917..77c2e7c91b 100644
--- a/web/api/netdata-swagger.yaml
+++ b/web/api/netdata-swagger.yaml
@@ -481,6 +481,17 @@ paths:
- prometheus_all_hosts
- json
default: shell
+ - name: variables
+ in: query
+ description: When enabled, netdata will expose various system
+ configuration metrics.
+ required: false
+ schema:
+ type: string
+ enum:
+ - yes
+ - no
+ default: no
- name: help
in: query
description: Enable or disable HELP lines in prometheus output.