Merge branch 'main' of github.com:cerc-io/stack-orchestrator

This commit is contained in:
David Boreham 2024-01-17 08:27:38 -07:00
commit f826f50c4d
5 changed files with 12 additions and 42 deletions

View File

@ -2,8 +2,10 @@ version: "3.7"
services: services:
grafana: grafana:
image: grafana/grafana image: grafana/grafana:10.2.2
restart: always restart: always
environment:
GF_SERVER_ROOT_URL: ${GF_SERVER_ROOT_URL}
volumes: volumes:
- ../config/monitoring/grafana/provisioning:/etc/grafana/provisioning - ../config/monitoring/grafana/provisioning:/etc/grafana/provisioning
- ../config/monitoring/grafana/dashboards:/etc/grafana/dashboards - ../config/monitoring/grafana/dashboards:/etc/grafana/dashboards

View File

@ -2,7 +2,7 @@ version: "3.7"
services: services:
prometheus: prometheus:
image: prom/prometheus image: prom/prometheus:v2.49.1
restart: always restart: always
volumes: volumes:
- ../config/monitoring/prometheus:/etc/prometheus - ../config/monitoring/prometheus:/etc/prometheus

View File

@ -95,14 +95,10 @@ groups:
maxDataPoints: 43200 maxDataPoints: 43200
refId: condition refId: condition
type: math type: math
dashboardUid: cb9b746a-9abc-482e-9214-5231e0dd75ca
panelId: 24
noDataState: Alerting noDataState: Alerting
execErrState: Alerting execErrState: Alerting
for: 15m for: 15m
annotations: annotations:
__dashboardUid__: cb9b746a-9abc-482e-9214-5231e0dd75ca
__panelId__: "24"
summary: Watcher {{ index $labels "instance" }} of group {{ index $labels "job" }} is falling behind external head by {{ index $values "diff" }} summary: Watcher {{ index $labels "instance" }} of group {{ index $labels "job" }} is falling behind external head by {{ index $values "diff" }}
isPaused: false isPaused: false
- uid: censures_diff_external - uid: censures_diff_external
@ -191,14 +187,10 @@ groups:
maxDataPoints: 43200 maxDataPoints: 43200
refId: condition refId: condition
type: math type: math
dashboardUid: cb9b746a-9abc-482e-9214-5231e0dd75ca
panelId: 24
noDataState: Alerting noDataState: Alerting
execErrState: Alerting execErrState: Alerting
for: 15m for: 15m
annotations: annotations:
__dashboardUid__: cb9b746a-9abc-482e-9214-5231e0dd75ca
__panelId__: "24"
summary: Watcher {{ index $labels "instance" }} of group {{ index $labels "job" }} is falling behind external head by {{ index $values "diff" }} summary: Watcher {{ index $labels "instance" }} of group {{ index $labels "job" }} is falling behind external head by {{ index $values "diff" }}
isPaused: false isPaused: false
- uid: claims_diff_external - uid: claims_diff_external
@ -287,14 +279,10 @@ groups:
maxDataPoints: 43200 maxDataPoints: 43200
refId: condition refId: condition
type: math type: math
dashboardUid: cb9b746a-9abc-482e-9214-5231e0dd75ca
panelId: 24
noDataState: Alerting noDataState: Alerting
execErrState: Alerting execErrState: Alerting
for: 15m for: 15m
annotations: annotations:
__dashboardUid__: cb9b746a-9abc-482e-9214-5231e0dd75ca
__panelId__: "24"
summary: Watcher {{ index $labels "instance" }} of group {{ index $labels "job" }} is falling behind external head by {{ index $values "diff" }} summary: Watcher {{ index $labels "instance" }} of group {{ index $labels "job" }} is falling behind external head by {{ index $values "diff" }}
isPaused: false isPaused: false
- uid: conditional_star_release_diff_external - uid: conditional_star_release_diff_external
@ -383,14 +371,10 @@ groups:
maxDataPoints: 43200 maxDataPoints: 43200
refId: condition refId: condition
type: math type: math
dashboardUid: cb9b746a-9abc-482e-9214-5231e0dd75ca
panelId: 24
noDataState: Alerting noDataState: Alerting
execErrState: Alerting execErrState: Alerting
for: 15m for: 15m
annotations: annotations:
__dashboardUid__: cb9b746a-9abc-482e-9214-5231e0dd75ca
__panelId__: "24"
summary: Watcher {{ index $labels "instance" }} of group {{ index $labels "job" }} is falling behind external head by {{ index $values "diff" }} summary: Watcher {{ index $labels "instance" }} of group {{ index $labels "job" }} is falling behind external head by {{ index $values "diff" }}
isPaused: false isPaused: false
- uid: delegated_sending_diff_external - uid: delegated_sending_diff_external
@ -479,14 +463,10 @@ groups:
maxDataPoints: 43200 maxDataPoints: 43200
refId: condition refId: condition
type: math type: math
dashboardUid: cb9b746a-9abc-482e-9214-5231e0dd75ca
panelId: 24
noDataState: Alerting noDataState: Alerting
execErrState: Alerting execErrState: Alerting
for: 15m for: 15m
annotations: annotations:
__dashboardUid__: cb9b746a-9abc-482e-9214-5231e0dd75ca
__panelId__: "24"
summary: Watcher {{ index $labels "instance" }} of group {{ index $labels "job" }} is falling behind external head by {{ index $values "diff" }} summary: Watcher {{ index $labels "instance" }} of group {{ index $labels "job" }} is falling behind external head by {{ index $values "diff" }}
isPaused: false isPaused: false
- uid: ecliptic_diff_external - uid: ecliptic_diff_external
@ -575,14 +555,10 @@ groups:
maxDataPoints: 43200 maxDataPoints: 43200
refId: condition refId: condition
type: math type: math
dashboardUid: cb9b746a-9abc-482e-9214-5231e0dd75ca
panelId: 24
noDataState: Alerting noDataState: Alerting
execErrState: Alerting execErrState: Alerting
for: 15m for: 15m
annotations: annotations:
__dashboardUid__: cb9b746a-9abc-482e-9214-5231e0dd75ca
__panelId__: "24"
summary: Watcher {{ index $labels "instance" }} of group {{ index $labels "job" }} is falling behind external head by {{ index $values "diff" }} summary: Watcher {{ index $labels "instance" }} of group {{ index $labels "job" }} is falling behind external head by {{ index $values "diff" }}
isPaused: false isPaused: false
- uid: linear_star_release_diff_external - uid: linear_star_release_diff_external
@ -671,14 +647,10 @@ groups:
maxDataPoints: 43200 maxDataPoints: 43200
refId: condition refId: condition
type: math type: math
dashboardUid: cb9b746a-9abc-482e-9214-5231e0dd75ca
panelId: 24
noDataState: Alerting noDataState: Alerting
execErrState: Alerting execErrState: Alerting
for: 15m for: 15m
annotations: annotations:
__dashboardUid__: cb9b746a-9abc-482e-9214-5231e0dd75ca
__panelId__: "24"
summary: Watcher {{ index $labels "instance" }} of group {{ index $labels "job" }} is falling behind external head by {{ index $values "diff" }} summary: Watcher {{ index $labels "instance" }} of group {{ index $labels "job" }} is falling behind external head by {{ index $values "diff" }}
isPaused: false isPaused: false
- uid: polls_diff_external - uid: polls_diff_external
@ -767,14 +739,10 @@ groups:
maxDataPoints: 43200 maxDataPoints: 43200
refId: condition refId: condition
type: math type: math
dashboardUid: cb9b746a-9abc-482e-9214-5231e0dd75ca
panelId: 24
noDataState: Alerting noDataState: Alerting
execErrState: Alerting execErrState: Alerting
for: 15m for: 15m
annotations: annotations:
__dashboardUid__: cb9b746a-9abc-482e-9214-5231e0dd75ca
__panelId__: "24"
summary: Watcher {{ index $labels "instance" }} of group {{ index $labels "job" }} is falling behind external head by {{ index $values "diff" }} summary: Watcher {{ index $labels "instance" }} of group {{ index $labels "job" }} is falling behind external head by {{ index $values "diff" }}
isPaused: false isPaused: false
@ -865,14 +833,10 @@ groups:
maxDataPoints: 43200 maxDataPoints: 43200
refId: condition refId: condition
type: math type: math
dashboardUid: cb9b746a-9abc-482e-9214-5231e0dd75ca
panelId: 24
noDataState: Alerting noDataState: Alerting
execErrState: Alerting execErrState: Alerting
for: 15m for: 15m
annotations: annotations:
__dashboardUid__: cb9b746a-9abc-482e-9214-5231e0dd75ca
__panelId__: "24"
summary: Watcher {{ index $labels "instance" }} of group {{ index $labels "job" }} is falling behind external head by {{ index $values "diff" }} summary: Watcher {{ index $labels "instance" }} of group {{ index $labels "job" }} is falling behind external head by {{ index $values "diff" }}
isPaused: false isPaused: false
- uid: merkl_sushiswap_diff_external - uid: merkl_sushiswap_diff_external
@ -961,13 +925,9 @@ groups:
maxDataPoints: 43200 maxDataPoints: 43200
refId: condition refId: condition
type: math type: math
dashboardUid: cb9b746a-9abc-482e-9214-5231e0dd75ca
panelId: 24
noDataState: Alerting noDataState: Alerting
execErrState: Alerting execErrState: Alerting
for: 15m for: 15m
annotations: annotations:
__dashboardUid__: cb9b746a-9abc-482e-9214-5231e0dd75ca
__panelId__: "24"
summary: Watcher {{ index $labels "instance" }} of group {{ index $labels "job" }} is falling behind external head by {{ index $values "diff" }} summary: Watcher {{ index $labels "instance" }} of group {{ index $labels "job" }} is falling behind external head by {{ index $values "diff" }}
isPaused: false isPaused: false

View File

@ -140,6 +140,10 @@ Set the following env variables in the deployment env config file (`monitoring-d
# External ETH RPC endpoint (filecoin) # External ETH RPC endpoint (filecoin)
# (Optional, default: https://api.node.glif.io/rpc/v1) # (Optional, default: https://api.node.glif.io/rpc/v1)
CERC_FIL_RPC_ENDPOINT= CERC_FIL_RPC_ENDPOINT=
# Grafana server host URL (used in various links in alerts, etc.)
# (Optional, default: http://localhost:3000)
GF_SERVER_ROOT_URL=
``` ```
## Start the stack ## Start the stack

View File

@ -130,6 +130,10 @@ Set the following env variables in the deployment env config file (`monitoring-w
```bash ```bash
# Infura key to be used # Infura key to be used
CERC_INFURA_KEY= CERC_INFURA_KEY=
# Grafana server host URL to be used
# (Optional, default: http://localhost:3000)
GF_SERVER_ROOT_URL=
``` ```
## Start the stack ## Start the stack