Files
Akihito Nakano 5a2a4d649d Scoring (#8)
* Initial implementation for scoring-parameters test plan

* Record the number of BeaconBlock messages received per epoch

* Add attacker module

* Dialing from attackers to a beacon node

* Add debug log

* Add TopicScoreParameter for BeaconBlock

* Rename crate and collect attacker info

* Add dashboards

* Add metrics

* Add topic_msg_sent_counts to dashboard

* Attestations

* rename

* topic_msg_sent_counts

* Make params configurable

* dashboards

* Aggregates per epoch

* Attestations per epoch

* run time

* Remove empty descriptions

* cargo update

* Record the result of sync_committee_aggregates and sync_committee_messages

* Update Messages dashboard

* Topic params for SignedContributionAndProof and SyncCommitteeMessage

* Make get_param() generic

* Use get_param()

* Dashboard: automate run_id

* Dashboard: Add `Settings`

* Set gossipsub config based on lighthouse

* Record peer scores on its own task

* Record metrics on its own task

* Fix invalid gossipsub config

* Remove unnecessary comment lines

* Some cleanup

* Merge main into scoring-parameters

* Add scoring test plan to CI workflow

* Update dashboard

* Fix: discarding correct message

* Add `Cache Misses` to the dashboard

* Avoid unnecessary compiling

* Add Cargo.lock

* Introduce NetworkConfiguration

* Fix clippy warnings

* Upgrade npg

* Add README

* Fix clippy warnings

* Improve qualifications

* Remove debug lines
2022-12-20 12:50:29 +11:00

202 lines
4.4 KiB
JSON

{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"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,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "influxdb",
"uid": "ds_influxdb"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 6,
"x": 0,
"y": 0
},
"id": 1,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "9.2.0",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "ds_influxdb"
},
"key": "Q-8436b72c-42d0-441c-b306-6819792366ad-0",
"query": "select peer_id from scoring_victim where run_id = '${run_id:text}'",
"rawQuery": true,
"refId": "A",
"resultFormat": "table"
}
],
"title": "Censoring target",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"pattern": "peer_id"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "influxdb",
"uid": "ds_influxdb"
},
"gridPos": {
"h": 34,
"w": 24,
"x": 0,
"y": 7
},
"id": 3,
"options": {
"nodes": {
"arcs": [
{
"color": "#73BF69",
"field": "arc__bn"
},
{
"color": "#F2495C",
"field": "arc__attacker"
}
]
}
},
"targets": [
{
"alias": "",
"datasource": {
"type": "influxdb",
"uid": "ds_influxdb"
},
"query": "select * from scoring_topology_node where run_id = '${run_id:text}'",
"rawQuery": true,
"refId": "nodes",
"resultFormat": "table"
},
{
"datasource": {
"type": "influxdb",
"uid": "ds_influxdb"
},
"hide": false,
"query": "select * from scoring_topology_edge where run_id = '${run_id:text}'",
"rawQuery": true,
"refId": "B",
"resultFormat": "table"
}
],
"title": "Topology",
"type": "nodeGraph"
}
],
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "ce0snvb4lvk1bf00kd80",
"value": "ce0snvb4lvk1bf00kd80"
},
"datasource": {
"type": "influxdb",
"uid": "ds_influxdb"
},
"definition": "select run_id from scoring_run_id order by time DESC",
"description": "Run IDs newest first",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "run_id",
"options": [],
"query": "select run_id from scoring_run_id order by time DESC",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Settings",
"uid": "HF3wnrOVz",
"version": 3,
"weekStart": ""
}