1+ {
2+ "__inputs" : [
3+ {
4+ "name" : " DS_SWAT_SSS6000" ,
5+ "label" : " SWAT SSS6000" ,
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.5.1"
19+ },
20+ {
21+ "type" : " datasource" ,
22+ "id" : " opentsdb" ,
23+ "name" : " OpenTSDB" ,
24+ "version" : " 1.0.0"
25+ },
26+ {
27+ "type" : " datasource" ,
28+ "id" : " prometheus" ,
29+ "name" : " Prometheus" ,
30+ "version" : " 1.0.0"
31+ },
32+ {
33+ "type" : " panel" ,
34+ "id" : " status-history" ,
35+ "name" : " Status history" ,
36+ "version" : " "
37+ }
38+ ],
39+ "annotations" : {
40+ "list" : [
41+ {
42+ "builtIn" : 1 ,
43+ "datasource" : {
44+ "type" : " grafana" ,
45+ "uid" : " -- Grafana --"
46+ },
47+ "enable" : true ,
48+ "hide" : true ,
49+ "iconColor" : " rgba(0, 211, 255, 1)" ,
50+ "name" : " Annotations & Alerts" ,
51+ "type" : " dashboard"
52+ }
53+ ]
54+ },
55+ "editable" : true ,
56+ "fiscalYearStartMonth" : 0 ,
57+ "graphTooltip" : 0 ,
58+ "id" : null ,
59+ "links" : [],
60+ "panels" : [
61+ {
62+ "datasource" : {
63+ "type" : " opentsdb" ,
64+ "uid" : " ${Datasource}"
65+ },
66+ "fieldConfig" : {
67+ "defaults" : {
68+ "color" : {
69+ "fixedColor" : " dark-green" ,
70+ "mode" : " fixed"
71+ },
72+ "custom" : {
73+ "fillOpacity" : 70 ,
74+ "hideFrom" : {
75+ "legend" : false ,
76+ "tooltip" : false ,
77+ "viz" : false
78+ },
79+ "lineWidth" : 1
80+ },
81+ "mappings" : [
82+ {
83+ "options" : {
84+ "0" : {
85+ "color" : " #808080" ,
86+ "index" : 3 ,
87+ "text" : " UNKNOWN"
88+ },
89+ "10" : {
90+ "color" : " dark-green" ,
91+ "index" : 0 ,
92+ "text" : " HEALTHY"
93+ },
94+ "20" : {
95+ "color" : " dark-yellow" ,
96+ "index" : 1 ,
97+ "text" : " DEGRADED"
98+ },
99+ "40" : {
100+ "color" : " dark-red" ,
101+ "index" : 2 ,
102+ "text" : " FAILED"
103+ }
104+ },
105+ "type" : " value"
106+ }
107+ ],
108+ "thresholds" : {
109+ "mode" : " absolute" ,
110+ "steps" : [
111+ {
112+ "color" : " green" ,
113+ "value" : null
114+ }
115+ ]
116+ }
117+ },
118+ "overrides" : []
119+ },
120+ "gridPos" : {
121+ "h" : 12 ,
122+ "w" : 24 ,
123+ "x" : 0 ,
124+ "y" : 0
125+ },
126+ "id" : 1 ,
127+ "options" : {
128+ "colWidth" : 0.9 ,
129+ "legend" : {
130+ "displayMode" : " list" ,
131+ "placement" : " bottom" ,
132+ "showLegend" : true
133+ },
134+ "rowHeight" : 0.9 ,
135+ "showValue" : " never" ,
136+ "tooltip" : {
137+ "hideZeros" : false ,
138+ "maxHeight" : 600 ,
139+ "mode" : " single" ,
140+ "sort" : " none"
141+ }
142+ },
143+ "pluginVersion" : " 11.5.1" ,
144+ "targets" : [
145+ {
146+ "aggregator" : " noop" ,
147+ "alias" : " $tag_gpfs_health_entity" ,
148+ "datasource" : {
149+ "type" : " opentsdb" ,
150+ "uid" : " ${DS_SWAT_SSS6000}"
151+ },
152+ "disableDownsampling" : false ,
153+ "downsampleAggregator" : " max" ,
154+ "downsampleFillPolicy" : " none" ,
155+ "downsampleInterval" : " 15m" ,
156+ "filters" : [
157+ {
158+ "filter" : " $Node" ,
159+ "groupBy" : false ,
160+ "tagk" : " node" ,
161+ "type" : " pm_filter"
162+ },
163+ {
164+ "filter" : " $component" ,
165+ "groupBy" : false ,
166+ "tagk" : " gpfs_health_component" ,
167+ "type" : " pm_filter"
168+ }
169+ ],
170+ "metric" : " gpfs_health_status" ,
171+ "refId" : " A"
172+ }
173+ ],
174+ "title" : " $component entities HEALTH state history" ,
175+ "transformations" : [
176+ {
177+ "id" : " filterFieldsByName" ,
178+ "options" : {
179+ "include" : {
180+ "pattern" : " ^(?!.*-).*$"
181+ }
182+ }
183+ }
184+ ],
185+ "type" : " status-history"
186+ }
187+ ],
188+ "refresh" : " 30s" ,
189+ "schemaVersion" : 40 ,
190+ "tags" : [
191+ " health" ,
192+ " opentsdb" ,
193+ " entity"
194+ ],
195+ "templating" : {
196+ "list" : [
197+ {
198+ "allowCustomValue" : false ,
199+ "current" : {},
200+ "includeAll" : false ,
201+ "name" : " Datasource" ,
202+ "options" : [],
203+ "query" : " opentsdb" ,
204+ "refresh" : 1 ,
205+ "regex" : " " ,
206+ "type" : " datasource"
207+ },
208+ {
209+ "current" : {},
210+ "datasource" : {
211+ "type" : " opentsdb" ,
212+ "uid" : " ${Datasource}"
213+ },
214+ "definition" : " tag_values(gpfs_health_status, node)" ,
215+ "includeAll" : false ,
216+ "name" : " Node" ,
217+ "options" : [],
218+ "query" : " tag_values(gpfs_health_status, node)" ,
219+ "refresh" : 1 ,
220+ "regex" : " " ,
221+ "type" : " query"
222+ },
223+ {
224+ "current" : {},
225+ "datasource" : {
226+ "type" : " opentsdb" ,
227+ "uid" : " ${DS_SWAT_SSS6000}"
228+ },
229+ "definition" : " tag_values(gpfs_health_status, gpfs_health_component, node=$Node)" ,
230+ "includeAll" : false ,
231+ "name" : " component" ,
232+ "options" : [],
233+ "query" : " tag_values(gpfs_health_status, gpfs_health_component, node=$Node)" ,
234+ "refresh" : 1 ,
235+ "regex" : " " ,
236+ "type" : " query"
237+ }
238+ ]
239+ },
240+ "time" : {
241+ "from" : " 2025-04-08T12:43:35.298Z" ,
242+ "to" : " 2025-04-09T12:43:35.298Z"
243+ },
244+ "timepicker" : {},
245+ "timezone" : " browser" ,
246+ "title" : " Component entities health details" ,
247+ "uid" : " fe6h5syrz4npcc" ,
248+ "version" : 6 ,
249+ "weekStart" : " "
250+ }
0 commit comments