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

Dops 752 fix alerts from proxy indexer #31

Open
wants to merge 14 commits into
base: new_proxy
Choose a base branch
from
Open
2 changes: 1 addition & 1 deletion docs/detailed.MD
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

- Postgresql database inside kubernetes as a pod. `POSTGRES_ENABLED="true" `

- Use your external database from the kubernetes cluster to your own PostgreSQL database such as RDS(AWS), CloudSQL(GCP) or other bare metal or Virtual Machine based install. (Recommended for production) `POSTGRES_ENABLED="true" ` and then set the following:
- Use your external database from the kubernetes cluster to your own PostgreSQL database such as RDS(AWS), CloudSQL(GCP) or other bare metal or Virtual Machine based install. (Recommended for production) `POSTGRES_ENABLED="false" ` and then set the following:

- `POSTGRES_HOST="postgres" `
- `POSTGRES_DB="neon-db"`
Expand Down
24 changes: 4 additions & 20 deletions monitoring/prometheus/alerting_rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ groups:

- name: neon_proxy
rules:
- alert: operator key balance less than 2
- alert: operator key execution balance less than 2
annotations:
summary: operator key balance less than 2
description: operator key balance less than 2
expr: operator_sol_balance < 2
expr: operator_execution_token_balance / 1000000000 < 2
for: 5s
labels:
severity: warning
- alert: operator key balance less than 1
- alert: operator key execution balance less than 1
annotations:
summary: operator key balance less than 1
description: operator key balance less than 1
expr: operator_sol_balance < 1
expr: operator_execution_token_balance / 1000000000 < 1
for: 5s
labels:
severity: critical
Expand All @@ -44,22 +44,6 @@ groups:
for: 5s
labels:
severity: warning
- alert: db connection is lost
annotations:
summary: db connection is lost
description: db connection is lost, gotta do something
expr: db_health == 0
for: 5s
labels:
severity: critical
- alert: solana rpc connection is lost
annotations:
summary: solana rpc connection is lost
description: solana rpc connection is lost, gotta do something
expr: solana_rpc_health == 0
for: 5s
labels:
severity: critical
- alert: neon_tx_canceled
annotations:
summary: neon_tx_canceled
Expand Down