This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / configs / monitoring / dashboards / internet.json
7.3 kB 308 lines
1{ 2 "uid": "internet", 3 "title": "Internet (gg23)", 4 "schemaVersion": 39, 5 "time": { 6 "from": "now-24h", 7 "to": "now" 8 }, 9 "refresh": "1m", 10 "panels": [ 11 { 12 "id": 1, 13 "type": "timeseries", 14 "title": "Latency (avg, 1m)", 15 "gridPos": { 16 "x": 0, 17 "y": 0, 18 "w": 12, 19 "h": 9 20 }, 21 "datasource": { 22 "type": "victoriametrics-metrics-datasource", 23 "uid": "victoriametrics" 24 }, 25 "fieldConfig": { 26 "defaults": { 27 "unit": "s" 28 } 29 }, 30 "targets": [ 31 { 32 "refId": "A", 33 "expr": "rate(smokeping_response_duration_seconds_sum{host=\"acheron\"}[1m]) / rate(smokeping_response_duration_seconds_count{host=\"acheron\"}[1m])", 34 "legendFormat": "{{target_name}}" 35 } 36 ] 37 }, 38 { 39 "id": 2, 40 "type": "timeseries", 41 "title": "Latency p95 (5m)", 42 "gridPos": { 43 "x": 12, 44 "y": 0, 45 "w": 12, 46 "h": 9 47 }, 48 "datasource": { 49 "type": "victoriametrics-metrics-datasource", 50 "uid": "victoriametrics" 51 }, 52 "fieldConfig": { 53 "defaults": { 54 "unit": "s" 55 } 56 }, 57 "targets": [ 58 { 59 "refId": "A", 60 "expr": "histogram_quantile(0.95, sum(rate(smokeping_response_duration_seconds_bucket{host=\"acheron\"}[5m])) by (le, target_name))", 61 "legendFormat": "{{target_name}}" 62 } 63 ] 64 }, 65 { 66 "id": 3, 67 "type": "timeseries", 68 "title": "Packet loss (1m)", 69 "gridPos": { 70 "x": 0, 71 "y": 9, 72 "w": 12, 73 "h": 8 74 }, 75 "datasource": { 76 "type": "victoriametrics-metrics-datasource", 77 "uid": "victoriametrics" 78 }, 79 "fieldConfig": { 80 "defaults": { 81 "unit": "percentunit", 82 "min": 0 83 } 84 }, 85 "targets": [ 86 { 87 "refId": "A", 88 "expr": "1 - sum(rate(smokeping_response_duration_seconds_count{host=\"acheron\"}[1m])) by (target_name) / sum(rate(smokeping_requests_total{host=\"acheron\"}[1m])) by (target_name)", 89 "legendFormat": "{{target_name}}" 90 } 91 ] 92 }, 93 { 94 "id": 4, 95 "type": "timeseries", 96 "title": "WAN throughput (et0)", 97 "gridPos": { 98 "x": 12, 99 "y": 9, 100 "w": 12, 101 "h": 8 102 }, 103 "datasource": { 104 "type": "victoriametrics-metrics-datasource", 105 "uid": "victoriametrics" 106 }, 107 "fieldConfig": { 108 "defaults": { 109 "unit": "bps" 110 } 111 }, 112 "targets": [ 113 { 114 "refId": "A", 115 "expr": "rate(host_network_receive_bytes_total{host=\"acheron\",device=\"et0\"}[1m]) * 8", 116 "legendFormat": "down" 117 }, 118 { 119 "refId": "B", 120 "expr": "-rate(host_network_transmit_bytes_total{host=\"acheron\",device=\"et0\"}[1m]) * 8", 121 "legendFormat": "up" 122 } 123 ] 124 }, 125 { 126 "id": 5, 127 "type": "timeseries", 128 "title": "Downstream power", 129 "gridPos": { 130 "x": 0, 131 "y": 17, 132 "w": 8, 133 "h": 9 134 }, 135 "datasource": { 136 "type": "victoriametrics-metrics-datasource", 137 "uid": "victoriametrics" 138 }, 139 "fieldConfig": { 140 "defaults": { 141 "unit": "suffix: dBmV" 142 } 143 }, 144 "targets": [ 145 { 146 "refId": "A", 147 "expr": "vodafone_station_docsis_power_dbmv{host=\"acheron\",direction=\"downstream\"}", 148 "legendFormat": "{{channel_type}} {{frequency_mhz}} MHz" 149 } 150 ] 151 }, 152 { 153 "id": 6, 154 "type": "timeseries", 155 "title": "Downstream SNR", 156 "gridPos": { 157 "x": 8, 158 "y": 17, 159 "w": 8, 160 "h": 9 161 }, 162 "datasource": { 163 "type": "victoriametrics-metrics-datasource", 164 "uid": "victoriametrics" 165 }, 166 "fieldConfig": { 167 "defaults": { 168 "unit": "suffix: dB" 169 } 170 }, 171 "targets": [ 172 { 173 "refId": "A", 174 "expr": "vodafone_station_docsis_snr_db{host=\"acheron\",direction=\"downstream\"}", 175 "legendFormat": "{{channel_type}} {{frequency_mhz}} MHz" 176 } 177 ] 178 }, 179 { 180 "id": 7, 181 "type": "timeseries", 182 "title": "Upstream power", 183 "gridPos": { 184 "x": 16, 185 "y": 17, 186 "w": 8, 187 "h": 9 188 }, 189 "datasource": { 190 "type": "victoriametrics-metrics-datasource", 191 "uid": "victoriametrics" 192 }, 193 "fieldConfig": { 194 "defaults": { 195 "unit": "suffix: dBmV" 196 } 197 }, 198 "targets": [ 199 { 200 "refId": "A", 201 "expr": "vodafone_station_docsis_power_dbmv{host=\"acheron\",direction=\"upstream\"}", 202 "legendFormat": "{{channel_type}} {{frequency_mhz}} MHz" 203 } 204 ] 205 }, 206 { 207 "id": 8, 208 "type": "timeseries", 209 "title": "Modulation", 210 "gridPos": { 211 "x": 0, 212 "y": 26, 213 "w": 12, 214 "h": 8 215 }, 216 "datasource": { 217 "type": "victoriametrics-metrics-datasource", 218 "uid": "victoriametrics" 219 }, 220 "fieldConfig": { 221 "defaults": {} 222 }, 223 "targets": [ 224 { 225 "refId": "A", 226 "expr": "vodafone_station_docsis_modulation_qam{host=\"acheron\"}", 227 "legendFormat": "{{direction}} {{channel_type}} {{frequency_mhz}} MHz" 228 } 229 ] 230 }, 231 { 232 "id": 9, 233 "type": "timeseries", 234 "title": "Station", 235 "gridPos": { 236 "x": 12, 237 "y": 26, 238 "w": 12, 239 "h": 8 240 }, 241 "datasource": { 242 "type": "victoriametrics-metrics-datasource", 243 "uid": "victoriametrics" 244 }, 245 "fieldConfig": { 246 "defaults": {} 247 }, 248 "targets": [ 249 { 250 "refId": "A", 251 "expr": "vodafone_station_up{host=\"acheron\"}", 252 "legendFormat": "scrape ok" 253 }, 254 { 255 "refId": "B", 256 "expr": "vodafone_station_docsis_online{host=\"acheron\"}", 257 "legendFormat": "DOCSIS online" 258 }, 259 { 260 "refId": "C", 261 "expr": "count(vodafone_station_docsis_locked{host=\"acheron\"} == 0) or vector(0)", 262 "legendFormat": "unlocked channels" 263 }, 264 { 265 "refId": "D", 266 "expr": "vodafone_station_uptime_seconds{host=\"acheron\"} / 86400", 267 "legendFormat": "uptime (days)" 268 } 269 ] 270 }, 271 { 272 "id": 10, 273 "type": "timeseries", 274 "title": "Speedtest (hourly)", 275 "gridPos": { 276 "x": 0, 277 "y": 34, 278 "w": 24, 279 "h": 8 280 }, 281 "datasource": { 282 "type": "victoriametrics-metrics-datasource", 283 "uid": "victoriametrics" 284 }, 285 "fieldConfig": { 286 "defaults": { 287 "unit": "bps", 288 "custom": { 289 "drawStyle": "points", 290 "pointSize": 6 291 } 292 } 293 }, 294 "targets": [ 295 { 296 "refId": "A", 297 "expr": "speedtest_download_bits_per_second{host=\"acheron\"}", 298 "legendFormat": "down {{server}}" 299 }, 300 { 301 "refId": "B", 302 "expr": "speedtest_upload_bits_per_second{host=\"acheron\"}", 303 "legendFormat": "up {{server}}" 304 } 305 ] 306 } 307 ] 308}