1+ {
2+ "__inputs" : [
3+ {
4+ "name" : " DS_OCP2-THANOS-QUERIER" ,
5+ "label" : " ocp2-thanos-querier" ,
6+ "description" : " " ,
7+ "type" : " datasource" ,
8+ "pluginId" : " prometheus" ,
9+ "pluginName" : " Prometheus"
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" : " prometheus" ,
23+ "name" : " Prometheus" ,
24+ "version" : " 1.0.0"
25+ },
26+ {
27+ "type" : " panel" ,
28+ "id" : " status-history" ,
29+ "name" : " Status history" ,
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+ "panels" : [
55+ {
56+ "datasource" : {
57+ "type" : " prometheus" ,
58+ "uid" : " ${Datasource}"
59+ },
60+ "fieldConfig" : {
61+ "defaults" : {
62+ "color" : {
63+ "mode" : " fixed"
64+ },
65+ "custom" : {
66+ "fillOpacity" : 70 ,
67+ "hideFrom" : {
68+ "legend" : false ,
69+ "tooltip" : false ,
70+ "viz" : false
71+ },
72+ "lineWidth" : 1
73+ },
74+ "mappings" : [
75+ {
76+ "options" : {
77+ "0" : {
78+ "color" : " #808080" ,
79+ "index" : 3 ,
80+ "text" : " UNKNOWN"
81+ },
82+ "10" : {
83+ "color" : " green" ,
84+ "index" : 0 ,
85+ "text" : " HEALTHY"
86+ },
87+ "20" : {
88+ "color" : " dark-yellow" ,
89+ "index" : 1 ,
90+ "text" : " DEGRADED"
91+ },
92+ "40" : {
93+ "color" : " dark-red" ,
94+ "index" : 2 ,
95+ "text" : " FAILED"
96+ }
97+ },
98+ "type" : " value"
99+ }
100+ ],
101+ "thresholds" : {
102+ "mode" : " absolute" ,
103+ "steps" : [
104+ {
105+ "color" : " green" ,
106+ "value" : null
107+ },
108+ {
109+ "color" : " red" ,
110+ "value" : 80
111+ }
112+ ]
113+ }
114+ },
115+ "overrides" : []
116+ },
117+ "gridPos" : {
118+ "h" : 16 ,
119+ "w" : 24 ,
120+ "x" : 0 ,
121+ "y" : 0
122+ },
123+ "id" : 1 ,
124+ "interval" : " 15m" ,
125+ "options" : {
126+ "colWidth" : 0.9 ,
127+ "legend" : {
128+ "displayMode" : " list" ,
129+ "placement" : " bottom" ,
130+ "showLegend" : true
131+ },
132+ "rowHeight" : 0.9 ,
133+ "showValue" : " never" ,
134+ "tooltip" : {
135+ "hideZeros" : false ,
136+ "maxHeight" : 600 ,
137+ "mode" : " single" ,
138+ "sort" : " none"
139+ }
140+ },
141+ "pluginVersion" : " 11.5.1" ,
142+ "targets" : [
143+ {
144+ "datasource" : {
145+ "type" : " prometheus" ,
146+ "uid" : " ${DS_OCP2-THANOS-QUERIER}"
147+ },
148+ "disableTextWrap" : false ,
149+ "editorMode" : " code" ,
150+ "expr" : " max without (instance, pod) (max_over_time(gpfs_health_status{node=\" $Node\" , gpfs_health_component=\" $Component\" }[15m]))" ,
151+ "fullMetaSearch" : false ,
152+ "includeNullMetadata" : true ,
153+ "instant" : false ,
154+ "legendFormat" : " {{gpfs_health_entity}}" ,
155+ "range" : true ,
156+ "refId" : " A" ,
157+ "useBackend" : false
158+ }
159+ ],
160+ "title" : " $Component entities HEALTH state history" ,
161+ "transformations" : [
162+ {
163+ "id" : " filterFieldsByName" ,
164+ "options" : {
165+ "include" : {
166+ "pattern" : " ^(?!-).*$"
167+ }
168+ }
169+ }
170+ ],
171+ "type" : " status-history"
172+ }
173+ ],
174+ "refresh" : " 30s" ,
175+ "schemaVersion" : 40 ,
176+ "tags" : [],
177+ "templating" : {
178+ "list" : [
179+ {
180+ "current" : {},
181+ "includeAll" : false ,
182+ "name" : " Datasource" ,
183+ "options" : [],
184+ "query" : " prometheus" ,
185+ "refresh" : 1 ,
186+ "regex" : " " ,
187+ "type" : " datasource"
188+ },
189+ {
190+ "current" : {},
191+ "datasource" : {
192+ "type" : " prometheus" ,
193+ "uid" : " ${Datasource}"
194+ },
195+ "definition" : " label_values(gpfs_health_status,node)" ,
196+ "includeAll" : false ,
197+ "name" : " Node" ,
198+ "options" : [],
199+ "query" : {
200+ "qryType" : 1 ,
201+ "query" : " label_values(gpfs_health_status,node)" ,
202+ "refId" : " PrometheusVariableQueryEditor-VariableQuery"
203+ },
204+ "refresh" : 1 ,
205+ "regex" : " " ,
206+ "type" : " query"
207+ },
208+ {
209+ "current" : {},
210+ "datasource" : {
211+ "type" : " prometheus" ,
212+ "uid" : " ${DS_OCP2-THANOS-QUERIER}"
213+ },
214+ "definition" : " label_values(gpfs_health_status{node=\" $Node\" },gpfs_health_component)" ,
215+ "includeAll" : false ,
216+ "name" : " Component" ,
217+ "options" : [],
218+ "query" : {
219+ "qryType" : 1 ,
220+ "query" : " label_values(gpfs_health_status{node=\" $Node\" },gpfs_health_component)" ,
221+ "refId" : " PrometheusVariableQueryEditor-VariableQuery"
222+ },
223+ "refresh" : 1 ,
224+ "regex" : " " ,
225+ "type" : " query"
226+ }
227+ ]
228+ },
229+ "time" : {
230+ "from" : " now-24h" ,
231+ "to" : " now"
232+ },
233+ "timepicker" : {},
234+ "timezone" : " browser" ,
235+ "title" : " Component entities health details for IBM Storage Scale container native" ,
236+ "uid" : " eeko3qplp00lcb" ,
237+ "version" : 1 ,
238+ "weekStart" : " "
239+ }
0 commit comments