From 413d6a20539c50933553d6bc7f4f0cfbdeb5eed6 Mon Sep 17 00:00:00 2001 From: Vladimir Kobal Date: Fri, 17 Jan 2020 13:47:25 +0200 Subject: Add a missing parameter to the allmetrics endpoint in Swagger Editor (#7776) --- web/api/netdata-swagger.json | 14 ++++++++++++++ web/api/netdata-swagger.yaml | 11 +++++++++++ 2 files changed, 25 insertions(+) (limited to 'web/api') 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 @@ -561,6 +561,20 @@ "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", 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. -- cgit v1.2.3