{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "datasource", "uid": "grafana" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "target": { "limit": 100, "matchAny": false, "tags": [], "type": "dashboard" }, "type": "dashboard" } ] }, "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 12, "iteration": 1654876366831, "links": [ { "asDropdown": true, "icon": "external link", "includeVars": true, "keepTime": true, "tags": [ "obmp-nav" ], "title": "OBMP Dashboards", "type": "dashboards" } ], "liveNow": false, "panels": [ { "datasource": { "type": "postgres", "uid": "obmp_postgres" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 0, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [] }, "gridPos": { "h": 6, "w": 24, "x": 0, "y": 0 }, "id": 8, "links": [], "options": { "legend": { "calcs": [ "mean", "max" ], "displayMode": "table", "placement": "right" }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "8.0.5", "targets": [ { "alias": "", "datasource": { "type": "postgres", "uid": "obmp_postgres" }, "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "SELECT\n $__timeGroup(interval_time, $__interval) as time,\n sum(updates) as updates,sum(withdraws) as withdraws\nFROM stats_chg_bypeer s\n JOIN v_peers p ON (s.peer_hash_id = p.peer_hash_id)\nWHERE $__timeFilter(interval_time)\n AND s.peer_hash_id in ($peer_hash)\nGROUP BY time\nORDER BY time ASC\n\n", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "title": "Advertisements & Withdrawals", "type": "timeseries" }, { "datasource": { "type": "postgres", "uid": "obmp_postgres" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "Count of Updates", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 6 }, "id": 13, "interval": "15m", "links": [], "options": { "legend": { "calcs": [ "mean", "max" ], "displayMode": "table", "placement": "right" }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "8.0.5", "targets": [ { "alias": "", "datasource": { "type": "postgres", "uid": "obmp_postgres" }, "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "SELECT\n $__timeGroup(interval_time, $__interval) as time,\n sum(updates),\n p.routername as metric\n FROM stats_chg_bypeer l\n JOIN v_peers p ON (p.peer_hash_id = l.peer_hash_id)\n WHERE $__timeFilter(interval_time)\n AND l.peer_hash_id in ($peer_hash)\n GROUP BY routername,time\n order by time asc\n", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "title": "Updates by Router", "type": "timeseries" }, { "datasource": { "type": "postgres", "uid": "obmp_postgres" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "Count of Updates", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 6 }, "id": 5, "links": [], "options": { "legend": { "calcs": [ "mean", "max" ], "displayMode": "table", "placement": "right" }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "8.0.5", "targets": [ { "alias": "", "datasource": { "type": "postgres", "uid": "obmp_postgres" }, "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "SELECT\n $__timeGroup(interval_time, $__interval) as time,\n sum(withdraws),\n p.routername as metric\n FROM stats_chg_bypeer l\n JOIN v_peers p ON (p.peer_hash_id = l.peer_hash_id)\n WHERE $__timeFilter(interval_time)\n AND l.peer_hash_id in ($peer_hash)\n group by routername,time\n order by time", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "title": "Withdraws by Router", "type": "timeseries" }, { "datasource": { "type": "postgres", "uid": "obmp_postgres" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "Count of Updates", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 13 }, "id": 4, "interval": "15m", "links": [], "options": { "legend": { "calcs": [ "mean", "max" ], "displayMode": "table", "placement": "right" }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "8.0.5", "targets": [ { "alias": "", "datasource": { "type": "postgres", "uid": "obmp_postgres" }, "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "SELECT\n $__timeGroup(interval_time, $__interval) as time,\n sum(updates),\n p.PeerName as metric\n FROM stats_chg_bypeer l\n JOIN v_peers p ON (p.peer_hash_id = l.peer_hash_id)\n WHERE $__timeFilter(interval_time)\n AND l.peer_hash_id in ($peer_hash)\n GROUP BY peername,time\n order by time asc\n", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "title": "Updates by Peer", "type": "timeseries" }, { "datasource": { "type": "postgres", "uid": "obmp_postgres" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "Count of Updates", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 13 }, "id": 14, "links": [], "options": { "legend": { "calcs": [ "mean", "max" ], "displayMode": "table", "placement": "right" }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "8.0.5", "targets": [ { "alias": "", "datasource": { "type": "postgres", "uid": "obmp_postgres" }, "format": "time_series", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "SELECT\n $__timeGroup(interval_time, $__interval) as time,\n sum(withdraws),\n p.PeerName as metric\n FROM stats_chg_bypeer l\n JOIN v_peers p ON (p.peer_hash_id = l.peer_hash_id)\n WHERE $__timeFilter(interval_time)\n AND l.peer_hash_id in ($peer_hash)\n group by peername,time\n order by time", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "title": "Withdraws by Peer", "type": "timeseries" }, { "datasource": { "type": "postgres", "uid": "obmp_postgres" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "displayMode": "auto", "inspect": false }, "links": [], "mappings": [], "thresholds": { "mode": "percentage", "steps": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 20 }, { "color": "red", "value": 60 } ] }, "unit": "locale" }, "overrides": [ { "matcher": { "id": "byName", "options": "Updates" }, "properties": [ { "id": "custom.displayMode", "value": "gradient-gauge" } ] }, { "matcher": { "id": "byName", "options": "asn" }, "properties": [ { "id": "custom.align", "value": "center" }, { "id": "links", "value": [ { "targetBlank": true, "title": "ASN Info", "url": "/d/asnview-agg/asn-view?orgId=1&var-asn_num=${__value.text}&${__url_time_range}" } ] }, { "id": "unit", "value": "none" } ] }, { "matcher": { "id": "byName", "options": "asn" }, "properties": [ { "id": "custom.width", "value": 119 } ] } ] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 20 }, "id": 10, "links": [], "options": { "footer": { "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [] }, "pluginVersion": "8.5.4", "targets": [ { "alias": "", "datasource": { "type": "postgres", "uid": "obmp_postgres" }, "format": "table", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "SELECT as_name as \"AS Name\",d.* from (\n SELECT\n origin_as as asn,\n sum(updates) as \"Updates\"\n FROM stats_chg_byasn l\n WHERE $__timeFilter(interval_time)\n AND peer_hash_id in ($peer_hash)\n GROUP BY asn\n order by \"Updates\" desc\n LIMIT 20\n) d\nLEFT JOIN info_asn i ON (i.asn = d.asn)\n", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "title": "Top Updates by ASN", "type": "table" }, { "datasource": { "type": "postgres", "uid": "obmp_postgres" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "displayMode": "auto", "inspect": false }, "links": [], "mappings": [], "thresholds": { "mode": "percentage", "steps": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 20 }, { "color": "red", "value": 60 } ] }, "unit": "locale" }, "overrides": [ { "matcher": { "id": "byName", "options": "Withdraws" }, "properties": [ { "id": "custom.displayMode", "value": "gradient-gauge" } ] }, { "matcher": { "id": "byName", "options": "asn" }, "properties": [ { "id": "custom.align", "value": "center" }, { "id": "links", "value": [ { "targetBlank": true, "title": "ASN Info", "url": "/d/asnview-agg/asn-view?orgId=1&var-asn_num=${__value.text}&${__url_time_range}" } ] }, { "id": "unit", "value": "none" } ] }, { "matcher": { "id": "byName", "options": "asn" }, "properties": [ { "id": "custom.width", "value": 119 } ] } ] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 20 }, "id": 11, "links": [], "options": { "footer": { "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [] }, "pluginVersion": "8.5.4", "targets": [ { "alias": "", "datasource": { "type": "postgres", "uid": "obmp_postgres" }, "format": "table", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "SELECT as_name,d.* from (\n SELECT\n origin_as as asn,\n sum(withdraws) as \"Withdraws\"\n FROM stats_chg_byasn l\n WHERE $__timeFilter(interval_time)\n AND peer_hash_id in ($peer_hash)\n GROUP BY asn\n order by \"Withdraws\" desc\n LIMIT 20\n) d\nLEFT JOIN info_asn i ON (i.asn = d.asn)\n", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "title": "Top Withdraws by ASN", "type": "table" }, { "datasource": { "type": "postgres", "uid": "obmp_postgres" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "displayMode": "auto", "inspect": false }, "links": [], "mappings": [], "thresholds": { "mode": "percentage", "steps": [ { "color": "green" }, { "color": "#EAB839", "value": 20 }, { "color": "red", "value": 60 } ] }, "unit": "locale" }, "overrides": [ { "matcher": { "id": "byName", "options": "Updates" }, "properties": [ { "id": "custom.displayMode", "value": "gradient-gauge" } ] }, { "matcher": { "id": "byName", "options": "prefix" }, "properties": [ { "id": "custom.align", "value": "center" }, { "id": "custom.width", "value": 258 }, { "id": "links", "value": [ { "targetBlank": true, "title": "Prefix History", "url": "/d/prefix-hist/prefix-history-by-prefix?orgId=1&var-router_hash=All&var-peer_hash=All&var-limit=1000&var-input=${__value.text}&${__url_time_range}" } ] } ] }, { "matcher": { "id": "byName", "options": "origin_as" }, "properties": [ { "id": "unit", "value": "none" }, { "id": "custom.align", "value": "center" }, { "id": "custom.width", "value": 136 } ] }, { "matcher": { "id": "byName", "options": "AS Name" }, "properties": [ { "id": "custom.width", "value": 136 } ] }, { "matcher": { "id": "byName", "options": "Desc" }, "properties": [ { "id": "custom.width", "value": 178 } ] } ] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 27 }, "id": 2, "links": [], "options": { "footer": { "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [] }, "pluginVersion": "8.5.2", "targets": [ { "alias": "", "datasource": { "type": "postgres", "uid": "obmp_postgres" }, "format": "table", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "SELECT as_name as \"AS Name\", irr_descr as \"Desc\",r.recv_origin_as as origin_as,d.* FROM (\nSELECT\n prefix,\n sum(updates) as \"Updates\"\n FROM stats_chg_byprefix l\n WHERE $__timeFilter(interval_time)\n AND peer_hash_id in ($peer_hash)\n GROUP BY prefix\n order by \"Updates\" desc\nLIMIT 60\n) d\nJOIN global_ip_rib r ON (r.prefix = d.prefix)\nLEFT JOIN info_asn i ON (i.asn = r.recv_origin_as)", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "title": "Top Prefix Updates", "type": "table" }, { "datasource": { "type": "postgres", "uid": "obmp_postgres" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "displayMode": "auto", "inspect": false }, "links": [], "mappings": [], "thresholds": { "mode": "percentage", "steps": [ { "color": "green" }, { "color": "#EAB839", "value": 20 }, { "color": "red", "value": 60 } ] }, "unit": "locale" }, "overrides": [ { "matcher": { "id": "byName", "options": "Withdraws" }, "properties": [ { "id": "custom.displayMode", "value": "gradient-gauge" } ] }, { "matcher": { "id": "byName", "options": "prefix" }, "properties": [ { "id": "custom.align", "value": "center" }, { "id": "custom.width", "value": 258 }, { "id": "links", "value": [ { "targetBlank": true, "title": "Prefix History", "url": "/d/prefix-hist/prefix-history-by-prefix?orgId=1&var-router_hash=All&var-peer_hash=All&var-limit=1000&var-input=${__value.text}&${__url_time_range}" } ] } ] }, { "matcher": { "id": "byName", "options": "origin_as" }, "properties": [ { "id": "unit", "value": "none" }, { "id": "custom.align", "value": "center" }, { "id": "custom.width", "value": 136 } ] }, { "matcher": { "id": "byName", "options": "AS Name" }, "properties": [ { "id": "custom.width", "value": 136 } ] }, { "matcher": { "id": "byName", "options": "Desc" }, "properties": [ { "id": "custom.width", "value": 178 } ] } ] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 27 }, "id": 12, "links": [], "options": { "footer": { "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [] }, "pluginVersion": "8.5.2", "targets": [ { "alias": "", "datasource": { "type": "postgres", "uid": "obmp_postgres" }, "format": "table", "group": [], "hide": false, "metricColumn": "none", "rawQuery": true, "rawSql": "SELECT as_name as \"AS Name\", irr_descr as \"Desc\",r.recv_origin_as as origin_as,d.* FROM (\nSELECT\n prefix,\n sum(withdraws) as \"Withdraws\"\n FROM stats_chg_byprefix l\n WHERE $__timeFilter(interval_time)\n AND peer_hash_id in ($peer_hash)\n GROUP BY prefix\n order by \"Withdraws\" desc\nLIMIT 60\n) d\nJOIN global_ip_rib r ON (r.prefix = d.prefix)\n--LEFT JOIN info_route ir ON (ir.prefix = d.prefix)\nLEFT JOIN info_asn i ON (i.asn = r.recv_origin_as)", "refId": "A", "select": [ [ { "params": [ "value" ], "type": "column" } ] ], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "title": "Top Prefix Withdraws", "type": "table" } ], "refresh": false, "schemaVersion": 36, "style": "dark", "tags": [ "obmp-tops", "obmp", "obmp-nav" ], "templating": { "list": [ { "allValue": "", "current": { "selected": true, "text": [ "All" ], "value": [ "$__all" ] }, "datasource": { "type": "postgres", "uid": "obmp_postgres" }, "definition": "select name as __text, hash_id as __value from routers where length(name) > 0", "hide": 0, "includeAll": true, "label": "Filter by Router", "multi": true, "name": "router_hash", "options": [], "query": "select name as __text, hash_id as __value from routers where length(name) > 0", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "current": { "selected": false, "text": "All", "value": "$__all" }, "datasource": { "type": "postgres", "uid": "obmp_postgres" }, "definition": "select peername as __text, peer_hash_id as __value from v_peers where router_hash_id in ($router_hash)", "hide": 0, "includeAll": true, "label": "Peer", "multi": true, "name": "peer_hash", "options": [], "query": "select peername as __text, peer_hash_id as __value from v_peers where router_hash_id in ($router_hash)", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 1, "type": "query" } ] }, "time": { "from": "now-24h", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "utc", "title": "Top by Prefixes", "uid": "e_cJJzxnk", "version": 4, "weekStart": "" }