Skip to content
Merged
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
64 changes: 32 additions & 32 deletions grafana/dashboards/shared/ogmios.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,15 @@
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.3.0-18356121373.patch4",
"pluginVersion": "12.4.0-21024277089.patch2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "code",
"expr": "ogmios_tip_block{namespace=\"$namespace\", pod=~\".*$network-$version.*\"}",
"expr": "ogmios_tip_block{namespace=\"$namespace\", pod=~\".*(cardano-)?$network-.*\"}",
"legendFormat": "{{pod}}",
"range": true,
"refId": "A"
Expand Down Expand Up @@ -186,15 +186,15 @@
"sort": "none"
}
},
"pluginVersion": "12.3.0-18356121373.patch4",
"pluginVersion": "12.4.0-21024277089.patch2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "code",
"expr": "rate(ogmios_total_messages{namespace=\"$namespace\", pod=~\".*$network-$version.*\"}[$__rate_interval])",
"expr": "rate(ogmios_total_messages{namespace=\"$namespace\", pod=~\".*(cardano-)?$network-.*\"}[$__rate_interval])",
"legendFormat": "{{pod}}",
"range": true,
"refId": "A"
Expand Down Expand Up @@ -254,15 +254,15 @@
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.3.0-18356121373.patch4",
"pluginVersion": "12.4.0-21024277089.patch2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "code",
"expr": "ogmios_active_connections{namespace=\"$namespace\", pod=~\".*$network-$version.*\"}",
"expr": "ogmios_active_connections{namespace=\"$namespace\", pod=~\".*(cardano-)?$network-.*\"}",
"legendFormat": "{{pod}}",
"range": true,
"refId": "A"
Expand Down Expand Up @@ -322,7 +322,7 @@
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.3.0-18356121373.patch4",
"pluginVersion": "12.4.0-21024277089.patch2",
"targets": [
{
"datasource": {
Expand All @@ -331,7 +331,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(ogmios_active_connections{namespace=\"$namespace\", pod=~\".*$network-$version.*\"})",
"expr": "sum(ogmios_active_connections{namespace=\"$namespace\", pod=~\".*(cardano-)?$network-.*\"})",
"instant": true,
"legendFormat": "Total",
"range": false,
Expand Down Expand Up @@ -423,15 +423,15 @@
"sort": "none"
}
},
"pluginVersion": "12.3.0-18356121373.patch4",
"pluginVersion": "12.4.0-21024277089.patch2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "code",
"expr": "ogmios_current_heap_size{namespace=\"$namespace\", pod=~\".*$network-$version.*\"}",
"expr": "ogmios_current_heap_size{namespace=\"$namespace\", pod=~\".*(cardano-)?$network-.*\"}",
"legendFormat": "{{pod}}",
"range": true,
"refId": "A"
Expand Down Expand Up @@ -528,15 +528,15 @@
"sort": "none"
}
},
"pluginVersion": "12.3.0-18356121373.patch4",
"pluginVersion": "12.4.0-21024277089.patch2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "code",
"expr": "sum(rate(container_cpu_usage_seconds_total{namespace=\"$namespace\", container=\"main\", pod=~\".*$network-$version.*\"}[4m])*1000) by (pod) / sum(container_spec_cpu_shares{namespace=\"$namespace\", container=\"main\", pod=~\".*$network-$version.*\"}) by (pod)",
"expr": "sum(rate(container_cpu_usage_seconds_total{namespace=\"$namespace\", container=\"main\", pod=~\".*(cardano-)?$network-.*\"}[4m])*1000) by (pod) / sum(container_spec_cpu_shares{namespace=\"$namespace\", container=\"main\", pod=~\".*(cardano-)?$network-.*\"}) by (pod)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
Expand Down Expand Up @@ -634,15 +634,15 @@
"sort": "none"
}
},
"pluginVersion": "12.3.0-18356121373.patch4",
"pluginVersion": "12.4.0-21024277089.patch2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "code",
"expr": "sum(container_memory_working_set_bytes{namespace=\"$namespace\", container!=\"socat\", pod=~\".*$network-$version.*\"}) by (pod) / sum(container_spec_memory_limit_bytes{namespace=\"$namespace\", container!=\"socat\", pod=~\".*$network-$version.*\"}) by (pod)",
"expr": "sum(container_memory_working_set_bytes{namespace=\"$namespace\", container!=\"socat\", pod=~\".*(cardano-)?$network-.*\"}) by (pod) / sum(container_spec_memory_limit_bytes{namespace=\"$namespace\", container!=\"socat\", pod=~\".*(cardano-)?$network-.*\"}) by (pod)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
Expand Down Expand Up @@ -713,15 +713,15 @@
"sort": "none"
}
},
"pluginVersion": "12.3.0-18356121373.patch4",
"pluginVersion": "12.4.0-21024277089.patch2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "code",
"expr": "ogmios_connected{namespace=\"$namespace\", pod=~\".*$network-$version.*\"}",
"expr": "ogmios_connected{namespace=\"$namespace\", pod=~\".*(cardano-)?$network-.*\"}",
"legendFormat": "{{pod}}",
"range": true,
"refId": "A"
Expand Down Expand Up @@ -812,15 +812,15 @@
"sort": "none"
}
},
"pluginVersion": "12.3.0-18356121373.patch4",
"pluginVersion": "12.4.0-21024277089.patch2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "code",
"expr": "ogmios_active_connections{namespace=\"$namespace\", pod=~\".*$network-$version.*\"}",
"expr": "ogmios_active_connections{namespace=\"$namespace\", pod=~\".*(cardano-)?$network-.*\"}",
"legendFormat": "{{pod}}",
"range": true,
"refId": "A"
Expand Down Expand Up @@ -917,7 +917,7 @@
"sort": "none"
}
},
"pluginVersion": "12.3.0-18356121373.patch4",
"pluginVersion": "12.4.0-21024277089.patch2",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1023,7 +1023,7 @@
"sort": "none"
}
},
"pluginVersion": "12.3.0-18356121373.patch4",
"pluginVersion": "12.4.0-21024277089.patch2",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1131,15 +1131,15 @@
"sort": "none"
}
},
"pluginVersion": "12.3.0-18356121373.patch4",
"pluginVersion": "12.4.0-21024277089.patch2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "code",
"expr": "sum by (consumer) (rate(ogmios_proxy_ws_total_frame{ exported_instance=~\"ogmios-(cardano-)?$network.*\", job=~\"ext-ogmios-m1/proxy-(cardano-)?$network-blue\"}[5m])) > 0",
"expr": "sum by (consumer) (rate(ogmios_proxy_ws_total_frame{exported_instance=~\"ogmios-(cardano-)?$network-.*\", job=~\"ext-ogmios-m1/.*proxy.*$network.*blue.*\"}[5m])) > 0",
"legendFormat": "__auto",
"range": true,
"refId": "A"
Expand Down Expand Up @@ -1229,15 +1229,15 @@
"sort": "none"
}
},
"pluginVersion": "12.3.0-18356121373.patch4",
"pluginVersion": "12.4.0-21024277089.patch2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "code",
"expr": "sum by (consumer) (ogmios_proxy_total_connections{exported_instance=~\"ogmios-$network.*\", job=\"ext-ogmios-m1/proxy\"}) > 0",
"expr": "sum by (consumer) (ogmios_proxy_total_connections{exported_instance=~\"ogmios-(cardano-)?$network-.*\", job=~\"ext-ogmios-m1/.*$network.*\"}) > 0",
"legendFormat": "__auto",
"range": true,
"refId": "A"
Expand Down Expand Up @@ -1327,15 +1327,15 @@
"sort": "none"
}
},
"pluginVersion": "12.3.0-18356121373.patch4",
"pluginVersion": "12.4.0-21024277089.patch2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "code",
"expr": "sum(rate(ogmios_proxy_http_total_request{namespace=~\"ext-ogmios-m1\", exported_instance=~\".*$network.*\",job=\"ext-ogmios-m1/proxy\" }[5m]) > 0) by (status_code, consumer)",
"expr": "sum by (status_code, consumer) (rate(ogmios_proxy_http_total_request{namespace=~\"ext-ogmios-m1\", exported_instance=~\".*(cardano-)?$network-.*\", job=~\"ext-ogmios-m1/.*proxy.*$network.*\"}[5m])) > 0",
"legendFormat": "{{status_code}}.{{consumer}}",
"range": true,
"refId": "A"
Expand Down Expand Up @@ -1442,15 +1442,15 @@
"sort": "none"
}
},
"pluginVersion": "12.3.0-18356121373.patch4",
"pluginVersion": "12.4.0-21024277089.patch2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "code",
"expr": "sum by (consumer) (rate(ogmios_proxy_ws_total_frame{ exported_instance=~\"ogmios-(cardano-)?$network.*\", job=~\"ext-ogmios-m1/proxy-(cardano-)?$network-green\"}[5m])) > 0",
"expr": "sum by (consumer) (rate(ogmios_proxy_ws_total_frame{exported_instance=~\"ogmios-(cardano-)?$network-.*\", job=~\"ext-ogmios-m1/.*proxy.*$network.*green.*\"}[5m])) > 0",
"legendFormat": "__auto",
"range": true,
"refId": "A"
Expand Down Expand Up @@ -1540,15 +1540,15 @@
"sort": "none"
}
},
"pluginVersion": "12.3.0-18356121373.patch4",
"pluginVersion": "12.4.0-21024277089.patch2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "code",
"expr": "sum by (consumer) (ogmios_proxy_total_connections{exported_instance=~\"ogmios-(cardano-)?$network.*\", job=~\"ext-ogmios-m1/proxy-(cardano-)?$network-green\"}) > 0",
"expr": "sum by (consumer) (ogmios_proxy_total_connections{exported_instance=~\"ogmios-(cardano-)?$network-.*\", job=~\"ext-ogmios-m1/.*proxy.*$network.*green.*\"}) > 0",
"legendFormat": "__auto",
"range": true,
"refId": "A"
Expand Down Expand Up @@ -1638,15 +1638,15 @@
"sort": "none"
}
},
"pluginVersion": "12.3.0-18356121373.patch4",
"pluginVersion": "12.4.0-21024277089.patch2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"editorMode": "code",
"expr": "sum(rate(ogmios_proxy_http_total_request{namespace=~\"ext-ogmios-m1\", exported_instance=~\".*$network.*\",job=~\"ext-ogmios-m1/proxy-(cardano-)?$network-green\" }[5m]) > 0) by (status_code, consumer)",
"expr": "sum by (status_code, consumer) (rate(ogmios_proxy_http_total_request{namespace=~\"ext-ogmios-m1\", exported_instance=~\".*(cardano-)?$network-.*\", job=~\"ext-ogmios-m1/.*proxy.*$network.*green.*\"}[5m])) > 0",
"legendFormat": "{{status_code}}.{{consumer}}",
"range": true,
"refId": "A"
Expand Down