| 1 | { |
| 2 | "__inputs": [ |
| 3 | { |
| 4 | "name": "DS_PROMETHEUS", |
| 5 | "label": "Prometheus", |
| 6 | "description": "", |
| 7 | "type": "datasource", |
| 8 | "pluginId": "prometheus", |
| 9 | "pluginName": "Prometheus" |
| 10 | } |
| 11 | ], |
| 12 | "__requires": [ |
| 13 | { |
| 14 | "type": "grafana", |
| 15 | "id": "grafana", |
| 16 | "name": "Grafana", |
| 17 | "version": "4.6.3" |
| 18 | }, |
| 19 | { |
| 20 | "type": "panel", |
| 21 | "id": "graph", |
| 22 | "name": "Graph", |
| 23 | "version": "" |
| 24 | }, |
| 25 | { |
| 26 | "type": "datasource", |
| 27 | "id": "prometheus", |
| 28 | "name": "Prometheus", |
| 29 | "version": "1.0.0" |
| 30 | } |
| 31 | ], |
| 32 | "annotations": { |
| 33 | "list": [ |
| 34 | { |
| 35 | "builtIn": 1, |
| 36 | "datasource": "-- Grafana --", |
| 37 | "enable": true, |
| 38 | "hide": true, |
| 39 | "iconColor": "rgba(0, 211, 255, 1)", |
| 40 | "name": "Annotations & Alerts", |
| 41 | "type": "dashboard" |
| 42 | } |
| 43 | ] |
| 44 | }, |
| 45 | "editable": true, |
| 46 | "gnetId": null, |
| 47 | "graphTooltip": 1, |
| 48 | "hideControls": true, |
| 49 | "id": null, |
| 50 | "links": [], |
| 51 | "rows": [ |
| 52 | { |
| 53 | "collapse": false, |
| 54 | "height": 509, |
| 55 | "panels": [ |
| 56 | { |
| 57 | "aliasColors": {}, |
| 58 | "bars": false, |
| 59 | "dashLength": 10, |
| 60 | "dashes": false, |
| 61 | "datasource": "${DS_PROMETHEUS}", |
| 62 | "fill": 0, |
| 63 | "id": 2, |
| 64 | "legend": { |
| 65 | "alignAsTable": true, |
| 66 | "avg": false, |
| 67 | "current": true, |
| 68 | "hideEmpty": true, |
| 69 | "hideZero": true, |
| 70 | "max": false, |
| 71 | "min": false, |
| 72 | "rightSide": true, |
| 73 | "show": true, |
| 74 | "sort": "current", |
| 75 | "sortDesc": true, |
| 76 | "total": false, |
| 77 | "values": true |
| 78 | }, |
| 79 | "lines": true, |
| 80 | "linewidth": 1, |
| 81 | "links": [], |
| 82 | "nullPointMode": "null", |
| 83 | "percentage": false, |
| 84 | "pointradius": 1, |
| 85 | "points": false, |
| 86 | "renderer": "flot", |
| 87 | "seriesOverrides": [], |
| 88 | "spaceLength": 10, |
| 89 | "span": 12, |
| 90 | "stack": false, |
| 91 | "steppedLine": true, |
| 92 | "targets": [ |
| 93 | { |
| 94 | "dateTimeType": "DATETIME", |
| 95 | "expr": "bird_protocol_prefix_export_count{ip_version=\"4\",proto=\"BGP\"}", |
| 96 | "format": "time_series", |
| 97 | "formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t", |
| 98 | "intervalFactor": 1, |
| 99 | "legendFormat": "{{name}}", |
| 100 | "query": "SELECT\n $timeSeries as t,\n count()\nFROM $table\nWHERE $timeFilter\nGROUP BY t\nORDER BY t", |
| 101 | "refId": "A", |
| 102 | "round": "0s" |
| 103 | } |
| 104 | ], |
| 105 | "thresholds": [], |
| 106 | "timeFrom": null, |
| 107 | "timeShift": null, |
| 108 | "title": "PITER-IX prefixes exported", |
| 109 | "tooltip": { |
| 110 | "shared": true, |
| 111 | "sort": 2, |
| 112 | "value_type": "individual" |
| 113 | }, |
| 114 | "transparent": true, |
| 115 | "type": "graph", |
| 116 | "xaxis": { |
| 117 | "buckets": null, |
| 118 | "mode": "time", |
| 119 | "name": null, |
| 120 | "show": true, |
| 121 | "values": [] |
| 122 | }, |
| 123 | "yaxes": [ |
| 124 | { |
| 125 | "format": "short", |
| 126 | "label": "", |
| 127 | "logBase": 1, |
| 128 | "max": null, |
| 129 | "min": null, |
| 130 | "show": false |
| 131 | }, |
| 132 | { |
| 133 | "format": "short", |
| 134 | "label": null, |
| 135 | "logBase": 1, |
| 136 | "max": null, |
| 137 | "min": null, |
| 138 | "show": false |
| 139 | } |
| 140 | ] |
| 141 | }, |
| 142 | { |
| 143 | "aliasColors": {}, |
| 144 | "bars": false, |
| 145 | "dashLength": 10, |
| 146 | "dashes": false, |
| 147 | "datasource": "${DS_PROMETHEUS}", |
| 148 | "fill": 0, |
| 149 | "id": 3, |
| 150 | "legend": { |
| 151 | "alignAsTable": true, |
| 152 | "avg": false, |
| 153 | "current": true, |
| 154 | "hideEmpty": true, |
| 155 | "hideZero": true, |
| 156 | "max": false, |
| 157 | "min": false, |
| 158 | "rightSide": true, |
| 159 | "show": true, |
| 160 | "sort": "current", |
| 161 | "sortDesc": true, |
| 162 | "total": false, |
| 163 | "values": true |
| 164 | }, |
| 165 | "lines": true, |
| 166 | "linewidth": 1, |
| 167 | "links": [], |
| 168 | "nullPointMode": "null", |
| 169 | "percentage": false, |
| 170 | "pointradius": 5, |
| 171 | "points": false, |
| 172 | "renderer": "flot", |
| 173 | "seriesOverrides": [], |
| 174 | "spaceLength": 10, |
| 175 | "span": 12, |
| 176 | "stack": false, |
| 177 | "steppedLine": true, |
| 178 | "targets": [ |
| 179 | { |
| 180 | "dateTimeType": "DATETIME", |
| 181 | "expr": "bird_protocol_prefix_import_count{ip_version=\"4\",proto=\"BGP\"}", |
| 182 | "format": "time_series", |
| 183 | "formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t", |
| 184 | "intervalFactor": 1, |
| 185 | "legendFormat": "{{name}}", |
| 186 | "query": "SELECT\n $timeSeries as t,\n count()\nFROM $table\nWHERE $timeFilter\nGROUP BY t\nORDER BY t", |
| 187 | "refId": "A", |
| 188 | "round": "0s" |
| 189 | } |
| 190 | ], |
| 191 | "thresholds": [], |
| 192 | "timeFrom": null, |
| 193 | "timeShift": null, |
| 194 | "title": "PITER-IX prefixes imported", |
| 195 | "tooltip": { |
| 196 | "shared": true, |
| 197 | "sort": 2, |
| 198 | "value_type": "individual" |
| 199 | }, |
| 200 | "transparent": true, |
| 201 | "type": "graph", |
| 202 | "xaxis": { |
| 203 | "buckets": null, |
| 204 | "mode": "time", |
| 205 | "name": null, |
| 206 | "show": true, |
| 207 | "values": [] |
| 208 | }, |
| 209 | "yaxes": [ |
| 210 | { |
| 211 | "format": "none", |
| 212 | "label": "prefixes", |
| 213 | "logBase": 1, |
| 214 | "max": null, |
| 215 | "min": null, |
| 216 | "show": false |
| 217 | }, |
| 218 | { |
| 219 | "format": "short", |
| 220 | "label": null, |
| 221 | "logBase": 1, |
| 222 | "max": null, |
| 223 | "min": null, |
| 224 | "show": false |
| 225 | } |
| 226 | ] |
| 227 | } |
| 228 | ], |
| 229 | "repeat": null, |
| 230 | "repeatIteration": null, |
| 231 | "repeatRowId": null, |
| 232 | "showTitle": false, |
| 233 | "title": "Dashboard Row", |
| 234 | "titleSize": "h6" |
| 235 | } |
| 236 | ], |
| 237 | "schemaVersion": 14, |
| 238 | "style": "dark", |
| 239 | "tags": [], |
| 240 | "templating": { |
| 241 | "list": [] |
| 242 | }, |
| 243 | "time": { |
| 244 | "from": "now-30m", |
| 245 | "to": "now" |
| 246 | }, |
| 247 | "timepicker": { |
| 248 | "refresh_intervals": [ |
| 249 | "5s", |
| 250 | "10s", |
| 251 | "30s", |
| 252 | "1m", |
| 253 | "5m", |
| 254 | "15m", |
| 255 | "30m", |
| 256 | "1h", |
| 257 | "2h", |
| 258 | "1d" |
| 259 | ], |
| 260 | "time_options": [ |
| 261 | "5m", |
| 262 | "15m", |
| 263 | "1h", |
| 264 | "6h", |
| 265 | "12h", |
| 266 | "24h", |
| 267 | "2d", |
| 268 | "7d", |
| 269 | "30d" |
| 270 | ] |
| 271 | }, |
| 272 | "timezone": "", |
| 273 | "title": "BIRD RS", |
| 274 | "version": 15 |
| 275 | } |