Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ltitanb committed Aug 2, 2024
1 parent 44d05ea commit 104cb8b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 19 deletions.
32 changes: 16 additions & 16 deletions grafana/dashboards/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PF1584C945D1A144E"
"uid": "cb_prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -122,7 +122,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PF1584C945D1A144E"
"uid": "cb_prometheus"
},
"editorMode": "code",
"expr": "sum(increase(cb_pbs_relay_status_code_total{http_status_code=~\"2..\", endpoint=\"$endpoint\"}[1h])) by (relay_id)",
Expand All @@ -138,7 +138,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PF1584C945D1A144E"
"uid": "cb_prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -221,7 +221,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PF1584C945D1A144E"
"uid": "cb_prometheus"
},
"editorMode": "code",
"expr": "sum(increase(cb_pbs_relay_status_code_total{http_status_code=~\"4..|5..\", endpoint=\"$endpoint\"}[1h])) by (relay_id)",
Expand All @@ -237,7 +237,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PF1584C945D1A144E"
"uid": "cb_prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -320,7 +320,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PF1584C945D1A144E"
"uid": "cb_prometheus"
},
"editorMode": "code",
"expr": "sum(increase(cb_pbs_beacon_node_status_code_total{http_status_code=~\"2..\", endpoint=\"$endpoint\"}[1h]))",
Expand All @@ -336,7 +336,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PF1584C945D1A144E"
"uid": "cb_prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -419,7 +419,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PF1584C945D1A144E"
"uid": "cb_prometheus"
},
"editorMode": "code",
"expr": "sum(increase(cb_pbs_beacon_node_status_code_total{http_status_code=~\"4..|5..\", endpoint=\"$endpoint\"}[1h]))",
Expand All @@ -435,7 +435,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PF1584C945D1A144E"
"uid": "cb_prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -519,7 +519,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PF1584C945D1A144E"
"uid": "cb_prometheus"
},
"disableTextWrap": false,
"editorMode": "code",
Expand All @@ -539,7 +539,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PF1584C945D1A144E"
"uid": "cb_prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -623,7 +623,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PF1584C945D1A144E"
"uid": "cb_prometheus"
},
"disableTextWrap": false,
"editorMode": "code",
Expand All @@ -643,7 +643,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PF1584C945D1A144E"
"uid": "cb_prometheus"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -727,7 +727,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PF1584C945D1A144E"
"uid": "cb_prometheus"
},
"disableTextWrap": false,
"editorMode": "code",
Expand Down Expand Up @@ -783,7 +783,7 @@
"value": "register_validator"
}
],
"query": "get_header, submit_blinded_block, register_validator",
"query": "register_validator, get_header, submit_blinded_block",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
Expand All @@ -797,7 +797,7 @@
"timepicker": {},
"timezone": "browser",
"title": "PBS Metrics",
"uid": "PF1584C945D1A144E",
"uid": "cb_prometheus",
"version": 1,
"weekStart": ""
}
7 changes: 4 additions & 3 deletions grafana/dashboards/dashboards.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
apiVersion: 1

providers:
- name: 'default'
- name: "default"
orgId: 1
folder: ''
folderUid: ''
folder: ""
folderUid: ""
type: file
disableDeletion: false
editable: true
allowUiUpdates: true
options:
path: /etc/grafana/provisioning/dashboards
1 change: 1 addition & 0 deletions grafana/datasources/datasources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: 1
datasources:
- name: cb-prometheus
type: prometheus
uid: cb_prometheus
access: proxy
orgId: 1
url: http://cb_prometheus:9090
Expand Down

0 comments on commit 104cb8b

Please sign in to comment.