Skip to content

Commit

Permalink
Add monitoring dashboard update for reachability metrics
Browse files Browse the repository at this point in the history
Drop reachability poll interval to 60 secs
  • Loading branch information
pschork committed May 14, 2024
1 parent 263a48f commit fe323f2
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 3 deletions.
2 changes: 1 addition & 1 deletion holesky/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ NODE_INTERNAL_DISPERSAL_PORT=${NODE_DISPERSAL_PORT}
NODE_INTERNAL_RETRIEVAL_PORT=${NODE_RETRIEVAL_PORT}

# Reachability Check
NODE_REACHABILITY_POLL_INTERVAL=300
NODE_REACHABILITY_POLL_INTERVAL=60
NODE_DATAAPI_URL=https://dataapi-holesky.eigenda.xyz

# EigenDA mounted locations
Expand Down
2 changes: 1 addition & 1 deletion mainnet/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ NODE_INTERNAL_DISPERSAL_PORT=${NODE_DISPERSAL_PORT}
NODE_INTERNAL_RETRIEVAL_PORT=${NODE_RETRIEVAL_PORT}

# Reachability Check
NODE_REACHABILITY_POLL_INTERVAL=300
NODE_REACHABILITY_POLL_INTERVAL=60
NODE_DATAAPI_URL=https://dataapi.eigenda.xyz

# EigenDA mounted locations
Expand Down
87 changes: 86 additions & 1 deletion monitoring/dashboards/eigenda-metrics.json
Original file line number Diff line number Diff line change
Expand Up @@ -1428,6 +1428,91 @@
],
"title": "EigenDA number of removed batches",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"0": {
"color": "red",
"index": 1,
"text": "UNREACHABLE"
},
"1": {
"color": "green",
"index": 0,
"text": "ONLINE"
}
},
"type": "value"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 40
},
"id": 15,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "node_reachability_status",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "{{service}}",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Reachability",
"type": "stat"
}
],
"refresh": "",
Expand All @@ -1446,4 +1531,4 @@
"uid": "dcd9d495-ff1e-4794-b2b6-62634e4b40d1",
"version": 29,
"weekStart": ""
}
}

0 comments on commit fe323f2

Please sign in to comment.