Skip to content

Commit

Permalink
Add a missing parameter to the allmetrics endpoint in Swagger Editor (n…
Browse files Browse the repository at this point in the history
  • Loading branch information
vlvkobal authored Jan 17, 2020
1 parent 0d509a0 commit 413d6a2
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
14 changes: 14 additions & 0 deletions web/api/netdata-swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
11 changes: 11 additions & 0 deletions web/api/netdata-swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 413d6a2

Please sign in to comment.