master
json 136 lines 3.99 KB
Raw
1 {
2 "jsonSchema": {
3 "$schema": "http://json-schema.org/draft-07/schema#",
4 "title": "RethinkDB collector configuration.",
5 "type": "object",
6 "properties": {
7 "update_every": {
8 "title": "Update every",
9 "description": "Data collection interval, measured in seconds.",
10 "type": "integer",
11 "minimum": 1,
12 "default": 1
13 },
14 "autodetection_retry": {
15 "title": "Detection retry",
16 "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17 "type": "integer",
18 "minimum": 0,
19 "default": 60
20 },
21 "address": {
22 "title": "Address",
23 "description": "The IP address and port where the RethinkDB service listens for connections.",
24 "type": "string",
25 "default": "127.0.0.1:28015"
26 },
27 "timeout": {
28 "title": "Timeout",
29 "description": "Timeout for establishing a connection and communication (reading and writing) in seconds.",
30 "type": "number",
31 "minimum": 0.5,
32 "default": 1
33 },
34 "vnode": {
35 "title": "Vnode",
36 "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
37 "type": "string"
38 },
39 "username": {
40 "title": "Username",
41 "description": "The username for basic authentication.",
42 "type": "string",
43 "sensitive": true
44 },
45 "password": {
46 "title": "Password",
47 "description": "The password for basic authentication.",
48 "type": "string",
49 "sensitive": true
50 },
51 "functions": {
52 "title": "Functions",
53 "type": "object",
54 "properties": {
55 "running_queries": {
56 "title": "Running Queries",
57 "type": "object",
58 "properties": {
59 "disabled": {
60 "title": "Disabled",
61 "description": "Disable the running-queries function.",
62 "type": "boolean",
63 "default": false
64 },
65 "timeout": {
66 "title": "Timeout",
67 "description": "Query timeout in seconds. Set to 0 to use the collector's timeout.",
68 "type": "number",
69 "minimum": 0
70 },
71 "limit": {
72 "title": "Limit",
73 "description": "Maximum number of queries to return. Set to 0 to use the default (500).",
74 "type": "integer",
75 "minimum": 0,
76 "maximum": 5000,
77 "default": 500
78 }
79 }
80 }
81 }
82 }
83 },
84 "required": [
85 "address"
86 ]
87 },
88 "uiSchema": {
89 "uiOptions": {
90 "fullPage": true
91 },
92 "vnode": {
93 "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
94 },
95 "autodetection_retry": {
96 "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
97 },
98 "timeout": {
99 "ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
100 },
101 "username": {
102 "ui:widget": "password"
103 },
104 "password": {
105 "ui:widget": "password"
106 },
107 "ui:flavour": "tabs",
108 "ui:options": {
109 "tabs": [
110 {
111 "title": "Base",
112 "fields": [
113 "update_every",
114 "autodetection_retry",
115 "address",
116 "timeout",
117 "vnode"
118 ]
119 },
120 {
121 "title": "Auth",
122 "fields": [
123 "username",
124 "password"
125 ]
126 },
127 {
128 "title": "Functions",
129 "fields": [
130 "functions"
131 ]
132 }
133 ]
134 }
135 }
136 }