Observability

June 28, 2021 ยท View on GitHub

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.

ServiceEndpoint
Grafanahttp://grafana.localhost:3000/
Prometheushttp://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