Skip to content

Commit

Permalink
Add REST API request errors panel
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Feb 9, 2024
1 parent 62c3fd9 commit 06ff184
Showing 1 changed file with 84 additions and 2 deletions.
86 changes: 84 additions & 2 deletions dashboards/lodestar_validator_client.json
Original file line number Diff line number Diff line change
Expand Up @@ -2185,7 +2185,7 @@
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
"mode": "continuous-YlRd"
},
"custom": {
"axisCenteredZero": false,
Expand Down Expand Up @@ -2224,11 +2224,93 @@
"overrides": []
},
"gridPos": {
"h": 8,
"h": 9,
"w": 12,
"x": 0,
"y": 73
},
"id": 46,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "60 * sum(rate(vc_rest_api_client_request_errors_total[$rate_interval])) by (baseUrl) > 0",
"instant": false,
"legendFormat": "{{baseUrl}}",
"range": true,
"refId": "A"
}
],
"title": "REST API request errors (rate / min)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 73
},
"id": 45,
"options": {
"legend": {
Expand Down

0 comments on commit 06ff184

Please sign in to comment.