Datadog
Export traces, token costs and latency as Datadog metrics, with dashboards ready on install.
Observability
Official
v1.4.0
Install
~/infra
$
lattis exporters add datadog --api-key $DD_API_KEY --site datadoghq.eu
✓ exporter created exp_dd_01
✓ 3 metrics streaming
● first batch sent 2 s ago

Lattis · production
lattis.tokens.cost
Spend per hour
$412 / day
lattis.latency.p50
Median time to first token
38 ms
lattis.eval.score
Score on the latest suite
0.93
Overview
The Datadog exporter streams every model call, tool call and eval run from Lattis into your Datadog account as metrics and traces. Tags follow your Lattis keys, agents and regions, so cost and quality sit next to the rest of your service.
What gets exported
lattis.tokens.input
count
Input tokens per request, tagged by model
lattis.tokens.cost
gauge
Spend in USD, tagged by key and agent
lattis.latency.p50
distribution
Time to first token and total time
lattis.agent.steps
count
Steps per agent run, with tool names
lattis.eval.score
gauge
Latest score per suite and version
Setup
01
Create a Datadog API key
In Datadog, open Organization settings and create a key for Lattis.
02
Add the exporter
Run the install command or add the exporter in the Lattis console.
03
Open the dashboard
The Lattis dashboard appears in Datadog within two minutes.
Run your first agent in five minutes.
1M free tokens a month. No card, no sales call, production keys in two minutes.
$ 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