Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.39 KB

OBSERVABILITY.md

File metadata and controls

38 lines (25 loc) · 1.39 KB

Observability

Install | Usage | Features | Requirements | Configuration | Observability

Exporting Metrics with Telemetry & Prometheus

workbench provides observability via the telemetry library. The metrics are exported by default on the endpoint :9568/metrics for prometheus to scrape.

prometheus metrics

The port to serve these metrics can be configured.

# config/config.exs
prometheus_metrics_port =
  "PROMETHEUS_METRICS_PORT" |> System.get_env("9568") |> String.to_integer()

Visualizing Operations With Grafana

This repository provides a docker-compose configuration that runs prometheus & grafana so that you can visually keep track of your trading operation.

Service Endpoint
Grafana http://grafana.localhost:3000/
Prometheus http://prometheus.localhost:9090/

It includes a grafana dashboard for balances and trade performance

dashboard-balances

Along with a dashboard to monitor the state of venues running in tai

dashboard-tai-health