Skip to content

Commit

Permalink
chore: update grafana.json
Browse files Browse the repository at this point in the history
  • Loading branch information
pete-eiger committed Sep 27, 2023
1 parent e19df4b commit 09a3472
Showing 1 changed file with 69 additions and 50 deletions.
119 changes: 69 additions & 50 deletions grafana.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,7 @@
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
Expand Down Expand Up @@ -181,15 +179,11 @@
"options": {
"fields": {
"Count": {
"aggregations": [
"count"
],
"aggregations": ["count"],
"operation": "aggregate"
},
"DIVERGENT_deployment": {
"aggregations": [
"count"
],
"aggregations": ["count"],
"operation": "aggregate"
},
"DIVERGENT_resultType": {
Expand All @@ -201,15 +195,11 @@
"operation": "groupby"
},
"MATCH_deployment": {
"aggregations": [
"count"
],
"aggregations": ["count"],
"operation": "aggregate"
},
"MATCH_resultType": {
"aggregations": [
"count"
],
"aggregations": ["count"],
"operation": "groupby"
},
"deployment": {
Expand Down Expand Up @@ -266,9 +256,7 @@
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
Expand All @@ -279,7 +267,7 @@
{
"datasource": "${DS_PROMETHEUS}",
"editorMode": "builder",
"exemplar": true,
"exemplar": false,
"expr": "sum(rate(graphcast_subgraph_radio_validated_messages{}[30m])) * 60",
"hide": false,
"instant": false,
Expand All @@ -291,13 +279,25 @@
{
"datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
"exemplar": true,
"exemplar": false,
"expr": "sum(graphcast_subgraph_radio_cached_ppoi_messages{})",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "Messages In Store",
"refId": "Cached Messages"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "sum(graphcast_subgraph_radio_received_messages)",
"hide": false,
"interval": "",
"legendFormat": "Received Messages",
"refId": "A"
}
],
"title": "Message stats",
Expand Down Expand Up @@ -357,7 +357,32 @@
]
}
},
"overrides": []
"overrides": [
{
"__systemRef": "hideSeriesFrom",
"matcher": {
"id": "byNames",
"options": {
"mode": "exclude",
"names": [
"graphcast_subgraph_radio_connected_peers{instance=\"subgraph-radio:2384\", job=\"subgraph-radio\"}"
],
"prefix": "All except:",
"readOnly": true
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": false,
"tooltip": false,
"viz": true
}
}
]
}
]
},
"gridPos": {
"h": 8,
Expand All @@ -368,11 +393,7 @@
"id": 123125,
"options": {
"legend": {
"calcs": [
"last",
"min",
"max"
],
"calcs": ["last", "min", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true,
Expand All @@ -389,11 +410,23 @@
"datasource": "${DS_PROMETHEUS}",
"editorMode": "code",
"exemplar": false,
"expr": "graphcast_subgraph_radio_ACTIVE_INDEXERS",
"expr": "graphcast_subgraph_radio_connected_peers",
"interval": "",
"legendFormat": "{{deployment}}",
"legendFormat": "",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "graphcast_subgraph_radio_gossip_peers",
"hide": false,
"interval": "",
"legendFormat": "",
"refId": "B"
}
],
"title": "Number of Gossiping Indexers per Subgraph",
Expand Down Expand Up @@ -438,9 +471,7 @@
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"reducer": ["sum"],
"show": false
},
"showHeader": true,
Expand Down Expand Up @@ -591,7 +622,10 @@
"type": "timeseries"
},
{
"datasource": "${DS_PROMETHEUS}",
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -740,12 +774,7 @@
"id": 123135,
"options": {
"legend": {
"calcs": [
"last",
"min",
"max",
"sum"
],
"calcs": ["last", "min", "max", "sum"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true,
Expand Down Expand Up @@ -799,22 +828,12 @@
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
],
"time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"],
"type": "timepicker"
},
"timezone": "browser",
"title": "Graphcast Subgraph Radio",
"uid": "graphcast-subgraph-radio",
"version": 10,
"version": 17,
"weekStart": ""
}

0 comments on commit 09a3472

Please sign in to comment.