Prometheus + Grafana¶
Observability is very central to the design of the gateways.
A gateway can expose key metrics on a TCP/IP or UNIX domain socket address. This is explained elsewhere (using gateway).
Prometheus can be used to scrape metrics from running gateways.
A very minimal Prometheus configuration file (
global: scrape_interval: 5s scrape_configs: - job_name: 'roq-deribit' metrics_path: '/metrics' params: format: [ prometheus ] honor_labels: true static_configs: - targets: ['localhost:1234']
Prometheus provides a browser based UI.