Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
a51d8f7
feat(aggregation-mode): add grafana dashboard
maximopalopoli Dec 19, 2025
94c0404
fix: return BadRequest for the request denied exams
maximopalopoli Dec 19, 2025
9ce4dde
Update the dashboard to include code ranges (2xx, 4xx, 5xx)
maximopalopoli Dec 22, 2025
531e929
Filter by range in dashboards and remove the /metrics reqs in 2xx one
maximopalopoli Dec 22, 2025
61f889a
Add time_elapsed_db_post metric to have a metric in use
maximopalopoli Dec 22, 2025
00d5338
Add the payments poller metrics integration
maximopalopoli Dec 22, 2025
77fc789
fix clippy lints on agg mode
maximopalopoli Dec 22, 2025
710ff46
Remove unnecessary labeling on actix prometheus metrics builder
maximopalopoli Dec 22, 2025
3aeb64a
use tracing::error instead of eprintln
maximopalopoli Dec 22, 2025
07eb91b
Remove anyhow dependency
maximopalopoli Dec 22, 2025
dad51de
Convert the warp servers into
maximopalopoli Dec 22, 2025
09cc63c
Merge branch 'staging' into feataggmode/add-grafana-dashboard
maximopalopoli Dec 23, 2025
deaa77a
Add comment about the actix http prometheus server
maximopalopoli Dec 23, 2025
09eb015
Return an Arc in the Metrics structs start method
maximopalopoli Dec 23, 2025
7ee8201
Make the time_elapsed_db_query to be a histogram vec
maximopalopoli Dec 23, 2025
b50ebb4
Change the actix prometheus version to the latest stable
maximopalopoli Jan 5, 2026
2aa1550
Fix expression in grafana dashboard to match the rate interval instea…
maximopalopoli Jan 5, 2026
63d136d
Move the aligned-network to the root docker compose and use it on met…
maximopalopoli Jan 5, 2026
e077c6e
Add postgres datasource
maximopalopoli Jan 5, 2026
37d8c7b
add infinity datasource to make queries to RPC
maximopalopoli Jan 5, 2026
924f140
Add a counter for active subscriptions to the payments poller metrics
maximopalopoli Jan 5, 2026
6e08596
Update the dashboard json with some poller metrics
maximopalopoli Jan 5, 2026
d922ad0
Fix the infinity rpc integration
maximopalopoli Jan 5, 2026
d48b39d
Add the Current Block field using UQL
maximopalopoli Jan 5, 2026
a5984a1
Transform the values to decimal ones
maximopalopoli Jan 6, 2026
3dc04d0
Add some contract calls to the dashboard
maximopalopoli Jan 6, 2026
c38b398
Merge branch 'staging' into feataggmode/add-grafana-dashboard
maximopalopoli Jan 6, 2026
f4696d8
update the grafana dashboard timeline queries
maximopalopoli Jan 6, 2026
816e710
Improve naming on time elapsed vars of http server
maximopalopoli Jan 6, 2026
c00abcd
simplify the name for the prometheus jobs and bots for agg mode
maximopalopoli Jan 6, 2026
c608dc2
update the agg mode dash with the new names
maximopalopoli Jan 6, 2026
1bf2bc4
Merge branch 'feataggmode/add-grafana-dashboard' into feataggmode/add…
maximopalopoli Jan 6, 2026
66a55ff
fetch the risc0 and sp1 ids from proof aggregator contract
maximopalopoli Jan 6, 2026
dc5db7b
remove UQL from the ethereum panels
maximopalopoli Jan 6, 2026
3281d07
Merge branch 'staging' into feataggmode/add-grafana-dashboard
maximopalopoli Jan 6, 2026
0031c20
Merge branch 'feataggmode/add-grafana-dashboard' into feataggmode/add…
maximopalopoli Jan 6, 2026
f7fdb36
update the active subscriptions query
maximopalopoli Jan 6, 2026
37e1cc8
Add gateway status to the Gateway row panels
maximopalopoli Jan 7, 2026
44cec84
Merge branch 'staging' into feataggmode/add-datasources-grafana-dashb…
maximopalopoli Jan 7, 2026
efd9294
fix errors in cargo toml and imports
maximopalopoli Jan 7, 2026
64985c5
Add a health check for monitoring poller status
maximopalopoli Jan 7, 2026
160039b
Move the prometheus URL to the metrics docker compose
maximopalopoli Jan 7, 2026
953c413
rename rpc datasource to http
maximopalopoli Jan 7, 2026
fef66d5
Add the pg_auto_failover Monitor datasource
maximopalopoli Jan 8, 2026
080ef22
Add panels for the database monitoring
maximopalopoli Jan 8, 2026
cc650fa
use env vars to define url in postgres datasource
maximopalopoli Jan 8, 2026
fddeb7f
Merge branch 'feataggmode/add-datasources-grafana-dashboard' into fea…
maximopalopoli Jan 8, 2026
af5305d
Convert the monitor db vars to env vars
maximopalopoli Jan 8, 2026
7fd110a
Move the securejsondata field to just below the user one
maximopalopoli Jan 8, 2026
e180342
fix: use the env values instead of using their names
maximopalopoli Jan 9, 2026
461fca5
feat(aggregation-mode): integrate auto failover to the docker compose
maximopalopoli Jan 9, 2026
71247d6
Merge branch 'staging' into feataggmode/show-db-status-grafana
maximopalopoli Jan 12, 2026
be6e698
Merge branch 'feataggmode/show-db-status-grafana' into feataggmode/in…
maximopalopoli Jan 12, 2026
48af211
use internal network to connect grafana with db monitor in composes
maximopalopoli Jan 12, 2026
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
57 changes: 57 additions & 0 deletions aggregation_mode/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# Shared base configuration for Postgres nodes. Avoids duplication and keeps all nodes consistent.
# Note: This is a template, not a service.
x-node: &node
image: citusdata/pg_auto_failover:v2.0-pg14
volumes:
- /var/lib/postgres
environment:
PGDATA: /var/lib/postgres/pgaf
PGUSER: tutorial
PGDATABASE: tutorial
PG_AUTOCTL_HBA_LAN: true
PG_AUTOCTL_AUTH_METHOD: "trust"
PG_AUTOCTL_SSL_SELF_SIGNED: true
PG_AUTOCTL_MONITOR: "postgresql://autoctl_node@monitor/pg_auto_failover"
expose:
- 5432
networks:
- aligned-network

volumes:
postgres_data:

Expand Down Expand Up @@ -31,3 +50,41 @@ services:
- 8090:8080
networks:
- aligned-network

monitor:
image: citusdata/pg_auto_failover:v2.0-pg14
volumes:
- /var/lib/postgres
environment:
PGDATA: /var/lib/postgres/pgaf
PG_AUTOCTL_SSL_SELF_SIGNED: true
ports:
- "5436:5432"
command: |
pg_autoctl create monitor --auth trust --run
networks:
- aligned-network

node1:
<<: *node
hostname: node1
command: >
pg_autoctl create postgres
--name node1
--ssl-self-signed
--ssl-mode require
--auth trust
--pg-hba-lan
--run

node2:
<<: *node
hostname: node2
command: >
pg_autoctl create postgres
--name node2
--ssl-self-signed
--ssl-mode require
--auth trust
--pg-hba-lan
--run
4 changes: 4 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
networks:
aligned-network:
name: aligned-network

services:

localstack:
Expand Down
Loading