forked from
lass.pds.lassul.us/superconfig
This repository has no description
1.4 kB
51 lines
1{
2 "uid": "gatus",
3 "title": "Gatus",
4 "schemaVersion": 39,
5 "time": { "from": "now-24h", "to": "now" },
6 "refresh": "1m",
7 "panels": [
8 {
9 "id": 1,
10 "type": "state-timeline",
11 "title": "Endpoint success",
12 "gridPos": { "x": 0, "y": 0, "w": 24, "h": 16 },
13 "datasource": { "type": "victoriametrics-metrics-datasource", "uid": "victoriametrics" },
14 "fieldConfig": {
15 "defaults": {
16 "mappings": [
17 {
18 "type": "value",
19 "options": {
20 "0": { "text": "down", "color": "red" },
21 "1": { "text": "up", "color": "green" }
22 }
23 }
24 ]
25 }
26 },
27 "targets": [
28 {
29 "refId": "A",
30 "expr": "gatus_results_endpoint_success",
31 "legendFormat": "{{vantage}} {{group}}/{{name}}"
32 }
33 ]
34 },
35 {
36 "id": 2,
37 "type": "timeseries",
38 "title": "Response time",
39 "gridPos": { "x": 0, "y": 16, "w": 24, "h": 8 },
40 "datasource": { "type": "victoriametrics-metrics-datasource", "uid": "victoriametrics" },
41 "fieldConfig": { "defaults": { "unit": "s" } },
42 "targets": [
43 {
44 "refId": "A",
45 "expr": "gatus_results_duration_seconds",
46 "legendFormat": "{{vantage}} {{group}}/{{name}}"
47 }
48 ]
49 }
50 ]
51}