Integrations
/
Grafana

Grafana

Pre-built dashboards for quality, cost and latency.

Observability
Community
v0.9.1
Install
~/infra
$
lattis exporters add grafana
✓ exporter created exp_gf_01
✓ 3 dashboards imported
● first batch sent 4 s ago
Pixel Bloom lattice with a cobalt band running across cream pixels
Lattis · production
Last 24 h ·
Grafana
lattis.eval.score
Quality over time
0.91
lattis.tokens.cost
Cost per model, per day
$268 / day
lattis.latency.p50
Latency in eu-central-1
31 ms

Overview

A community-maintained exporter with three dashboards: quality over time, cost per model and latency per region. Works with Grafana Cloud and self-hosted Grafana through Prometheus remote write.

What gets exported

lattis.eval.score
gauge
Score per suite, model and version
lattis.tokens.cost
gauge
Spend in USD per model and key
lattis.latency.p50
distribution
Latency per region and model
lattis.cache.hits
count
Semantic and exact cache hits
lattis.agent.runs
count
Agent runs per day, by outcome

Setup

01

Create a service account

In Grafana, create a service account token with Editor access.

02

Add the exporter

Run the install command with your Grafana URL and token.

03

Import the dashboards

Quality, cost and latency dashboards appear in a Lattis folder.

Run your first agent in five minutes.

1M free tokens a month. No card, no sales call, production keys in two minutes.

~/my-app
zsh
$ npm install @lattis/sdk
$ export LATTIS_API_KEY=lt_••••••••
$ npx lattis run hello-agent
✓ plan · ✓ search_docs · ✓ answer
● run completed · 3 steps · 0.9 s