diff options
author | Vladimir Kobal <vlad@prokk.net> | 2020-01-17 13:47:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-17 13:47:25 +0200 |
commit | 413d6a20539c50933553d6bc7f4f0cfbdeb5eed6 (patch) | |
tree | 56e22e533c6b3a50f63a2a346e62d70d886fc85b /web | |
parent | 0d509a07ca194950fa7f3e3265d4a948f7c0d35a (diff) |
Add a missing parameter to the allmetrics endpoint in Swagger Editor (#7776)
Diffstat (limited to 'web')
-rw-r--r-- | web/api/netdata-swagger.json | 14 | ||||
-rw-r--r-- | web/api/netdata-swagger.yaml | 11 |
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. |