master
json 221 lines 5.81 KB
Raw
1 {
2 "jsonSchema": {
3 "$schema": "http://json-schema.org/draft-07/schema#",
4 "properties": {
5 "cell_name": {
6 "default": "",
7 "description": "CellName appends the Liberty cell label to every exported time-series.",
8 "title": "Cell Name",
9 "type": "string"
10 },
11 "collect_jvm_metrics": {
12 "default": "enabled",
13 "description": "CollectJVMMetrics toggles JVM/base scope metrics scraped from the MicroProfile endpoint.",
14 "enum": [
15 "auto",
16 "enabled",
17 "disabled"
18 ],
19 "title": "Collect Jvm Metrics",
20 "type": "string"
21 },
22 "collect_rest_matching": {
23 "default": "",
24 "description": "CollectRESTMatching filters REST endpoints using glob-style patterns (supports `*`, `?`, `!` prefixes).",
25 "title": "Collect Rest Matching",
26 "type": "string"
27 },
28 "collect_rest_metrics": {
29 "default": "enabled",
30 "description": "CollectRESTMetrics toggles per-endpoint REST/JAX-RS metrics (may introduce cardinality).",
31 "enum": [
32 "auto",
33 "enabled",
34 "disabled"
35 ],
36 "title": "Collect Rest Metrics",
37 "type": "string"
38 },
39 "headers": {
40 "description": "Custom headers",
41 "title": "Headers",
42 "type": "object"
43 },
44 "max_rest_endpoints": {
45 "default": 50,
46 "description": "MaxRESTEndpoints limits how many REST endpoints are exported when REST metrics are enabled (0 disables the limit).",
47 "title": "Max Rest Endpoints",
48 "type": "integer"
49 },
50 "metrics_endpoint": {
51 "default": "/metrics",
52 "description": "MetricsEndpoint overrides the metrics path relative to the base URL (accepts absolute URLs as well).",
53 "title": "Metrics Endpoint",
54 "type": "string"
55 },
56 "node_name": {
57 "default": "",
58 "description": "NodeName appends the Liberty node label to every exported time-series.",
59 "title": "Node Name",
60 "type": "string"
61 },
62 "not_follow_redirects": {
63 "default": false,
64 "description": "Disable HTTP redirects",
65 "title": "Not Follow Redirects",
66 "type": "boolean"
67 },
68 "password": {
69 "default": "",
70 "description": "Password for authentication",
71 "title": "Password",
72 "type": "string"
73 },
74 "proxy_password": {
75 "default": "",
76 "description": "Proxy password",
77 "title": "Proxy Password",
78 "type": "string"
79 },
80 "proxy_url": {
81 "default": "",
82 "description": "Proxy URL",
83 "title": "Proxy Url",
84 "type": "string"
85 },
86 "proxy_username": {
87 "default": "",
88 "description": "Proxy username",
89 "title": "Proxy Username",
90 "type": "string"
91 },
92 "server_name": {
93 "default": "",
94 "description": "ServerName appends the Liberty server label to every exported time-series.",
95 "title": "Server Name",
96 "type": "string"
97 },
98 "timeout": {
99 "default": 10000000000,
100 "description": "Request timeout in seconds",
101 "title": "Timeout",
102 "type": "integer"
103 },
104 "tls_ca": {
105 "default": "",
106 "description": "Custom CA bundle path",
107 "title": "TLS Ca",
108 "type": "string"
109 },
110 "tls_cert": {
111 "default": "",
112 "description": "Client certificate path",
113 "title": "TLS Cert",
114 "type": "string"
115 },
116 "tls_key": {
117 "default": "",
118 "description": "Client key path",
119 "title": "TLS Key",
120 "type": "string"
121 },
122 "tls_skip_verify": {
123 "default": false,
124 "description": "Skip TLS certificate verification",
125 "title": "TLS Skip Verify",
126 "type": "boolean"
127 },
128 "update_every": {
129 "default": 1,
130 "description": "Data collection frequency",
131 "minimum": 1,
132 "title": "Update Every",
133 "type": "integer"
134 },
135 "url": {
136 "default": "",
137 "description": "Target URL",
138 "title": "Url",
139 "type": "string"
140 },
141 "username": {
142 "default": "",
143 "description": "Username for authentication",
144 "title": "Username",
145 "type": "string"
146 },
147 "vnode": {
148 "default": "",
149 "description": "Vnode",
150 "title": "Vnode",
151 "type": "string"
152 }
153 },
154 "title": "websphere_mp collector configuration",
155 "type": "object"
156 },
157 "uiSchema": {
158 "password": {
159 "ui:widget": "password"
160 },
161 "proxy_password": {
162 "ui:widget": "password"
163 },
164 "ui:flavour": "tabs",
165 "ui:options": {
166 "tabs": [
167 {
168 "fields": [
169 "tls_key",
170 "tls_cert",
171 "tls_ca",
172 "tls_skip_verify",
173 "headers",
174 "proxy_password",
175 "proxy_username",
176 "proxy_url",
177 "not_follow_redirects"
178 ],
179 "title": "HTTP"
180 },
181 {
182 "fields": [
183 "timeout",
184 "password",
185 "username",
186 "url",
187 "update_every",
188 "vnode",
189 "metrics_endpoint"
190 ],
191 "title": "Connection"
192 },
193 {
194 "fields": [
195 "cell_name",
196 "node_name",
197 "server_name"
198 ],
199 "title": "Identity"
200 },
201 {
202 "fields": [
203 "collect_jvm_metrics"
204 ],
205 "title": "Other Metrics"
206 },
207 {
208 "fields": [
209 "collect_rest_metrics",
210 "max_rest_endpoints",
211 "collect_rest_matching"
212 ],
213 "title": "REST Endpoints"
214 }
215 ]
216 },
217 "uiOptions": {
218 "fullPage": true
219 }
220 }
221 }