Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add variable for datasource #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
144 changes: 38 additions & 106 deletions monitoring/dashboards/eigenda-metrics.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": "${datasource}",
"description": "the total number of batches processed by the DA node",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -104,10 +101,7 @@
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": null,
"disableTextWrap": false,
"editorMode": "builder",
"expr": "node_eigenda_processed_batches_total{type=\"number\"}",
Expand All @@ -120,10 +114,7 @@
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": null,
"disableTextWrap": false,
"editorMode": "builder",
"expr": "node_eigenda_processed_batches_total{type=\"number\", status=\"signed\"}",
Expand All @@ -141,10 +132,7 @@
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": "${datasource}",
"description": "the total size of batches processed by the DA node",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -222,10 +210,7 @@
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": null,
"disableTextWrap": false,
"editorMode": "builder",
"expr": "node_eigenda_processed_batches_total{type=\"size\"}",
Expand All @@ -242,10 +227,7 @@
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": "${datasource}",
"description": "the total number of batches that have been removed by the DA node",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -322,10 +304,7 @@
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": null,
"disableTextWrap": false,
"editorMode": "builder",
"expr": "node_eigenda_removed_batches_total{type=\"number\"}",
Expand All @@ -342,10 +321,7 @@
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": "${datasource}",
"description": "the total size of batches that have been removed by the DA node",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -423,10 +399,7 @@
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": null,
"disableTextWrap": false,
"editorMode": "builder",
"expr": "node_eigenda_removed_batches_total{type=\"size\"} / 1024",
Expand All @@ -443,10 +416,7 @@
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": "${datasource}",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -526,10 +496,7 @@
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": null,
"disableTextWrap": false,
"editorMode": "builder",
"expr": "node_request_latency_ms{quantile=\"0.99\", method=\"StoreChunks\"}",
Expand All @@ -542,10 +509,7 @@
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": null,
"disableTextWrap": false,
"editorMode": "builder",
"expr": "node_request_latency_ms{quantile=\"0.95\", method=\"StoreChunks\"}",
Expand All @@ -563,10 +527,7 @@
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": "${datasource}",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -643,10 +604,7 @@
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": null,
"editorMode": "code",
"expr": "sum(node_eigenda_processed_batches_total{type=\"size\"})\n/\nsum(node_eigenda_processed_batches_total{type=\"number\"})",
"hide": false,
Expand All @@ -656,10 +614,7 @@
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": null,
"disableTextWrap": false,
"editorMode": "builder",
"expr": "node_eigenda_processed_batches_total{type=\"size\"}",
Expand All @@ -677,10 +632,7 @@
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": "${datasource}",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -756,10 +708,7 @@
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": null,
"disableTextWrap": false,
"editorMode": "builder",
"expr": "rate(node_eigenda_rpc_requests_total{method=\"StoreChunks\"}[$__range])",
Expand All @@ -776,10 +725,7 @@
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": "${datasource}",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -858,10 +804,7 @@
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": null,
"disableTextWrap": false,
"editorMode": "code",
"expr": "node_request_latency_ms{quantile=\"0.99\", method=\"RetrieveChunks\"}",
Expand All @@ -874,10 +817,7 @@
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": null,
"disableTextWrap": false,
"editorMode": "code",
"expr": "node_request_latency_ms{quantile=\"0.95\", method=\"RetrieveChunks\"}",
Expand All @@ -895,10 +835,7 @@
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": "${datasource}",
"description": "the total number of node's socket address updates",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -945,10 +882,7 @@
"pluginVersion": "10.2.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": null,
"disableTextWrap": false,
"editorMode": "builder",
"expr": "node_eigenda_node_socket_updates_total",
Expand All @@ -965,10 +899,7 @@
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": "${datasource}",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -1044,10 +975,7 @@
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": null,
"disableTextWrap": false,
"editorMode": "code",
"expr": "rate(node_eigenda_rpc_requests_total{method=\"RetrieveChunks\"}[$__range])",
Expand All @@ -1064,10 +992,7 @@
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": "${datasource}",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -1142,10 +1067,7 @@
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"datasource": null,
"disableTextWrap": false,
"editorMode": "builder",
"expr": "sum by(status) (node_eigenda_processed_batches_total{type=\"number\"})",
Expand All @@ -1166,7 +1088,17 @@
"schemaVersion": 38,
"tags": [],
"templating": {
"list": []
"list": [
{
"name": "datasource",
"type": "datasource",
"query": "prometheus",
"refresh": 1,
"hide": 0,
"includeAll": true,
"label": "Select a Data Source"
}
]
},
"time": {
"from": "now-1h",
Expand All @@ -1178,4 +1110,4 @@
"uid": "dcd9d495-ff1e-4794-b2b6-62634e4b40d1",
"version": 3,
"weekStart": ""
}
}