{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 2, "links": [], "liveNow": false, "panels": [ { "datasource": { "type": "prometheus", "uid": "c5fc62f4-1085-4614-a492-f40b54a2ea38" }, "description": "The rate of receiving and pruning messages based on _rate_interval", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 0 }, "id": 2, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "c5fc62f4-1085-4614-a492-f40b54a2ea38" }, "disableTextWrap": false, "editorMode": "builder", "expr": "rate(graphcast_listener_radio_pruned_messages[$__rate_interval])", "fullMetaSearch": false, "hide": false, "includeNullMetadata": true, "instant": false, "legendFormat": "__auto", "range": true, "refId": "B", "useBackend": false }, { "datasource": { "type": "prometheus", "uid": "c5fc62f4-1085-4614-a492-f40b54a2ea38" }, "disableTextWrap": false, "editorMode": "builder", "expr": "rate(graphcast_listener_radio_received_messages[$__rate_interval])", "fullMetaSearch": false, "hide": false, "includeNullMetadata": true, "instant": false, "legendFormat": "__auto", "range": true, "refId": "C", "useBackend": false } ], "title": "Receive and pruned", "type": "timeseries" }, { "datasource": { "type": "fifemon-graphql-datasource", "uid": "f7c22f90-e942-40b9-8221-6271f7d78d57" }, "description": "For each sender account, show their distinct deployment and message counts in store", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "cellOptions": { "type": "auto" }, "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 0 }, "id": 4, "options": { "cellHeight": "sm", "footer": { "countRows": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [ { "desc": false, "displayName": "message.graphAccount" } ] }, "pluginVersion": "10.1.1", "targets": [ { "aliasBy": "", "annotationTags": "", "annotationText": "", "annotationTitle": "", "constant": 6.5, "dataPath": "rows", "datasource": { "type": "fifemon-graphql-datasource", "uid": "f7c22f90-e942-40b9-8221-6271f7d78d57" }, "endTimePath": "endTime", "groupBy": "", "queryText": "query {\n rows{\n message{\n identifier\n graphAccount\n nonce\n }\n }\n}", "refId": "A", "timePath": "Time" } ], "title": "Sender stats", "transformations": [ { "disabled": true, "id": "partitionByValues", "options": { "fields": [ "message.nonce" ] } }, { "id": "groupBy", "options": { "fields": { "message.graphAccount": { "aggregations": [], "operation": "groupby" }, "message.identifier": { "aggregations": [ "distinctCount" ], "operation": "aggregate" }, "message.nonce": { "aggregations": [ "distinctCount" ], "operation": "aggregate" } } } }, { "disabled": true, "id": "calculateField", "options": { "mode": "reduceRow", "reduce": { "include": [ "message.identifier" ], "reducer": "distinctCount" }, "replaceFields": true } } ], "type": "table" }, { "datasource": { "type": "fifemon-graphql-datasource", "uid": "f7c22f90-e942-40b9-8221-6271f7d78d57" }, "description": "Query db for a quick view of recent messages", "fieldConfig": { "defaults": { "custom": { "align": "auto", "cellOptions": { "type": "auto" }, "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 18, "x": 0, "y": 8 }, "id": 1, "options": { "cellHeight": "sm", "footer": { "countRows": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true }, "pluginVersion": "10.1.1", "targets": [ { "aliasBy": "", "annotationTags": "", "annotationText": "", "annotationTitle": "", "constant": 6.5, "dataPath": "rows", "datasource": { "type": "fifemon-graphql-datasource", "uid": "f7c22f90-e942-40b9-8221-6271f7d78d57" }, "endTimePath": "endTime", "groupBy": "", "queryText": "query {\n rows{\n id\n message{\n identifier\n nonce\n graphAccount\n payload{\n \tcontent\n } \n }\n }\n}", "refId": "A", "timePath": "Time" } ], "title": "Stored messages", "transformations": [], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "c5fc62f4-1085-4614-a492-f40b54a2ea38" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 6, "x": 18, "y": 8 }, "id": 3, "options": { "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "10.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "c5fc62f4-1085-4614-a492-f40b54a2ea38" }, "disableTextWrap": false, "editorMode": "builder", "expr": "graphcast_listener_radio_received_messages", "fullMetaSearch": false, "hide": false, "includeNullMetadata": true, "instant": false, "legendFormat": "__auto", "range": true, "refId": "C", "useBackend": false }, { "datasource": { "type": "prometheus", "uid": "c5fc62f4-1085-4614-a492-f40b54a2ea38" }, "disableTextWrap": false, "editorMode": "builder", "expr": "graphcast_listener_radio_cached_messages", "fullMetaSearch": false, "hide": false, "includeNullMetadata": true, "instant": false, "legendFormat": "__auto", "range": true, "refId": "E", "useBackend": false } ], "title": "Received and cached volume", "type": "gauge" } ], "refresh": false, "schemaVersion": 38, "style": "dark", "tags": [], "templating": { "list": [] }, "time": { "from": "2023-10-06T15:20:43.110Z", "to": "2023-10-06T15:24:31.211Z" }, "timepicker": {}, "timezone": "", "title": "Graphcast Network monitor", "uid": "d75eb05f-6383-4b1c-a5b9-7577c8cdafbf", "version": 8, "weekStart": "" }