Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/operations/observability/mixins/workspace/dashboards/ephemeral-storage.json
2501 views
1
{
2
"annotations": {
3
"list": [
4
{
5
"builtIn": 1,
6
"datasource": {
7
"type": "datasource",
8
"uid": "grafana"
9
},
10
"enable": true,
11
"hide": true,
12
"iconColor": "rgba(0, 211, 255, 1)",
13
"name": "Annotations & Alerts",
14
"target": {
15
"limit": 100,
16
"matchAny": false,
17
"tags": [],
18
"type": "dashboard"
19
},
20
"type": "dashboard"
21
}
22
]
23
},
24
"editable": true,
25
"fiscalYearStartMonth": 0,
26
"graphTooltip": 0,
27
"id": 70,
28
"links": [],
29
"liveNow": false,
30
"panels": [
31
{
32
"datasource": {
33
"type": "prometheus",
34
"uid": "${datasource}"
35
},
36
"fieldConfig": {
37
"defaults": {
38
"color": {
39
"mode": "palette-classic"
40
},
41
"custom": {
42
"axisLabel": "",
43
"axisPlacement": "auto",
44
"barAlignment": 0,
45
"drawStyle": "line",
46
"fillOpacity": 0,
47
"gradientMode": "none",
48
"hideFrom": {
49
"legend": false,
50
"tooltip": false,
51
"viz": false
52
},
53
"lineInterpolation": "smooth",
54
"lineWidth": 1,
55
"pointSize": 5,
56
"scaleDistribution": {
57
"type": "linear"
58
},
59
"showPoints": "auto",
60
"spanNulls": true,
61
"stacking": {
62
"group": "A",
63
"mode": "none"
64
},
65
"thresholdsStyle": {
66
"mode": "off"
67
}
68
},
69
"mappings": [],
70
"thresholds": {
71
"mode": "absolute",
72
"steps": [
73
{
74
"color": "green",
75
"value": null
76
},
77
{
78
"color": "red",
79
"value": 80
80
}
81
]
82
},
83
"unit": "decbytes"
84
},
85
"overrides": []
86
},
87
"gridPos": {
88
"h": 13,
89
"w": 24,
90
"x": 0,
91
"y": 0
92
},
93
"id": 2,
94
"options": {
95
"legend": {
96
"calcs": [],
97
"displayMode": "list",
98
"placement": "bottom"
99
},
100
"tooltip": {
101
"mode": "single",
102
"sort": "none"
103
}
104
},
105
"targets": [
106
{
107
"datasource": {
108
"type": "prometheus",
109
"uid": "${datasource}"
110
},
111
"editorMode": "code",
112
"expr": "sum(kube_pod_ephemeral_storage_used_bytes{cluster=~\"$cluster\",node=~\"$node\",exported_pod=~\"ws-.*\",exported_pod!~\"ws-daemon.*\",exported_pod!~\"ws-proxy.*\",exported_pod!~\"ws-manager.*\" }) by (exported_pod)",
113
"legendFormat": "{{exported_pod}}",
114
"range": true,
115
"refId": "A"
116
}
117
],
118
"title": "Used storage",
119
"type": "timeseries"
120
}
121
],
122
"refresh": "30s",
123
"schemaVersion": 36,
124
"style": "dark",
125
"tags": [],
126
"templating": {
127
"list": [
128
{
129
"current": {
130
"selected": true,
131
"text": [
132
"us56"
133
],
134
"value": [
135
"us56"
136
]
137
},
138
"datasource": {
139
"type": "prometheus",
140
"uid": "$datasource"
141
},
142
"definition": "label_values(container_cpu_usage_seconds_total, cluster)",
143
"hide": 0,
144
"includeAll": true,
145
"label": "Cluster",
146
"multi": true,
147
"name": "cluster",
148
"options": [],
149
"query": {
150
"query": "label_values(container_cpu_usage_seconds_total, cluster)",
151
"refId": "$datasource-cluster-Variable-Query"
152
},
153
"refresh": 2,
154
"regex": "",
155
"skipUrlSync": false,
156
"sort": 0,
157
"tagValuesQuery": "",
158
"tagsQuery": "",
159
"type": "query",
160
"useTags": false
161
},
162
{
163
"current": {
164
"selected": true,
165
"text": [
166
"All"
167
],
168
"value": [
169
"$__all"
170
]
171
},
172
"datasource": {
173
"type": "prometheus",
174
"uid": "$datasource"
175
},
176
"definition": "label_values(container_cpu_usage_seconds_total{cluster=~\"$cluster\"}, node)",
177
"hide": 0,
178
"includeAll": true,
179
"label": "Node",
180
"multi": true,
181
"name": "node",
182
"options": [],
183
"query": {
184
"query": "label_values(container_cpu_usage_seconds_total{cluster=~\"$cluster\"}, node)",
185
"refId": "StandardVariableQuery"
186
},
187
"refresh": 2,
188
"regex": "",
189
"skipUrlSync": false,
190
"sort": 0,
191
"tagValuesQuery": "",
192
"tagsQuery": "",
193
"type": "query",
194
"useTags": false
195
},
196
{
197
"current": {
198
"selected": true,
199
"text": [
200
"All"
201
],
202
"value": [
203
"$__all"
204
]
205
},
206
"datasource": {
207
"type": "prometheus",
208
"uid": "$datasource"
209
},
210
"definition": "label_values(container_cpu_usage_seconds_total{cluster=~\"$cluster\", node=~\"$node\"}, pod)",
211
"hide": 0,
212
"includeAll": true,
213
"label": "Pod",
214
"multi": true,
215
"name": "pod",
216
"options": [],
217
"query": {
218
"query": "label_values(container_cpu_usage_seconds_total{cluster=~\"$cluster\", node=~\"$node\"}, pod)",
219
"refId": "StandardVariableQuery"
220
},
221
"refresh": 2,
222
"regex": "",
223
"skipUrlSync": false,
224
"sort": 0,
225
"tagValuesQuery": "",
226
"tagsQuery": "",
227
"type": "query",
228
"useTags": false
229
},
230
{
231
"current": {
232
"selected": false,
233
"text": "VictoriaMetrics",
234
"value": "VictoriaMetrics"
235
},
236
"hide": 2,
237
"includeAll": false,
238
"multi": false,
239
"name": "datasource",
240
"options": [],
241
"query": "prometheus",
242
"refresh": 2,
243
"regex": "",
244
"skipUrlSync": false,
245
"type": "datasource"
246
}
247
]
248
},
249
"time": {
250
"from": "now-1h",
251
"to": "now"
252
},
253
"timepicker": {
254
"refresh_intervals": [
255
"30s",
256
"1m",
257
"5m",
258
"15m",
259
"30m",
260
"1h",
261
"2h",
262
"1d",
263
"2d"
264
]
265
},
266
"timezone": "utc",
267
"title": "Workspace Ephemeral Storage",
268
"uid": "workspace-ephemeral-storage",
269
"version": 10,
270
"weekStart": ""
271
}
272