| 1 | { |
| 2 | "jsonSchema": { |
| 3 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 4 | "title": "Virtual Node configuration.", |
| 5 | "type": "object", |
| 6 | "properties": { |
| 7 | "hostname": { |
| 8 | "title": "Hostname", |
| 9 | "description": "The hostname that identifies this virtual node in the Netdata UI and API. Must be unique within your monitoring environment.", |
| 10 | "type": "string" |
| 11 | }, |
| 12 | "guid": { |
| 13 | "title": "GUID", |
| 14 | "description": "Uniquely identifies the node. Must be in [UUID format](https://www.guidgen.com/). Changing this value will result in creating a **new Virtual Node** - the existing Virtual Node and its history will not be modified.", |
| 15 | "type": "string" |
| 16 | }, |
| 17 | "labels": { |
| 18 | "title": "Labels", |
| 19 | "description": "Optional key-value pairs that help categorize and organize virtual nodes. Labels prefixed with `_` have special meaning for the scripts.d plugin: `_address` maps to $HOSTADDRESS$, `_alias` maps to $HOSTALIAS$, and other `_`-prefixed keys (e.g. `_DATACENTER`) map to $_HOST*$ custom variables.", |
| 20 | "type": [ |
| 21 | "object", |
| 22 | "null" |
| 23 | ], |
| 24 | "additionalProperties": { |
| 25 | "type": "string" |
| 26 | } |
| 27 | } |
| 28 | }, |
| 29 | "required": [ |
| 30 | "guid" |
| 31 | ] |
| 32 | }, |
| 33 | "uiSchema": { |
| 34 | "uiOptions": { |
| 35 | "fullPage": true |
| 36 | }, |
| 37 | "hostname": { |
| 38 | "ui:placeholder": "If not specified, the job name will be used as the hostname." |
| 39 | }, |
| 40 | "guid": { |
| 41 | "ui:help": "Generate a UUID using the command line: `uuidgen` on macOS/Linux or `[guid]::NewGuid()` in PowerShell." |
| 42 | }, |
| 43 | "labels": { |
| 44 | "ui:help": "Labels can be used for filtering and grouping in the Netdata UI. Common labels include environment, region, service, team, etc." |
| 45 | } |
| 46 | } |
| 47 | } |