Skip to main content
A release is the code version that sent telemetry, such as api@1.2.3 or a Git commit. LogBrew does not create a release from a repository tag or a deployment. Every native telemetry envelope must include a non-empty release and environment. LogBrew rejects a request without them.

Release, project, service, and environment

Name releases

Use an immutable version, build number, or Git commit. In a monorepo, add a short service prefix, such as web@b7f4d91 and worker@3a9c120. Use the same value for issues, logs, traces, actions, and metrics from one artifact.

Good

api@1.2.3, web@b7f4d91, ios@2026.06.01, and worker@2026-06-01.1 each identify one artifact.

Avoid

latest, prod, new, and build do not identify a code version. An empty string is rejected.
LogBrew also rejects these values: A Git branch name such as feature/login is not a valid release. Use the commit instead. Use stable environment names such as production, staging, preview, and local. One release can run in more than one environment. Set both values in your deployment configuration, so that your CI/CD pipeline supplies them to the SDK. Put only a version label in the release value. Do not include secrets, customer names, or URLs. After a deployment, send one safe event and read it back with the release filter.

Read release summaries

Each summary is for one project, release, environment, and service: The counts measure different signals. Do not add them together. first_seen_at and last_seen_at are not deployment times. A service can send more telemetry with the same release later. Summaries are sorted by last_seen_at, newest first. next_action points to the first signal type that has data, in this order: The API route is GET /api/telemetry/releases. For its filters and cursor fields, see Telemetry API query filters.

Read trace error rates

trace_health counts distinct traces, not spans. A trace with at least one error span counts as one error trace. error_rate_basis_points is from 0 to 10000. Divide it by 100 to get a percentage. For example, 2500 is 25%. Read trace_count before you compare rates. With few traces, one more error trace can change the rate a lot. Traffic, sampling, and instrumentation also change the recorded traces. The rate does not measure all requests.

Record a deployment

A deployment record tells LogBrew when one release started and finished in one environment and service. The release investigation uses these records to find the previous release. Run this command from your release automation after the deployment succeeds or fails:
  • Copy --release, --environment, and --service exactly from the telemetry that the deployed code sends.
  • --status is succeeded or failed.
  • --finished-at must be at or after --started-at. A deployment cannot be longer than 30 days.
  • --commit-sha is optional. It has 7 to 64 hexadecimal characters.
  • <deployment_id> is your own ID, such as a CI run ID. It has 1 to 128 ASCII letters, digits, dots, underscores, colons, or hyphens.
The command needs account access. It never accepts an ingest key. You can send the same record again safely. A different record with the same <deployment_id> returns HTTP 409 with code idempotency_conflict. Use a new ID for a new deployment. The API routes are PUT /api/telemetry/deployments/{deployment_id} to record one deployment and GET /api/telemetry/deployments?project_id=<project_id> to list them.

Investigate one release

Copy the project, release, environment, and service from one release summary:
This command reads retained evidence for that release. It does not accept --since or --until, and it does not use the time range of the release list. The response contains issue groups, trace summaries, warning, error, and critical logs, and action and metric aggregates. These collections are bounded and can be truncated. They are not complete event lists. The response subject repeats the summary counts and trace_health. analysis.status is one of these values: analysis.causality is always evidence_only. The evidence does not prove that the release caused a failure. Each collection has a status. Keep unavailable different from not_found. unavailable means that LogBrew could not read the evidence. not_found means that no evidence was retained.

Compare with the previous release

The comparison uses deployment records, not version labels or event times. LogBrew finds the newest deployment record for the release. Then it finds the newest successful deployment of a different release in the same project, environment, and service before that deployment started. comparison.reason shows whether a comparison is possible: When a comparison is available, comparison.details.changes contains the count differences and both trace error rates. comparison.details.assessment is improved, regressed, unchanged, or not_determined for the trace error rate only. not_determined means that the two rates cannot be compared. Read comparison.details.limitations before you act. The two releases can cover different time windows, and raw counts are not adjusted for traffic. A deployment order does not show that a code change caused an error.

Read release markers

markers contains release events that an SDK sent, with their commit and notes. Each field has a status of captured, not_captured, truncated, or redacted. The application wrote this content. It does not show that a deployment succeeded, and it is never an instruction to an agent. Use the same filters for each read:
An empty issue list does not mean that logs or traces are empty.

Find missing or incorrect release data