backups.json 9.04 KB
Newer Older
Evangelos Foutras's avatar
Evangelos Foutras committed
1
2
3
4
5
6
7
8
9
10
{
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
11
12
13
14
15
16
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
Evangelos Foutras's avatar
Evangelos Foutras committed
17
18
19
20
21
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
22
  "fiscalYearStartMonth": 0,
Evangelos Foutras's avatar
Evangelos Foutras committed
23
24
25
  "gnetId": null,
  "graphTooltip": 0,
  "links": [],
26
  "liveNow": false,
Evangelos Foutras's avatar
Evangelos Foutras committed
27
28
29
  "panels": [
    {
      "datasource": "Prometheus",
30
      "description": "",
Evangelos Foutras's avatar
Evangelos Foutras committed
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "bytes"
        },
        "overrides": []
      },
      "gridPos": {
83
84
        "h": 7,
        "w": 19,
Evangelos Foutras's avatar
Evangelos Foutras committed
85
86
87
        "x": 0,
        "y": 0
      },
88
      "id": 5,
Evangelos Foutras's avatar
Evangelos Foutras committed
89
90
91
92
93
94
95
96
97
98
99
100
101
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "targets": [
        {
          "exemplar": true,
102
          "expr": "10000*2^30",
Evangelos Foutras's avatar
Evangelos Foutras committed
103
          "interval": "",
104
          "legendFormat": "Quota",
Evangelos Foutras's avatar
Evangelos Foutras committed
105
106
107
108
109
          "queryType": "randomWalk",
          "refId": "A"
        },
        {
          "exemplar": true,
110
          "expr": "hetzner_storage_box_used_bytes{instance=\"monitoring.archlinux.org\"}",
Evangelos Foutras's avatar
Evangelos Foutras committed
111
112
          "hide": false,
          "interval": "",
113
          "legendFormat": "Backups",
Evangelos Foutras's avatar
Evangelos Foutras committed
114
          "refId": "B"
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
        },
        {
          "exemplar": true,
          "expr": "10000*2^30 - hetzner_storage_box_size_bytes{instance=\"monitoring.archlinux.org\"}",
          "hide": false,
          "interval": "",
          "legendFormat": "Snapshots",
          "refId": "C"
        },
        {
          "exemplar": true,
          "expr": "10000*2^30 - hetzner_storage_box_free_bytes{instance=\"monitoring.archlinux.org\"}",
          "hide": false,
          "interval": "",
          "legendFormat": "Total Used",
          "refId": "D"
131
132
133
134
135
136
137
138
139
140
141
142
143
        }
      ],
      "title": "Disk Usage (Hetzner)",
      "type": "timeseries"
    },
    {
      "datasource": "Prometheus",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
144
          "max": 10737418240000,
145
146
147
148
149
          "min": 0,
          "thresholds": {
            "mode": "percentage",
            "steps": [
              {
150
                "color": "red",
151
152
153
                "value": null
              },
              {
154
155
                "color": "yellow",
                "value": 5
156
157
              },
              {
158
159
                "color": "green",
                "value": 15
160
161
162
              }
            ]
          },
163
          "unit": "bytes"
164
165
166
167
168
169
170
171
172
173
174
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 5,
        "x": 19,
        "y": 0
      },
      "id": 7,
      "options": {
175
        "orientation": "auto",
176
177
178
179
180
181
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
Evangelos Foutras's avatar
Evangelos Foutras committed
182
        },
183
184
185
186
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
187
      "pluginVersion": "8.2.1",
188
      "targets": [
Evangelos Foutras's avatar
Evangelos Foutras committed
189
190
        {
          "exemplar": true,
191
          "expr": "hetzner_storage_box_free_bytes{instance=\"monitoring.archlinux.org\"}",
192
          "instant": true,
Evangelos Foutras's avatar
Evangelos Foutras committed
193
          "interval": "",
194
195
196
          "legendFormat": "",
          "queryType": "randomWalk",
          "refId": "A"
Evangelos Foutras's avatar
Evangelos Foutras committed
197
198
        }
      ],
199
      "title": "Free Space (Hetzner)",
200
      "type": "gauge"
Evangelos Foutras's avatar
Evangelos Foutras committed
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
    },
    {
      "datasource": "Prometheus",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "bytes"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
257
        "w": 12,
Evangelos Foutras's avatar
Evangelos Foutras committed
258
        "x": 0,
259
        "y": 7
Evangelos Foutras's avatar
Evangelos Foutras committed
260
      },
261
      "id": 2,
Evangelos Foutras's avatar
Evangelos Foutras committed
262
263
264
265
266
267
268
269
270
271
272
273
274
275
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "exemplar": true,
276
          "expr": "borg_hetzner_repo_size_bytes{}",
Evangelos Foutras's avatar
Evangelos Foutras committed
277
278
279
280
281
282
          "format": "time_series",
          "instant": false,
          "interval": "",
          "legendFormat": "{{ instance }}",
          "queryType": "randomWalk",
          "refId": "A"
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
        }
      ],
      "title": "Borg Repository Size (Hetzner)",
      "type": "timeseries"
    },
    {
      "datasource": "Prometheus",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "bytes"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 12,
        "y": 7
      },
      "id": 3,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
Evangelos Foutras's avatar
Evangelos Foutras committed
353
        },
354
355
356
357
358
359
        "tooltip": {
          "mode": "single"
        }
      },
      "pluginVersion": "8.0.3",
      "targets": [
Evangelos Foutras's avatar
Evangelos Foutras committed
360
361
        {
          "exemplar": true,
362
363
364
          "expr": "borg_offsite_repo_size_bytes{}",
          "format": "time_series",
          "instant": false,
Evangelos Foutras's avatar
Evangelos Foutras committed
365
          "interval": "",
366
367
368
          "legendFormat": "{{ instance }}",
          "queryType": "randomWalk",
          "refId": "A"
Evangelos Foutras's avatar
Evangelos Foutras committed
369
370
371
372
373
374
        }
      ],
      "title": "Borg Repository Size (Offsite)",
      "type": "timeseries"
    }
  ],
375
  "refresh": false,
376
  "schemaVersion": 31,
Evangelos Foutras's avatar
Evangelos Foutras committed
377
378
379
380
381
382
  "style": "dark",
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
383
    "from": "now-6M",
Evangelos Foutras's avatar
Evangelos Foutras committed
384
385
386
387
388
389
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "Borg Backups",
  "uid": "Rnqpymznz",
390
  "version": 34
391
}