Skip to content

Releases

Release 1.3.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 07:35
f0cddaf

Added

  • Run reviews: mark a run or one of its spans correct, incorrect or missing, or correct its output, from the new Review tab in the trace view. JSON outputs are graded field by field
  • Workflow pages show accuracy per version and per span, and the fields that are wrong most often; the versions table and version compare show accuracy too
  • Ingest keys can send reviews with PUT /v1/traces/{id}/review, PUT /v1/traces/{id}/spans/{spanId}/review, or by a custom attribute with PUT /v1/workflows/{name}/reviews?key=&value=[&span=], and get 204. A review can send output to grade in place of the traced one, for apps that post-process it. An API review never replaces one a person made (409)
  • New read routes: GET|DELETE /v1/traces/{id}[/spans/{spanId}]/review, GET /v1/workflows/{name}/reviews, /accuracy, /fields and /review-spans. Postgres migration 007 adds run_reviews and run_review_fields
  • The collector reads structured output sent as tool call arguments when a message has no text
  • Silent-failure detection. The collector flags spans that did not error but went wrong in a new silent_failure column: truncated (finish reason length / max_tokens / incomplete), refused (content filter finish reason, or a short output that opens with a refusal such as "I'm unable to help with that", not one that goes on to hedge or answer) and tool_error (an OK tool span returning an error JSON payload: error, isError: true, success/ok: false, status: failed, also when double-encoded as a string). Cache-read tokens are now stored in cache_read_tokens
  • New anomaly metrics on GET /v1/metrics/anomalies: latency_p95 (daily, per workflow, from the new metrics_daily_latency rollup), and hourly truncation_rate, refusal_rate, tool_error_rate, llm_calls_per_run, tool_repeat, cache_hit_ratio and heartbeat (a client that missed 3 or more hours of the week it is usually active in, scope client, so nights and weekends of an office-hours client never alert). Runaway-run checks compare low-volume workflows with the last 7 days, and with no baseline flag only a run of 50 LLM calls or 30 calls of one tool; tool_repeat compares with the p95 run. Anomalies carry new client and trace_ids (the worst run) fields, and a workspace anomaly that one workflow's anomaly mostly explains is no longer listed twice
  • Incidents. The API checks every active workspace for anomalies every 5 minutes and groups the current ones into one incident per workflow, client or workspace, with up to three example runs per signal. Incidents open at warning or above, escalate when severity rises, resolve once quiet (2 hours for hourly metrics, 26 for daily ones, at once when a silent client is back), and reopen if the problem returns within 24 hours. New routes GET /v1/incidents, GET /v1/incidents/{id}, POST /v1/incidents/{id}/resolve, POST /v1/incidents/{id}/mute (24h, 7d or forever, for the subject or one metric) and GET|DELETE /v1/workspaces/{id}/incident-mutes[/{muteId}]. Configure with DETECTION_ENABLED, DETECTION_INTERVAL_SECONDS and DETECTION_MIN_SEVERITY. Postgres migration 008 adds incidents, incident_signals and incident_mutes
  • Release reports. When a workflow ships a new version, the incident evaluator compares its first runs with the previous version (error, truncation, refusal and tool error rates, median cost, LLM calls and output tokens per run, p95 latency, cache hit ratio) and gives one verdict: healthy, improved, regressed, or not enough runs. Graded at 30 runs, or at 10 after 2 hours; a healthy verdict is checked once more at 300 runs or 24 hours. A regression opens or extends the workflow's incident naming the version, with one signal per regressed finding (release_regression:truncation_rate, release_regression:cost_per_run, ...). Mute one finding by its metric, or every release finding with release_regression. New routes GET /v1/metrics/workflows/{name}/versions/{version}/report and GET /v1/release-reports; workflow versions carry report_verdict. The versions table shows a verdict badge, version compare shows the report's findings, and the overview lists the last day's releases. Postgres migration 010 adds release_reports
  • Review queue. GET /v1/reviews/queue?workflow=&limit= lists unreviewed runs to review next: example runs of open incidents, then runs flagged truncated, refused or tool error in the last 7 days, with every fifth a random unflagged run from the last 24 hours. Each item is a trace with reason and, for incident runs, incident_id. Workflow pages show the queue; a run opened from it shows a Next button. Reviews store the reason (the queue's, else the run's silent-failure flag) in Postgres migration 013
  • Accuracy-drop alert. When a workflow's most recently shipped version (first seen in telemetry, from its release report) with 20 or more run reviews is reviewed as less accurate than the version before it (z ≥ 2.5 and at least 10 points down; critical from 25), the incident evaluator opens the workflow's incident with a review_accuracy signal naming the version, and adds the finding to that version's release report. Reviews of unflagged runs are compared with each other when both versions have 20; otherwise all reviews are, and the summary says so. The signal holds for 24 hours after the latest review and resolves when accuracy recovers
  • More hourly anomaly metrics: ingest_silence (a service, new scope service with a service field, that missed hours it usually sends in, from 1 missed hour for a service active in 20 of the prior 24; one workspace anomaly instead when every service stopped), ingest_rejected (20 or more spans rejected in an hour, 5× the prior 24-hour average), missing_step (a step that ran in 90% of a workflow's runs ran in under half of them; LLM calls are not counted as steps) and stuck_runs (runs with spans but no root span 30 minutes on, up to 3 in trace_ids)
  • The collector stores four more span columns for upcoming detectors: context_ratio (prompt tokens, cache reads and writes included, over the model's max_input_tokens; 0 when unknown), response_model (normalized gen_ai.response.model; model stays the request model), and output_hash / input_hash (FNV-1a 64 of the trimmed, lower-cased completion and prompt of an LLM call, 0 under 40 characters; computed before content is stripped, so they work with content capture off). Migration 023 adds them
  • pricing.json now carries each model's max_input_tokens and max_output_tokens from LiteLLM (same 308fe0792080 snapshot, prices unchanged)
  • More hourly anomaly metrics from those columns: context_pressure (LLM calls using 85% of the model's context window or more spiked against a baseline of 20 such calls, or the hour's p95 reached 85% from under 70% the same hour a week before), model_mix (a requested model under 2% of the prior 24 hours took 20% of a workflow's calls, critical at 50%; or calls answered by another model family than requested spiked, snapshot suffixes ignored) and duplicate_output (one output returned for different inputs in 30% of a workflow's calls, critical at 70%, when no output held 10% of the prior 24 hours; trace_ids holds one such run). Workflow anomalies carry a new model_change (a response model first seen within the 24 hours before, against the prior week)
  • Migrations 024 and 025 record hourly activity per service in activity_hourly and backfill its last 35 days, so ingest_silence works on upgraded databases
  • Alerts. When an incident opens, escalates or resolves, each matching channel gets one message with the signals, the likely release and links to example runs: Slack incoming webhooks, signed JSON webhooks (X-Tracium-Signature, HMAC-SHA256) or email where the deployment sends mail. Failed sends retry after 30s, 2m, 10m and 1h (or the destination's Retry-After, up to 1h) on 5xx, 408, 429, timeouts and connection errors; other 4xx answers and blocked targets fail at once. Owners manage channels in Settings → Alerts or with GET|POST /v1/workspaces/{id}/alert-channels, PATCH|DELETE /v1/workspaces/{id}/alert-channels/{channelId} and POST …/{channelId}/test; GET /v1/incidents/{id}/deliveries shows delivery status. URLs must be https to public addresses unless ALERTS_ALLOW_PRIVATE_URLS=true. Postgres migration 009 adds alert_channels and alert_deliveries
  • Healthy release notices. A channel can turn on notify_healthy_releases (off by default; Settings → Alerts, "Healthy releases") to get a one-line release_healthy message, such as "v42 of checkout-agent looks healthy after 30 runs.", when a new version's first grade is ok or improved. A later recheck never sends another. Postgres migration 014 adds the column
  • Alert targets also refuse the benchmark (198.18.0.0/15) and reserved (240.0.0.0/4) IPv4 ranges, local-use NAT64 (64:ff9b:1::/48) and 6to4 (2002::/16). Slack messages escape &, < and > in workflow, client and service names so they cannot mention or link, email subjects are kept on one line, and an alert that could not be queued after its incident was saved is queued on the next check
  • Helm: api.detection.enabled, api.detection.intervalSeconds, api.detection.minSeverity and api.alerts.allowPrivateURLs set DETECTION_* and ALERTS_ALLOW_PRIVATE_URLS on the API pods
  • Budget rules. Owners set a fixed spend limit per UTC day or month on the workspace, a workflow or a client (* for each one) in Settings → Alerts or with GET|POST /v1/workspaces/{id}/alert-rules and PATCH|DELETE /v1/workspaces/{id}/alert-rules/{ruleId}. Reaching 80% adds a warning budget signal to the subject's incident and 100% escalates it to critical, once per rule and period; the incident resolves when the next period starts. Workflow limits count span cost only. Postgres migration 011 adds alert_rules
  • Incidents in the dashboard: a new...
Read more

Release 1.2.4

Choose a tag to compare

@github-actions github-actions released this 05 Nov 20:51
5d2f7d8

Changed

  • pricing.json refreshed from LiteLLM (308fe0792080): 3,927 models, up from 2,490. Newly priced models include Typesafe AI's jev (typesafe/jev-1.13.0, typesafe/jev-1.14.0, typesafe/jev-latest), which were recorded at $0. Spans already stored keep their old cost

Release 1.2.3

Choose a tag to compare

@github-actions github-actions released this 27 Oct 12:02
07de522

Fixed

  • The bundled dashboard nginx answered POST /v1/mcp with a 301 to /v1/mcp/ that named its internal port (e.g. http://host:3000/v1/mcp/), so MCP clients connecting with OAuth (1.2.2) never reached the API. /v1/mcp is now proxied as is. The Helm Ingress was not affected

Release 1.2.2

Choose a tag to compare

@github-actions github-actions released this 27 Oct 11:22
19bd335

Added

  • MCP clients can connect with OAuth instead of a pasted read key. Set PUBLIC_URL (server.public_url, Helm api.publicURL) to the origin you open Tracium at, and give a client such as Claude just https://your-tracium/v1/mcp: it registers itself, the user signs in and clicks Allow on the dashboard's new /oauth/authorize page, and the client receives a new read key named after it, revoked under Settings → Account. Tracium is its own authorization server, so nothing is registered with an outside provider. New routes: /.well-known/oauth-protected-resource[/v1/mcp], /.well-known/oauth-authorization-server, POST /v1/oauth/register (RFC 7591), GET|POST /v1/oauth/authorize and POST /v1/oauth/token. A 401 from POST /v1/mcp carries WWW-Authenticate with the resource metadata URL. Only the authorization code flow with S256 PKCE for public clients is supported; codes last a minute and work once. Register and token are limited per IP to AUTH_VERIFY_RATE_LIMIT_PER_MINUTE (120), not the login limit, since hosted connectors share egress IPs. Postgres migration 006 adds oauth_clients and oauth_codes. Without PUBLIC_URL nothing changes
  • Dashboard: a consent page at /oauth/authorize names the app and where it will be sent back to, with Allow and Cancel. A signed-out visitor goes through login first and comes back to it
  • PUBLIC_URL in .env.example and docker-compose.yml (empty by default), and api.publicURL in the Helm chart's values, written to server.public_url
  • The bundled nginx and the Helm Ingress route /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server to the API, and nginx serves /oauth/authorize with frame-ancestors 'none' so other sites can't embed it. A reverse proxy of your own needs the same routes; see deploy/docs/upgrading.md

v1.2.1

Choose a tag to compare

@github-actions github-actions released this 21 Oct 17:48
01e5830
Release 1.2.1

Release 1.2.0

Choose a tag to compare

@github-actions github-actions released this 21 Oct 17:10
dd594a4

Added

  • MCP server at POST /v1/mcp (stateless Streamable HTTP) with list_workspaces, describe_schema, query, list_traces, get_trace and detect_anomalies tools, so an AI client can answer questions about your own telemetry. Each tool takes an optional workspace_id; list_traces and get_trace take fields (and span_fields) to return only what the client needs, and page with page (span_page). Tools are annotated read-only, results are returned once as text, and requests whose Origin is not the server's own host are refused. Creating a read key shows one connector URL, /v1/mcp/<key>, to paste into Claude's custom connector dialog or any MCP client; the bundled nginx keeps that path out of its access log, but a Helm Ingress logs it unless configured not to. /v1/query and both MCP routes share a rate limit of 120 requests per minute per account (AUTH_QUERY_RATE_LIMIT_PER_MINUTE), since hosted connectors such as Claude's share egress IPs
  • POST /v1/query and GET /v1/query/schema: structured custom queries over calls or runs, with metrics, up to 4 dimensions (including attr.<key> custom attributes), filters and hourly or daily buckets, over windows up to 92 days. On calls, every stored column is a field, read live from ClickHouse so new columns need no code: group, filter (gt/lt/is_empty and more), aggregate as <func>:<field> (e.g. max:cost_usd), or list matching calls with columns. On calls, run.<field> reads the call's run (run.errored, run.cost_usd, run.attr.<key>) and parent.<column> its parent span. On runs, per-run totals (cost_usd, duration_ms, errored, call_count, tokens) and attr.<key> are fields, so runs can be filtered, listed with columns and aggregated with <func>:<field>. Filters take any for OR, formulas compute from the metrics (e.g. cost / runs), and having filters on metrics and formulas. Results page with page. No SQL is accepted; names are checked against the catalog and live columns, and every query is limited to the caller's workspaces. Cost matches the dashboard (meta.cost_source: reconciled) when grouped only by user or workspace
  • Read keys, under Settings → Account and /v1/account/api-keys. A read key belongs to the account that created it and acts as that account on the query API, MCP and setup checks, reading the workspaces the account is a member of at request time. The collector rejects read keys for ingest, and ingest keys cannot use the query API or MCP. Postgres migration 005 adds api_keys.scope (ingest for every existing key) and lets workspace_id be null for read keys
  • tracium.cost_usd set by the sender on a span with no model and no token counts (a paid tool or external API call) is stored as that span's cost and counted in run, workflow and client totals. Model calls, embeddings included, are still priced from their tokens and ignore it. A value below 0, not a number, or above $10,000 drops the span with the new code cost_out_of_range, which the setup checks report. Token metrics never meter this spend, so cost totals add it on top of the span and metric reconciliation. Migration 015 adds reported_cost to tracium.metrics_daily_cost and recreates its view; stop the collector while it runs
  • GET /v1/metrics/setup-checks also accepts a workspace ingest key (trc_...) as the bearer token, scoped to the key's workspace and checked against the entitlements of the user who created the key, so a coding agent can verify instrumentation without a dashboard login. Every other route still requires a session token
  • since filter on GET /v1/metrics/setup-checks, so a fix can be checked against new spans only
  • bootstrap command in the API image (docker compose exec api ./bootstrap --email you@example.com) creates the account if missing, a workspace if it owns none (a workspace it was only invited to is never used), and an API key, and prints the key, so a local install needs no dashboard steps before ingest. It only runs with access to the API's database; there is no HTTP endpoint. AGENT_SETUP.md uses it for the local Docker path
  • AGENT_SETUP.md, a playbook a coding agent follows to instrument an app with OpenTelemetry and send it to Tracium: it asks about workflows, trace scope and non-LLM services, sets the workflow name and version on every span, exports only the traces that call LLM services, reports non-LLM costs with tracium.cost_usd, and verifies the result with the setup checks. The README quickstart opens with the prompt that starts it

Changed

  • Spans with no model always pass the collector's allowed_models list, which now restricts model calls only. Before, it dropped every tool and API span as unknown_model
  • A streamed model call with no token usage is flagged unmetered even if it carries gen_ai.usage.cost or llm.usage.total_cost; those attributes were never used for cost
  • The collector is built on OpenTelemetry Collector v0.163.0 (OCB v0.163.0, go.opentelemetry.io/otel v1.69.0) with grpc 1.84 and clickhouse-go 2.49. A custom collector config must move the ClickHouse exporter's batcher block to sending_queue.batch (min_size_items/max_size_items become min_size/max_size with sizer: items) and service.telemetry.metrics.address to a readers pull exporter; the bundled config already does
  • Images build with Go 1.27
  • Dashboard: React 19, React Router 7, Vite 8 and Vitest 5. The dashboard library accepts React 18 or 19 as a peer

Release 1.1.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 11:41
c0a1f83

Added

  • Workflow versions. A span's version is the resource's tracium.workflow.version; span attributes are not read. It is stored in the new tracium.spans.workflow_version column and added to the metrics_daily key (migration 014)
  • Trace.workflow_version: the root span's version, else the earliest versioned span's
  • GET /v1/metrics/workflows/{name}/versions lists a workflow's versions with runs, cost per run, p95 latency, error rate and tokens per run
  • version filter on GET /v1/traces and the series endpoints
  • Workflow detail, its series and the version filter serve 90d and 1y from the daily rollup, with latency unset, so the workflow and version compare pages work on long ranges
  • GET /v1/metrics/token-series returns input and output tokens per time bucket; the Usage page charts them
  • span.json lists workflow_version
  • Setup checks workflow_without_version (info: runs with no tracium.workflow.version) and version_per_run (warning: a workflow in a workspace with at least 20 versioned runs where more than half carry a distinct version)
  • The examples set tracium.workflow.version, and the demo seed ships two or three releases per workflow, with one unversioned workflow
  • Anomaly.version_change: a workflow version first seen on the anomaly's day or the day before (for workspace-wide anomalies, of the workflow that carried the most of the metric, errored runs for error rate, and none when that workflow did not change version; a workflow's first versioned day does not count); the summary and the Overview outliers name it
  • The smoke test checks versions end to end, and the upgrade test runs migration 014 on a 1.0.4 rollup
  • Dashboard light mode, toggled from the sidebar; the default theme follows the system preference
  • Collapsible dashboard sidebar
  • Sidebar GitHub star button with the live star count

Changed

  • Migration 014 rebuilds metrics_daily with the version column in its sorting key and keeps the original as metrics_daily_pre_version. Stop ingestion while it runs; existing rollup rows read as unversioned.
  • The repository moved to antonij-simonovski/tracium. Images are now published as ghcr.io/antonij-simonovski/{collector,api,dashboard,migrate}; docker-compose.yml and the Helm chart point there, and the old ghcr.io/antonij-tracium paths no longer resolve. Update any image overrides

Release 1.0.4

Choose a tag to compare

@antonij-simonovski antonij-simonovski released this 10 Oct 19:49
ae7fc36

Added

  • Setup checks: GET /v1/metrics/setup-checks reports instrumentation problems (unpriced or missing models, streams without usage, LLM spans that end instantly, errors without a message, traces missing their root span, no LLM spans, workflows without gen_ai.agent.name, spans rejected at ingest) with how to fix each; the dashboard flags them in a banner on Overview
  • Span.setup_issues lists the span-level checks a span fails
  • tracium.rejected_spans (migration 012) counts rejected spans per workspace, hour and error code, written by the collector when processors.tracium.dead_letter.clickhouse_dsn is set
  • CAPTURE_CONTENT=false (Helm: collector.captureContent=false) stops the collector storing prompt and completion text
  • Helm values for pod and container security contexts, and ingress.annotations
  • Dashboard extensions: ingestEndpoint sets the OTLP endpoint shown in the workspace connection instructions, which otherwise show the local collector

Changed

  • A span rejected for a missing ingest key is no longer attributed to the workspace its sender claimed
  • tracium.rejected_spans rows expire after RETENTION_DAYS, like spans (migration 013)
  • POST /v1/auth/password returns 200 with a new session token instead of 204; changing a password, here or with the reset-password CLI, ends every earlier session
  • POST /v1/workspaces/{id}/members always adds a member; the role field is gone and ownership can't be granted
  • Auth and entitlement failures return the JSON ErrorResponse; a session that can't be verified because Postgres is unavailable gets 503 UNAVAILABLE instead of 401
  • Login takes the same time whether or not the email has an account
  • Metrics endpoints other than the series reject the workflow filter, and attribute usage rejects ranges longer than 30d
  • The API shares one Postgres pool and runs its migrations once at startup; an invalid number in AUTH_RATE_LIMIT_PER_MINUTE or AUTH_VERIFY_RATE_LIMIT_PER_MINUTE fails startup
  • All images run as a non-root user: uid 10001, or nginx-unprivileged's uid 101 for the dashboard. docker compose up hands an existing collector queue volume to the collector's user
  • The migrate image contains the schema migrations, so Compose no longer mounts collector/schema
  • Images build with Go 1.26 and Node 24, matching CI
  • Helm: ClickHouse probes use its HTTP /ping, an empty storageClass uses the cluster default, and the collector no longer receives unused env vars
  • Dashboard: shared stat tiles, KPI strip and formatters; trend arrows are colored by whether the change is good or bad; large traces render faster; dialogs trap focus and close on Escape; pages recover from a crash on navigation
  • Dashboard: the trace view shows the trace's client as a chip beside the start and end time

Fixed

  • span.json documents workspace_id as set from the verified ingest key and model_normalized as lower-cased only, with no alias resolution
  • span.json lists workflow_name, service_name, source and attributes, and available_tools names gen_ai.tool.definitions as a source
  • Workspace role casing, a 500 when revoking an API key, case-sensitive member email lookup, and readiness errors that leaked internal details
  • The collector keeps the unmetered flag without content capture, matches allowed_models case-insensitively, treats permanent row errors as permanent, and prices Haiku 4.5
  • Collector key verification no longer fails waiting requests when the coalescing request is cancelled, and serves stale keys to rate-limited senders
  • The dashboard clears cached data on logout, reads daily chart dates in UTC, shows $0.00 costs, and keeps data when a poll fails
  • Workflow detail no longer shows another workflow's or workspace's numbers while loading, and its failure count matches the stats
  • Usage and Clients: unattributed spend can't be opened as a client, a stale attribute key falls back to a valid one, and cost and runs pair by bucket time
  • Signup asks for 8+ characters, matching the API
  • Helm creates Postgres data in a subdirectory on new volumes and restarts pods when their config changes

Removed

  • auth.mode=none (AUTH_MODE=none); the API always requires authentication
  • Unused API config: server.health_addr, auth.token_header and the telemetry section (log_level, log_format and the LOG_LEVEL / LOG_FORMAT env vars)

Release 1.0.3

Choose a tag to compare

@github-actions github-actions released this 04 Oct 17:36
82efc03

Added

  • Node.js example that sends a GenAI-semconv trace without an LLM provider key (examples/node)
  • README dashboard GIF and a "Works with" section listing supported instrumentation

Changed

  • docker compose up pulls the release images pinned by TRACIUM_VERSION; compose.build.yaml (used by make up) builds from source
  • The collector health check is published on host port 13133 instead of 8080
  • ClickHouse and Postgres are no longer published on the host by default; make up publishes them through compose.dev.yaml
  • Helm installs use the chart attached to each release; installing with --wait is not supported
  • The dashboard package is marked "type": "module"
  • Go workspace requires Go 1.26
  • Dependencies: golang.org/x/crypto 0.57.0, go.uber.org/zap 1.28.0, @tanstack/react-query 5.104.0, jsdom 30.1.1, @vitejs/plugin-react 5.2.0
  • Dashboard image builds on node:26-alpine; CI runs Node 24
  • CI actions: actions/checkout v7, actions/setup-go v7, docker/build-push-action v7, docker/login-action v4, docker/setup-qemu-action v4

Fixed

  • The Helm chart requests images from ghcr.io/antonij-tracium, where releases publish them
  • The workspace upgrade guide checks out the new release before migrating, and configures exporters with an ingest key
  • Demo seed numbers in the READMEs match what the seed script sends

Removed

  • One-off review reports and harnesses under deploy/reports and deploy/tests
  • Unused deploy/config/, deploy/.env.example, deploy/scripts/wait-for-db.sh, spec/codegen/gen-go-models.sh and pnpm files
  • Enterprise and PII references from the documentation

Release 1.0.2

Choose a tag to compare

@antonij-simonovski antonij-simonovski released this 01 Oct 21:55
b198b25

Added

  • Release images are published for linux/arm64 as well as linux/amd64, so they pull natively on Apple Silicon and ARM nodes

Changed

  • Dashboard text is one step larger throughout, and secondary text uses a lighter gray for higher contrast