Skip to content

Commit 8ba0c9f

Browse files
authored
Merge pull request #228 from Helene/fileset_quota_dashboards
Publish fileset quota reporting dashboard examples
2 parents 51f42a7 + aae378b commit 8ba0c9f

7 files changed

+3734
-0
lines changed
Lines changed: 287 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,287 @@
1+
{
2+
"__inputs": [
3+
{
4+
"name": "DS_VM2-CLUSTER1",
5+
"label": "vm2-cluster1",
6+
"description": "",
7+
"type": "datasource",
8+
"pluginId": "opentsdb",
9+
"pluginName": "OpenTSDB"
10+
}
11+
],
12+
"__elements": {},
13+
"__requires": [
14+
{
15+
"type": "grafana",
16+
"id": "grafana",
17+
"name": "Grafana",
18+
"version": "11.0.0"
19+
},
20+
{
21+
"type": "datasource",
22+
"id": "opentsdb",
23+
"name": "OpenTSDB",
24+
"version": "1.0.0"
25+
},
26+
{
27+
"type": "panel",
28+
"id": "timeseries",
29+
"name": "Time series",
30+
"version": ""
31+
}
32+
],
33+
"annotations": {
34+
"list": [
35+
{
36+
"builtIn": 1,
37+
"datasource": {
38+
"type": "grafana",
39+
"uid": "-- Grafana --"
40+
},
41+
"enable": true,
42+
"hide": true,
43+
"iconColor": "rgba(0, 211, 255, 1)",
44+
"name": "Annotations & Alerts",
45+
"type": "dashboard"
46+
}
47+
]
48+
},
49+
"editable": true,
50+
"fiscalYearStartMonth": 0,
51+
"graphTooltip": 0,
52+
"id": null,
53+
"links": [],
54+
"liveNow": false,
55+
"panels": [
56+
{
57+
"datasource": {
58+
"type": "opentsdb",
59+
"uid": "${DS_VM2-CLUSTER1}"
60+
},
61+
"description": "This Graph based on the metrics of the GPFSFilesetQuota sensor. The time series vizualization shows the number of currently used kilobytes in relation to the assigned soft and hard quota limit of the byFileset from the $byFilesystem.\n\n**Note** that the GPFSFilesetQuota sensor is running once per hour. \n\nUsed metrics:\ngpfs_rq_blk_current: Number of kilobytes currently in use.\ngpfs_rq_blk_soft_limit: Assigned soft quota limit.\ngpfs_rq_blk_hard_limit: Assigned hard quota limit.",
62+
"fieldConfig": {
63+
"defaults": {
64+
"color": {
65+
"fixedColor": "dark-red",
66+
"mode": "palette-classic"
67+
},
68+
"custom": {
69+
"axisBorderShow": false,
70+
"axisCenteredZero": false,
71+
"axisColorMode": "text",
72+
"axisLabel": "",
73+
"axisPlacement": "auto",
74+
"barAlignment": 0,
75+
"drawStyle": "line",
76+
"fillOpacity": 20,
77+
"gradientMode": "none",
78+
"hideFrom": {
79+
"legend": false,
80+
"tooltip": false,
81+
"viz": false
82+
},
83+
"insertNulls": false,
84+
"lineInterpolation": "linear",
85+
"lineWidth": 2,
86+
"pointSize": 1,
87+
"scaleDistribution": {
88+
"type": "linear"
89+
},
90+
"showPoints": "auto",
91+
"spanNulls": false,
92+
"stacking": {
93+
"group": "A",
94+
"mode": "none"
95+
},
96+
"thresholdsStyle": {
97+
"mode": "off"
98+
}
99+
},
100+
"fieldMinMax": false,
101+
"mappings": [],
102+
"noValue": "NaN",
103+
"thresholds": {
104+
"mode": "absolute",
105+
"steps": [
106+
{
107+
"color": "green",
108+
"value": null
109+
}
110+
]
111+
},
112+
"unit": "deckbytes"
113+
},
114+
"overrides": []
115+
},
116+
"gridPos": {
117+
"h": 12,
118+
"w": 23,
119+
"x": 0,
120+
"y": 0
121+
},
122+
"id": 3,
123+
"options": {
124+
"legend": {
125+
"calcs": [],
126+
"displayMode": "list",
127+
"placement": "bottom",
128+
"showLegend": true
129+
},
130+
"tooltip": {
131+
"maxHeight": 600,
132+
"mode": "single",
133+
"sort": "none"
134+
}
135+
},
136+
"pluginVersion": "11.0.0",
137+
"targets": [
138+
{
139+
"aggregator": "noop",
140+
"alias": "current capacity usage",
141+
"datasource": {
142+
"type": "opentsdb",
143+
"uid": "${DS_VM2-CLUSTER1}"
144+
},
145+
"disableDownsampling": true,
146+
"downsampleAggregator": "noop",
147+
"downsampleFillPolicy": "none",
148+
"filters": [
149+
{
150+
"filter": "$byFileset",
151+
"groupBy": false,
152+
"tagk": "gpfs_fset_name",
153+
"type": "pm_filter"
154+
}
155+
],
156+
"hide": false,
157+
"metric": "gpfs_rq_blk_current",
158+
"refId": "A"
159+
},
160+
{
161+
"aggregator": "noop",
162+
"alias": "soft limit",
163+
"datasource": {
164+
"type": "opentsdb",
165+
"uid": "${DS_VM2-CLUSTER1}"
166+
},
167+
"disableDownsampling": true,
168+
"downsampleAggregator": "noop",
169+
"downsampleFillPolicy": "none",
170+
"filters": [
171+
{
172+
"filter": "$byFileset",
173+
"groupBy": false,
174+
"tagk": "gpfs_fset_name",
175+
"type": "pm_filter"
176+
}
177+
],
178+
"hide": false,
179+
"metric": "gpfs_rq_blk_soft_limit",
180+
"refId": "B"
181+
},
182+
{
183+
"aggregator": "noop",
184+
"alias": "hard limit",
185+
"datasource": {
186+
"type": "opentsdb",
187+
"uid": "${DS_VM2-CLUSTER1}"
188+
},
189+
"disableDownsampling": true,
190+
"downsampleAggregator": "noop",
191+
"downsampleFillPolicy": "none",
192+
"filters": [
193+
{
194+
"filter": "$byFileset",
195+
"groupBy": false,
196+
"tagk": "gpfs_fset_name",
197+
"type": "pm_filter"
198+
}
199+
],
200+
"hide": false,
201+
"metric": "gpfs_rq_blk_hard_limit",
202+
"refId": "C"
203+
}
204+
],
205+
"title": "$byFileset block usage and limits",
206+
"type": "timeseries"
207+
}
208+
],
209+
"refresh": "5s",
210+
"schemaVersion": 39,
211+
"tags": [
212+
"fileset",
213+
"capacity",
214+
"quota"
215+
],
216+
"templating": {
217+
"list": [
218+
{
219+
"current": {
220+
"selected": false,
221+
"text": "vm2-cluster1",
222+
"value": "cdqnnhu44hjb4b"
223+
},
224+
"hide": 0,
225+
"includeAll": false,
226+
"multi": false,
227+
"name": "System",
228+
"options": [],
229+
"query": "opentsdb",
230+
"queryValue": "",
231+
"refresh": 1,
232+
"regex": "",
233+
"skipUrlSync": false,
234+
"type": "datasource"
235+
},
236+
{
237+
"current": {},
238+
"datasource": {
239+
"type": "opentsdb",
240+
"uid": "${DS_VM2-CLUSTER1}"
241+
},
242+
"definition": "tag_values(gpfs_rq_blk_current, gpfs_fs_name)",
243+
"hide": 0,
244+
"includeAll": false,
245+
"multi": false,
246+
"name": "byFilesystem",
247+
"options": [],
248+
"query": "tag_values(gpfs_rq_blk_current, gpfs_fs_name)",
249+
"refresh": 1,
250+
"regex": "",
251+
"skipUrlSync": false,
252+
"sort": 0,
253+
"type": "query"
254+
},
255+
{
256+
"current": {},
257+
"datasource": {
258+
"type": "opentsdb",
259+
"uid": "${DS_VM2-CLUSTER1}"
260+
},
261+
"definition": "tag_values(gpfs_rq_blk_current, gpfs_fset_name, gpfs_fs_name=$byFilesystem)\n",
262+
"hide": 0,
263+
"includeAll": false,
264+
"multi": false,
265+
"name": "byFileset",
266+
"options": [],
267+
"query": "tag_values(gpfs_rq_blk_current, gpfs_fset_name, gpfs_fs_name=$byFilesystem)\n",
268+
"refresh": 1,
269+
"regex": "^(?!.*root).*$",
270+
"skipUrlSync": false,
271+
"sort": 0,
272+
"type": "query"
273+
}
274+
]
275+
},
276+
"time": {
277+
"from": "now-2d",
278+
"to": "now"
279+
},
280+
"timeRangeUpdatedDuringEditOrView": false,
281+
"timepicker": {},
282+
"timezone": "",
283+
"title": "Fileset Block Quota Limits details",
284+
"uid": "bdr84zexhhm9sd",
285+
"version": 9,
286+
"weekStart": ""
287+
}

0 commit comments

Comments
 (0)