OctoFHIR: metrics, your own dashboards, and Grafana compatibility
Last time I showed how fast OctoFHIR is. Now you can also see what's going on inside it.
📊 Metrics from every instance
The Performance page used to read /metrics from whichever server the console talked to — behind a load balancer, that's a random pod. Dashboards now read from Prometheus, so you see every instance: all together, or just one.
🧭 Built-in System dashboard
Throughput, p50/p95/p99 latency, error rate, FHIR interactions by resource type (read, search, create, update…), routes, the PostgreSQL connection pool, cache, the Tokio runtime (worker utilization, task queue) and the process itself (CPU, memory, threads). Nothing to install or set up — it ships with the server.
🧩 Your own dashboards
Duplicate System or start from scratch. Panels drag and resize on a grid, sections collapse, and an instance variable narrows the whole dashboard. Drag across a spike on any chart to zoom the entire dashboard into it; the crosshair follows on every chart.
🛠 Queries without knowing PromQL — or with it
A visual query builder: pick a metric (with its description), filter by labels with suggested values, apply rate, increase or a histogram quantile, aggregate by labels. It writes plain PromQL underneath. Need more? Switch to the code editor with completion for metrics, labels and functions, and syntax errors underlined as you type.
🔍 Explain
Explain lays a query out as a tree and runs every step on its own, showing how many series each step returns. When a panel is empty, you see exactly which step lost the data.
🔗 Grafana-compatible
Any dashboard exports to Grafana JSON or pushes to your Grafana in one click. The token is sent once and never stored. It works the other way too: import a Grafana dashboard, and OctoFHIR lists anything it couldn't carry over. Grafana stays optional — everything works right in the console.
🔒 Safe on a shared Prometheus
The server parses every query and adds your deployment's selector to it, so a dashboard simply cannot read anyone else's series. Range, step and timeout limits apply too.
🚀 Try it
docker compose up -d
cargo run
Then open Performance in the console (g m). Optional Grafana on port 3030: docker compose --profile grafana up -d
In production it's one section in octofhir.toml:
[metrics.prometheus]
url = "http://prometheus:9090"
selector = '{job="octofhir"}'
Works with Prometheus, VictoriaMetrics, Mimir and Thanos. The docs include ready-made configs for plain Prometheus and Kubernetes, with or without the operator.
OctoFHIR is an open-source FHIR server in Rust: R4–R6, PostgreSQL, Docker, Apache-2.0.
https://github.com/octofhir/server-rs
Thank you to everyone supporting the project on Boosty — releases like this happen because of you. Tell me in the comments which metrics and dashboards you'd like to see next.
📊 Metrics from every instance
The Performance page used to read /metrics from whichever server the console talked to — behind a load balancer, that's a random pod. Dashboards now read from Prometheus, so you see every instance: all together, or just one.
🧭 Built-in System dashboard
Throughput, p50/p95/p99 latency, error rate, FHIR interactions by resource type (read, search, create, update…), routes, the PostgreSQL connection pool, cache, the Tokio runtime (worker utilization, task queue) and the process itself (CPU, memory, threads). Nothing to install or set up — it ships with the server.
🧩 Your own dashboards
Duplicate System or start from scratch. Panels drag and resize on a grid, sections collapse, and an instance variable narrows the whole dashboard. Drag across a spike on any chart to zoom the entire dashboard into it; the crosshair follows on every chart.
🛠 Queries without knowing PromQL — or with it
A visual query builder: pick a metric (with its description), filter by labels with suggested values, apply rate, increase or a histogram quantile, aggregate by labels. It writes plain PromQL underneath. Need more? Switch to the code editor with completion for metrics, labels and functions, and syntax errors underlined as you type.
🔍 Explain
Explain lays a query out as a tree and runs every step on its own, showing how many series each step returns. When a panel is empty, you see exactly which step lost the data.
🔗 Grafana-compatible
Any dashboard exports to Grafana JSON or pushes to your Grafana in one click. The token is sent once and never stored. It works the other way too: import a Grafana dashboard, and OctoFHIR lists anything it couldn't carry over. Grafana stays optional — everything works right in the console.
🔒 Safe on a shared Prometheus
The server parses every query and adds your deployment's selector to it, so a dashboard simply cannot read anyone else's series. Range, step and timeout limits apply too.
🚀 Try it
docker compose up -d
cargo run
Then open Performance in the console (g m). Optional Grafana on port 3030: docker compose --profile grafana up -d
In production it's one section in octofhir.toml:
[metrics.prometheus]
url = "http://prometheus:9090"
selector = '{job="octofhir"}'
Works with Prometheus, VictoriaMetrics, Mimir and Thanos. The docs include ready-made configs for plain Prometheus and Kubernetes, with or without the operator.
OctoFHIR is an open-source FHIR server in Rust: R4–R6, PostgreSQL, Docker, Apache-2.0.
https://github.com/octofhir/server-rs
Thank you to everyone supporting the project on Boosty — releases like this happen because of you. Tell me in the comments which metrics and dashboards you'd like to see next.
rust
fhir
healthcare
opensource