aboutsummaryrefslogtreecommitdiff
path: root/tharos/dashboards/caddy.json
blob: 4a04678f281b6652069bb63a85afd10d78267182 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
  "editable": true,
  "id": 2,
  "panels": [
    {
      "id": 1,
      "datasource": {
        "type": "prometheus",
        "uid": "PBFA97CFB590B2093"
      },
      "fieldConfig": {
        "defaults": {
          "custom": {
            "barWidthFactor": 1,
            "drawStyle": "bars",
            "fillOpacity": 100,
            "lineWidth": 0,
            "pointSize": 1,
            "stacking": {
              "group": "A",
              "mode": "normal"
            }
          },
          "unit": "reqpm"
        }
      },
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "interval": "1m",
      "options": {
        "legend": {
          "showLegend": false
        }
      },
      "pluginVersion": "12.0.5",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "PBFA97CFB590B2093"
          },
          "expr": "idelta(caddy_http_requests_total[1m])",
          "legendFormat": "{{host}}"
        }
      ],
      "title": "Alle Dienste"
    },
    {
      "id": 2,
      "datasource": {
        "type": "prometheus",
        "uid": "PBFA97CFB590B2093"
      },
      "fieldConfig": {
        "defaults": {
          "custom": {
            "barWidthFactor": 1,
            "drawStyle": "bars",
            "fillOpacity": 100,
            "lineWidth": 0,
            "pointSize": 1,
            "stacking": {
              "group": "A",
              "mode": "normal"
            }
          },
          "unit": "reqpm"
        }
      },
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 8
      },
      "interval": "1m",
      "options": {
        "legend": {
          "showLegend": false
        }
      },
      "pluginVersion": "12.0.5",
      "repeat": "Host",
      "repeatDirection": "h",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "PBFA97CFB590B2093"
          },
          "expr": "idelta(caddy_http_requests_total{host=~\"$Host\"}[1m])"
        }
      ],
      "title": "$Host"
    }
  ],
  "preload": false,
  "refresh": "1m",
  "schemaVersion": 41,
  "templating": {
    "list": [
      {
        "includeAll": true,
        "name": "Host",
        "current": {
          "text": "$__all",
          "value": "$__all"
        },
        "options": [
          {
            "selected": false,
            "text": "heimfeld.hamburg",
            "value": "heimfeld.hamburg"
          },
          {
            "selected": false,
            "text": "git.heimfeld.hamburg",
            "value": "git.heimfeld.hamburg"
          },
          {
            "selected": false,
            "text": "nextcloud.heimfeld.hamburg",
            "value": "nextcloud.heimfeld.hamburg"
          },
          {
            "selected": false,
            "text": "grafana.heimfeld.hamburg",
            "value": "grafana.heimfeld.hamburg"
          }
        ],
        "query": "heimfeld.hamburg, git.heimfeld.hamburg, nextcloud.heimfeld.hamburg, grafana.heimfeld.hamburg",
        "type": "custom"
      }
    ]
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timezone": "browser",
  "title": "Anfragen",
  "uid": "a9e56c38-ddc3-4d10-b12b-5ed08f3c846e",
  "version": 1
}