diff --git a/dashboards/frontend_ethernet.json b/dashboards/frontend_ethernet.json index 8446a9e..2e7e65f 100644 --- a/dashboards/frontend_ethernet.json +++ b/dashboards/frontend_ethernet.json @@ -3,7 +3,10 @@ "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -19,15 +22,18 @@ ] }, "editable": true, - "gnetId": null, + "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 265, - "iteration": 1691660884586, + "id": 144, "links": [], + "liveNow": false, "panels": [ { "collapsed": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "e28ab080-9f4e-4069-81a9-e5bdee344d06" + }, "gridPos": { "h": 1, "w": 24, @@ -36,17 +42,30 @@ }, "id": 24, "panels": [], - "title": "Detector", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "e28ab080-9f4e-4069-81a9-e5bdee344d06" + }, + "refId": "A" + } + ], + "title": "Transmitters (Detector)", "type": "row" }, { - "datasource": "${influxdb}", + "datasource": { + "uid": "${influxdb}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -58,6 +77,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -103,15 +123,20 @@ "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "multi" + "mode": "multi", + "sort": "none" } }, "targets": [ { "alias": "$tag_source_id", + "datasource": { + "uid": "${influxdb}" + }, "query": "SELECT non_negative_derivative(last(\"sent_udp_count\"), 1s) FROM \"dunedaq.hermesmodules.hermescontrollerinfo.LinkStats\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", "rawQuery": true, "refId": "A" @@ -130,13 +155,17 @@ "type": "timeseries" }, { - "datasource": "${influxdb}", + "datasource": { + "uid": "${influxdb}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -148,6 +177,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -183,8 +213,8 @@ "overrides": [] }, "gridPos": { - "h": 8, - "w": 8, + "h": 4, + "w": 4, "x": 8, "y": 1 }, @@ -193,15 +223,20 @@ "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "multi" + "mode": "multi", + "sort": "none" } }, "targets": [ { "alias": "$tag_source_id", + "datasource": { + "uid": "${influxdb}" + }, "query": "SELECT non_negative_derivative(last(\"sent_arp_count\"), 1s) FROM \"dunedaq.hermesmodules.hermescontrollerinfo.LinkStats\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", "rawQuery": true, "refId": "A" @@ -220,13 +255,17 @@ "type": "timeseries" }, { - "datasource": "${influxdb}", + "datasource": { + "uid": "${influxdb}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -238,6 +277,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -275,29 +315,34 @@ "gridPos": { "h": 8, "w": 8, - "x": 16, + "x": 12, "y": 1 }, - "id": 18, + "id": 16, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "multi" + "mode": "multi", + "sort": "none" } }, "targets": [ { "alias": "$tag_source_id", - "query": "SELECT non_negative_derivative(last(\"sent_ping_count\"),1s) FROM \"dunedaq.hermesmodules.hermescontrollerinfo.LinkStats\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "datasource": { + "uid": "${influxdb}" + }, + "query": "SELECT non_negative_derivative(last(\"rcvd_udp_count\"), 1s) FROM \"dunedaq.hermesmodules.hermescontrollerinfo.LinkStats\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", "rawQuery": true, "refId": "A" } ], - "title": "TX Ping Sent", + "title": "TX UDP Received rate", "transformations": [ { "id": "renameByRegex", @@ -310,13 +355,17 @@ "type": "timeseries" }, { - "datasource": "${influxdb}", + "datasource": { + "uid": "${influxdb}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -328,6 +377,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -363,31 +413,36 @@ "overrides": [] }, "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 9 + "h": 4, + "w": 4, + "x": 20, + "y": 1 }, - "id": 16, + "id": 19, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "multi" + "mode": "multi", + "sort": "none" } }, "targets": [ { "alias": "$tag_source_id", - "query": "SELECT non_negative_derivative(last(\"rcvd_udp_count\"), 1s) FROM \"dunedaq.hermesmodules.hermescontrollerinfo.LinkStats\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "datasource": { + "uid": "${influxdb}" + }, + "query": "SELECT non_negative_derivative(last(\"rcvd_arp_count\"), 1s) FROM \"dunedaq.hermesmodules.hermescontrollerinfo.LinkStats\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", "rawQuery": true, "refId": "A" } ], - "title": "TX UDP Received rate", + "title": "TX ARP Received", "transformations": [ { "id": "renameByRegex", @@ -400,13 +455,17 @@ "type": "timeseries" }, { - "datasource": "${influxdb}", + "datasource": { + "uid": "${influxdb}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -418,6 +477,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -453,31 +513,36 @@ "overrides": [] }, "gridPos": { - "h": 8, - "w": 8, + "h": 4, + "w": 4, "x": 8, - "y": 9 + "y": 5 }, - "id": 19, + "id": 18, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "multi" + "mode": "multi", + "sort": "none" } }, "targets": [ { "alias": "$tag_source_id", - "query": "SELECT non_negative_derivative(last(\"rcvd_arp_count\"), 1s) FROM \"dunedaq.hermesmodules.hermescontrollerinfo.LinkStats\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "datasource": { + "uid": "${influxdb}" + }, + "query": "SELECT non_negative_derivative(last(\"sent_ping_count\"),1s) FROM \"dunedaq.hermesmodules.hermescontrollerinfo.LinkStats\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", "rawQuery": true, "refId": "A" } ], - "title": "TX ARP Received", + "title": "TX Ping Sent", "transformations": [ { "id": "renameByRegex", @@ -490,13 +555,17 @@ "type": "timeseries" }, { - "datasource": "${influxdb}", + "datasource": { + "uid": "${influxdb}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -508,6 +577,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" @@ -546,25 +616,30 @@ "overrides": [] }, "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 9 + "h": 4, + "w": 4, + "x": 20, + "y": 5 }, "id": 20, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "multi" + "mode": "multi", + "sort": "none" } }, "targets": [ { "alias": "$tag_source_id", + "datasource": { + "uid": "${influxdb}" + }, "query": "SELECT non_negative_derivative(last(\"rcvd_ping_count\"),1s) FROM \"dunedaq.hermesmodules.hermescontrollerinfo.LinkStats\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", "rawQuery": true, "refId": "A" @@ -584,26 +659,30 @@ }, { "collapsed": false, - "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 17 + "y": 9 }, - "id": 22, + "id": 33, "panels": [], - "title": "Frontend", + "title": "Receiver (DAQ)", "type": "row" }, { - "datasource": "${influxdb}", + "datasource": { + "type": "influxdb", + "uid": "${influxdb}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -615,6 +694,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -645,7 +725,7 @@ } ] }, - "unit": "frames" + "unit": "pps" }, "overrides": [] }, @@ -653,33 +733,39 @@ "h": 8, "w": 8, "x": 0, - "y": 18 + "y": 10 }, - "id": 15, + "id": 2, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "multi" + "mode": "multi", + "sort": "none" } }, "targets": [ { "alias": "$tag_source_id", - "query": "SELECT non_negative_derivative(last(\"num_seq_id_errors\"), 1s) FROM \"dunedaq.readoutlibs.readoutinfo.RawDataProcessorInfo\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "datasource": { + "uid": "${influxdb}" + }, + "query": "SELECT mean(\"rx_good_packets\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", "rawQuery": true, - "refId": "A" + "refId": "A", + "resultFormat": "time_series" } ], - "title": "Sequence ID errors at DLH", + "title": "Received Good Packets", "transformations": [ { "id": "renameByRegex", "options": { - "regex": "[^.]+\\.([^.]+)\\.([^.]+)", + "regex": "[^.]+\\.([^.]+)\\.[^.]+\\.([^.]+)", "renamePattern": "$1 $2" } } @@ -687,13 +773,18 @@ "type": "timeseries" }, { - "datasource": "${influxdb}", + "datasource": { + "type": "influxdb", + "uid": "${influxdb}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -705,6 +796,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -735,7 +827,7 @@ } ] }, - "unit": "none" + "unit": "Bps" }, "overrides": [] }, @@ -743,33 +835,39 @@ "h": 8, "w": 8, "x": 8, - "y": 18 + "y": 10 }, - "id": 13, + "id": 3, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "multi" + "mode": "multi", + "sort": "none" } }, "targets": [ { "alias": "$tag_source_id", - "query": "SELECT max(\"max_seq_id_jump\") FROM \"dunedaq.readoutlibs.readoutinfo.RawDataProcessorInfo\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "datasource": { + "uid": "${influxdb}" + }, + "query": "SELECT mean(\"rx_good_bytes\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", "rawQuery": true, - "refId": "A" + "refId": "A", + "resultFormat": "time_series" } ], - "title": "Max Sequence ID jump at DLH", + "title": "RX Good Bytes", "transformations": [ { "id": "renameByRegex", "options": { - "regex": "[^.]+\\.([^.]+)\\.([^.]+)", + "regex": "[^.]+\\.([^.]+)\\.[^.]+\\.([^.]+)", "renamePattern": "$1 $2" } } @@ -777,13 +875,18 @@ "type": "timeseries" }, { - "datasource": "${influxdb}", + "datasource": { + "type": "influxdb", + "uid": "${influxdb}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -795,7 +898,11 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { @@ -825,7 +932,7 @@ } ] }, - "unit": "none" + "unit": "pps" }, "overrides": [] }, @@ -833,33 +940,39 @@ "h": 8, "w": 8, "x": 16, - "y": 18 + "y": 10 }, - "id": 14, + "id": 25, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "multi" + "mode": "multi", + "sort": "none" } }, "targets": [ { "alias": "$tag_source_id", - "query": "SELECT min(\"min_seq_id_jump\") FROM \"dunedaq.readoutlibs.readoutinfo.RawDataProcessorInfo\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "datasource": { + "uid": "${influxdb}" + }, + "query": "SELECT mean(\"rx_size_1523_to_max_packets\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", "rawQuery": true, - "refId": "A" + "refId": "A", + "resultFormat": "time_series" } ], - "title": "Min Sequence ID jump at DLH", + "title": "RX Jumbo Packets", "transformations": [ { "id": "renameByRegex", "options": { - "regex": "[^.]+\\.([^.]+)\\.([^.]+)", + "regex": "[^.]+\\.([^.]+)\\.[^.]+\\.([^.]+)", "renamePattern": "$1 $2" } } @@ -867,13 +980,18 @@ "type": "timeseries" }, { - "datasource": "${influxdb}", + "datasource": { + "type": "influxdb", + "uid": "${influxdb}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -885,7 +1003,11 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { @@ -914,7 +1036,8 @@ "value": 80 } ] - } + }, + "unit": "pps" }, "overrides": [] }, @@ -922,28 +1045,34 @@ "h": 8, "w": 8, "x": 0, - "y": 26 + "y": 18 }, - "id": 2, + "id": 27, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "multi" + "mode": "multi", + "sort": "none" } }, "targets": [ { "alias": "$tag_source_id", - "query": "SELECT sum(\"total_packets\") FROM \"dunedaq.dpdklibs.receiverinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "datasource": { + "uid": "${influxdb}" + }, + "query": "SELECT sum(\"rx_dropped_packets\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", "rawQuery": true, - "refId": "A" + "refId": "A", + "resultFormat": "time_series" } ], - "title": "Received total packets", + "title": "RX Dropped Packets", "transformations": [ { "id": "renameByRegex", @@ -956,13 +1085,18 @@ "type": "timeseries" }, { - "datasource": "${influxdb}", + "datasource": { + "type": "influxdb", + "uid": "${influxdb}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -974,7 +1108,11 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { @@ -1004,7 +1142,7 @@ } ] }, - "unit": "pps" + "unit": "cps" }, "overrides": [] }, @@ -1012,28 +1150,34 @@ "h": 8, "w": 8, "x": 8, - "y": 26 + "y": 18 }, - "id": 3, + "id": 28, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "multi" + "mode": "multi", + "sort": "none" } }, "targets": [ { "alias": "$tag_source_id", - "query": "SELECT mean(\"packets_per_second\") FROM \"dunedaq.dpdklibs.receiverinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "datasource": { + "uid": "${influxdb}" + }, + "query": "SELECT sum(\"rx_missed_errors\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", "rawQuery": true, - "refId": "A" + "refId": "A", + "resultFormat": "time_series" } ], - "title": "Packet rates", + "title": "RX Missed Errors", "transformations": [ { "id": "renameByRegex", @@ -1046,13 +1190,18 @@ "type": "timeseries" }, { - "datasource": "${influxdb}", + "datasource": { + "type": "influxdb", + "uid": "${influxdb}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1064,7 +1213,11 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { @@ -1094,7 +1247,7 @@ } ] }, - "unit": "binBps" + "unit": "cps" }, "overrides": [] }, @@ -1102,28 +1255,34 @@ "h": 8, "w": 8, "x": 16, - "y": 26 + "y": 18 }, - "id": 5, + "id": 29, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "multi" + "mode": "multi", + "sort": "none" } }, "targets": [ { "alias": "$tag_source_id", - "query": "SELECT mean(\"packets_per_second\") FROM \"dunedaq.dpdklibs.receiverinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "datasource": { + "uid": "${influxdb}" + }, + "query": "SELECT sum(\"rx_errors\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", "rawQuery": true, - "refId": "A" + "refId": "A", + "resultFormat": "time_series" } ], - "title": "Byte rates", + "title": "RX Errors", "transformations": [ { "id": "renameByRegex", @@ -1136,13 +1295,18 @@ "type": "timeseries" }, { - "datasource": "${influxdb}", + "datasource": { + "type": "influxdb", + "uid": "${influxdb}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1154,7 +1318,11 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { @@ -1183,7 +1351,8 @@ "value": 80 } ] - } + }, + "unit": "cps" }, "overrides": [] }, @@ -1191,28 +1360,34 @@ "h": 8, "w": 8, "x": 0, - "y": 34 + "y": 26 }, - "id": 8, + "id": 30, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "multi" + "mode": "multi", + "sort": "none" } }, "targets": [ { "alias": "$tag_source_id", - "query": "SELECT max(\"max_bad_seq_id_deviation\") FROM \"dunedaq.dpdklibs.receiverinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "datasource": { + "uid": "${influxdb}" + }, + "query": "SELECT sum(\"rx_crc_errors\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", "rawQuery": true, - "refId": "A" + "refId": "A", + "resultFormat": "time_series" } ], - "title": "Max Bad Seq ID deviation", + "title": "RX CRC Errors", "transformations": [ { "id": "renameByRegex", @@ -1225,13 +1400,18 @@ "type": "timeseries" }, { - "datasource": "${influxdb}", + "datasource": { + "type": "influxdb", + "uid": "${influxdb}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1243,7 +1423,11 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { @@ -1273,7 +1457,7 @@ } ] }, - "unit": "bytes" + "unit": "cps" }, "overrides": [] }, @@ -1281,28 +1465,34 @@ "h": 8, "w": 8, "x": 8, - "y": 34 + "y": 26 }, - "id": 11, + "id": 31, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "multi" + "mode": "multi", + "sort": "none" } }, "targets": [ { "alias": "$tag_source_id", - "query": "SELECT max(\"min_packet_size\") FROM \"dunedaq.dpdklibs.receiverinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "datasource": { + "uid": "${influxdb}" + }, + "query": "SELECT sum(\"rx_illegal_byte_errors\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", "rawQuery": true, - "refId": "A" + "refId": "A", + "resultFormat": "time_series" } ], - "title": "Min packet size", + "title": "RX Illegal Byte Errors", "transformations": [ { "id": "renameByRegex", @@ -1315,13 +1505,18 @@ "type": "timeseries" }, { - "datasource": "${influxdb}", + "datasource": { + "type": "influxdb", + "uid": "${influxdb}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1333,7 +1528,11 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { @@ -1363,7 +1562,7 @@ } ] }, - "unit": "pps" + "unit": "cps" }, "overrides": [] }, @@ -1371,28 +1570,34 @@ "h": 8, "w": 8, "x": 16, - "y": 34 + "y": 26 }, - "id": 9, + "id": 32, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "multi" + "mode": "multi", + "sort": "none" } }, "targets": [ { "alias": "$tag_source_id", - "query": "SELECT mean(\"bad_size_packets_per_second\") FROM \"dunedaq.dpdklibs.receiverinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "datasource": { + "uid": "${influxdb}" + }, + "query": "SELECT sum(\"rx_jabber_errors\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", "rawQuery": true, - "refId": "A" + "refId": "A", + "resultFormat": "time_series" } ], - "title": "Bad size packet rate", + "title": "RX Jabber Errors", "transformations": [ { "id": "renameByRegex", @@ -1405,13 +1610,18 @@ "type": "timeseries" }, { - "datasource": "${influxdb}", + "datasource": { + "type": "influxdb", + "uid": "${influxdb}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1423,7 +1633,11 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { @@ -1453,7 +1667,7 @@ } ] }, - "unit": "bytes" + "unit": "pps" }, "overrides": [] }, @@ -1461,28 +1675,155 @@ "h": 8, "w": 8, "x": 0, - "y": 42 + "y": 34 }, - "id": 10, + "id": 26, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "multi" + "mode": "multi", + "sort": "none" } }, "targets": [ { "alias": "$tag_source_id", - "query": "SELECT max(\"max_packet_size\") FROM \"dunedaq.dpdklibs.receiverinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "datasource": { + "uid": "${influxdb}" + }, + "query": "SELECT sum(\"rx_q0_packets\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", "rawQuery": true, - "refId": "A" + "refId": "A", + "resultFormat": "time_series" + }, + { + "alias": "$tag_source_id", + "datasource": { + "uid": "${influxdb}" + }, + "hide": false, + "query": "SELECT sum(\"rx_q1_packets\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series" + }, + { + "alias": "$tag_source_id", + "datasource": { + "uid": "${influxdb}" + }, + "hide": false, + "query": "SELECT sum(\"rx_q2_packets\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "rawQuery": true, + "refId": "C", + "resultFormat": "time_series" + }, + { + "alias": "$tag_source_id", + "datasource": { + "uid": "${influxdb}" + }, + "hide": false, + "query": "SELECT sum(\"rx_q3_packets\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "rawQuery": true, + "refId": "D", + "resultFormat": "time_series" + }, + { + "alias": "$tag_source_id", + "datasource": { + "uid": "${influxdb}" + }, + "hide": false, + "query": "SELECT sum(\"rx_q4_packets\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "rawQuery": true, + "refId": "E", + "resultFormat": "time_series" + }, + { + "alias": "$tag_source_id", + "datasource": { + "uid": "${influxdb}" + }, + "hide": false, + "query": "SELECT sum(\"rx_q5_packets\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "rawQuery": true, + "refId": "F", + "resultFormat": "time_series" + }, + { + "alias": "$tag_source_id", + "datasource": { + "uid": "${influxdb}" + }, + "hide": false, + "query": "SELECT sum(\"rx_q6_packets\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "rawQuery": true, + "refId": "G", + "resultFormat": "time_series" + }, + { + "alias": "$tag_source_id", + "datasource": { + "uid": "${influxdb}" + }, + "hide": false, + "query": "SELECT sum(\"rx_q7_packets\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "rawQuery": true, + "refId": "H", + "resultFormat": "time_series" + }, + { + "alias": "$tag_source_id", + "datasource": { + "uid": "${influxdb}" + }, + "hide": false, + "query": "SELECT sum(\"rx_q8_packets\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "rawQuery": true, + "refId": "I", + "resultFormat": "time_series" + }, + { + "alias": "$tag_source_id", + "datasource": { + "uid": "${influxdb}" + }, + "hide": false, + "query": "SELECT sum(\"rx_q9_packets\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "rawQuery": true, + "refId": "J", + "resultFormat": "time_series" + }, + { + "alias": "$tag_source_id", + "datasource": { + "uid": "${influxdb}" + }, + "hide": false, + "query": "SELECT sum(\"rx_q10_packets\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "rawQuery": true, + "refId": "K", + "resultFormat": "time_series" + }, + { + "alias": "$tag_source_id", + "datasource": { + "uid": "${influxdb}" + }, + "hide": false, + "query": "SELECT sum(\"rx_q11_packets\") FROM \"dunedaq.dpdklibs.nicreaderinfo.Info\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "rawQuery": true, + "refId": "L", + "resultFormat": "time_series" } ], - "title": "Max packet size", + "title": "RX Queue Packets", "transformations": [ { "id": "renameByRegex", @@ -1495,13 +1836,43 @@ "type": "timeseries" }, { - "datasource": "${influxdb}", + "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "e28ab080-9f4e-4069-81a9-e5bdee344d06" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 42 + }, + "id": 22, + "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "e28ab080-9f4e-4069-81a9-e5bdee344d06" + }, + "refId": "A" + } + ], + "title": "Frontend", + "type": "row" + }, + { + "datasource": { + "uid": "${influxdb}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -1513,6 +1884,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1543,31 +1915,36 @@ } ] }, - "unit": "frames" + "unit": "cps" }, "overrides": [] }, "gridPos": { "h": 8, - "w": 8, - "x": 8, - "y": 42 + "w": 6, + "x": 0, + "y": 43 }, - "id": 12, + "id": 15, "options": { "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { - "mode": "multi" + "mode": "multi", + "sort": "none" } }, "targets": [ { "alias": "$tag_source_id", - "query": "SELECT non_negative_derivative(mean(\"num_seq_id_errors\"), 1s) FROM \"dunedaq.readoutlibs.readoutinfo.RawDataProcessorInfo\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "datasource": { + "uid": "${influxdb}" + }, + "query": "SELECT non_negative_derivative(last(\"num_seq_id_errors\"), 1s) FROM \"dunedaq.readoutlibs.readoutinfo.RawDataProcessorInfo\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", "rawQuery": true, "refId": "A" } @@ -1577,31 +1954,552 @@ { "id": "renameByRegex", "options": { - "regex": "[^.]+\\.([^.]+)\\.[^.]+\\.([^.]+)", + "regex": "[^.]+\\.([^.]+)\\.([^.]+)", "renamePattern": "$1 $2" } } ], "type": "timeseries" - } - ], - "refresh": false, - "schemaVersion": 30, - "style": "dark", - "tags": [ - "Subsystem", - "v4.2.0" - ], - "templating": { - "list": [ - { - "current": { - "selected": false, + }, + { + "datasource": { + "type": "influxdb", + "uid": "${influxdb}" + }, + "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 + } + ] + }, + "unit": "cps" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 6, + "x": 6, + "y": 43 + }, + "id": 34, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "targets": [ + { + "alias": "$tag_source_id", + "datasource": { + "uid": "${influxdb}" + }, + "query": "SELECT non_negative_derivative(last(\"num_ts_errors\"), 1s) FROM \"dunedaq.readoutlibs.readoutinfo.RawDataProcessorInfo\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" + } + ], + "title": "Timestamp Errors at DLH", + "transformations": [ + { + "id": "renameByRegex", + "options": { + "regex": "[^.]+\\.([^.]+)\\.([^.]+)", + "renamePattern": "$1 $2" + } + } + ], + "type": "timeseries" + }, + { + "datasource": { + "uid": "${influxdb}" + }, + "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 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 6, + "x": 12, + "y": 43 + }, + "id": 14, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "targets": [ + { + "alias": "$tag_source_id", + "datasource": { + "uid": "${influxdb}" + }, + "query": "SELECT min(\"min_seq_id_jump\") FROM \"dunedaq.readoutlibs.readoutinfo.RawDataProcessorInfo\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "rawQuery": true, + "refId": "A" + } + ], + "title": "Min Sequence ID jump at DLH", + "transformations": [ + { + "id": "renameByRegex", + "options": { + "regex": "[^.]+\\.([^.]+)\\.([^.]+)", + "renamePattern": "$1 $2" + } + } + ], + "type": "timeseries" + }, + { + "datasource": { + "uid": "${influxdb}" + }, + "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 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 6, + "x": 18, + "y": 43 + }, + "id": 13, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "targets": [ + { + "alias": "$tag_source_id", + "datasource": { + "uid": "${influxdb}" + }, + "query": "SELECT max(\"max_seq_id_jump\") FROM \"dunedaq.readoutlibs.readoutinfo.RawDataProcessorInfo\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter GROUP BY time($__interval), \"source_id\" fill(null)", + "rawQuery": true, + "refId": "A" + } + ], + "title": "Max Sequence ID jump at DLH", + "transformations": [ + { + "id": "renameByRegex", + "options": { + "regex": "[^.]+\\.([^.]+)\\.([^.]+)", + "renamePattern": "$1 $2" + } + } + ], + "type": "timeseries" + }, + { + "datasource": { + "type": "influxdb", + "uid": "${influxdb}" + }, + "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 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 6, + "x": 0, + "y": 51 + }, + "id": 35, + "maxPerRow": 4, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "repeat": "application", + "repeatDirection": "h", + "targets": [ + { + "alias": "Max", + "datasource": { + "uid": "${influxdb}" + }, + "query": "SELECT max(\"max_seq_id_jump\") FROM \"dunedaq.readoutlibs.readoutinfo.RawDataProcessorInfo\" WHERE (\"source_id\" =~ /${partition}\\.${application}\\..*/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" + }, + { + "alias": "Min", + "datasource": { + "uid": "${influxdb}" + }, + "hide": false, + "query": "SELECT min(\"min_seq_id_jump\") FROM \"dunedaq.readoutlibs.readoutinfo.RawDataProcessorInfo\" WHERE (\"source_id\" =~ /${partition}\\.${application}\\..*/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series" + } + ], + "title": "Min/Max Sequence ID jump at DLH for application ${application}", + "transformations": [ + { + "id": "renameByRegex", + "options": { + "regex": "[^.]+\\.([^.]+)\\.([^.]+)", + "renamePattern": "$1 $2" + } + } + ], + "type": "timeseries" + }, + { + "datasource": { + "type": "influxdb", + "uid": "${influxdb}" + }, + "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 + } + ] + }, + "unit": "cps" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 6, + "x": 0, + "y": 59 + }, + "id": 46, + "maxPerRow": 4, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "repeat": "application", + "repeatDirection": "h", + "targets": [ + { + "alias": "", + "datasource": { + "uid": "${influxdb}" + }, + "query": "SELECT non_negative_derivative(last(\"num_seq_id_errors\"), 1s) + non_negative_derivative(last(\"num_ts_errors\"), 1s) FROM \"dunedaq.readoutlibs.readoutinfo.RawDataProcessorInfo\" WHERE (\"source_id\" =~ /${partition}\\.${application}\\..*/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series" + } + ], + "title": "Total errors at DLH for ${application}", + "transformations": [ + { + "id": "renameByRegex", + "options": { + "regex": "[^.]+\\.([^.]+)\\.([^.]+)", + "renamePattern": "$1 $2" + } + } + ], + "type": "timeseries" + } + ], + "refresh": false, + "schemaVersion": 38, + "style": "dark", + "tags": [ + "Subsystem", + "v4.2.0" + ], + "templating": { + "list": [ + { + "current": { + "selected": false, "text": "InfluxKafka", - "value": "InfluxKafka" + "value": "a88ee586-efa7-4f63-b9e7-bc7d6e84bcfb" }, - "description": null, - "error": null, "hide": 2, "includeAll": false, "label": "InfluxDB", @@ -1615,16 +2513,16 @@ "type": "datasource" }, { - "allValue": null, "current": { "selected": false, - "text": "np04hddev", - "value": "np04hddev" + "text": "thea-np04", + "value": "thea-np04" + }, + "datasource": { + "type": "influxdb", + "uid": "${influxdb}" }, - "datasource": "${influxdb}", "definition": "SHOW TAG VALUES WITH KEY=\"partition_id\" where $timeFilter", - "description": null, - "error": null, "hide": 0, "includeAll": false, "label": "Partition name", @@ -1637,12 +2535,40 @@ "skipUrlSync": false, "sort": 1, "type": "query" + }, + { + "current": { + "selected": false, + "text": [ + "All" + ], + "value": [ + "$__all" + ] + }, + "datasource": { + "type": "influxdb", + "uid": "${influxdb}" + }, + "definition": "SELECT \"source_id\" FROM ( SELECT \"max_seq_id_jump\", \"source_id\" FROM \"dunedaq.readoutlibs.readoutinfo.RawDataProcessorInfo\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter )", + "hide": 0, + "includeAll": true, + "label": "Readout Application", + "multi": true, + "name": "application", + "options": [], + "query": "SELECT \"source_id\" FROM ( SELECT \"max_seq_id_jump\", \"source_id\" FROM \"dunedaq.readoutlibs.readoutinfo.RawDataProcessorInfo\" WHERE (\"partition_id\" = '${partition}') AND $timeFilter )", + "refresh": 2, + "regex": "[^.]+\\.([^.]+)\\.[^.]+", + "skipUrlSync": false, + "sort": 1, + "type": "query" } ] }, "time": { - "from": "now-7d", - "to": "now" + "from": "2023-10-10T10:49:26.517Z", + "to": "2023-10-10T11:19:26.517Z" }, "timepicker": { "refresh_intervals": [ @@ -1671,6 +2597,7 @@ }, "timezone": "", "title": "Frontend Ethernet", - "uid": "v4_1_0-frontend_ethernet", - "version": 19 -} + "uid": "v4_2_0-frontend_ethernet", + "version": 20, + "weekStart": "" +} \ No newline at end of file