Skip to main content
Squasher finds your services and their releases in the traces and logs you already send. For each service, you see its request rate, error rate, latency, and health. For each release, you see if errors or latency got worse than in the release before it.

How Squasher finds services

A service is one service.name that sends server or consumer spans. Squasher reads the request rate, error rate, and p50, p95, and p99 latency of each service from those spans. Set OTEL_SERVICE_NAME to give each service a clear name. To see the services of a project, open the project and select Services in the sidebar, under Telemetry. Select Releases to see its releases.

Service health

Squasher sets the health of a service from its server error rate over the selected window: The services list shows each service’s health, a request trend, an error-rate trend, its p95 latency, and its last release. When the release came from a deployment platform, the platform mark (for example Vercel) opens the deployment. A service page has four tabs:
  • Overview: request, error, error-rate, and latency charts, the top operations, the services and databases it calls, and its recent releases.
  • Operations: every operation. Sort by requests, by p95 latency, or by errors.
  • Dependencies: the services that call it (upstream), the services it calls (downstream), and the databases it calls, as a diagram and as tables.
  • Releases: the release that serves traffic now, a timeline of when each release served, and every release in the window. Point at a release in the timeline to see when it started, how long it served, and its commit.
The default window is the last 24 hours. The longest window is 7 days.

The service map

The service map shows services and databases as nodes. An edge is a call from one service to another service, or from a service to a database. Each node and edge has a request count, an error rate, and an average latency. Point at a service to see the numbers of its calls; calls with 5% errors or more are red and always show their numbers. Squasher adds a database node for each database system that your client spans name in the db.system.name attribute, for example postgresql or redis. Most OpenTelemetry database instrumentations set this attribute.

How Squasher finds releases

A release is one version of one service in one environment. The version comes from the service.version resource attribute. The environment comes from deployment.environment.name. Each release has a source:
  • Deploy record (confirmed): a deployment record with the status ready names the version. Deployment records come from connected Vercel, Railway, and GitHub providers, or from the Deployments API.
  • Build info (detected): no deployment record matches, but the build put its commit or deployment id on the telemetry (see below), or the version is a full commit SHA.
  • Version only (inferred): only service.version names the release.
The Releases page shows each release’s health against the release before it, its commit and branch, the new issues first seen while it served, its source and platform, when it started, and how long it served.

Send the commit with your telemetry

Add the commit, branch, and repository of the build as resource attributes. Squasher reads them from the first spans and logs of each release, links the commit on GitHub, GitLab, or Bitbucket, links the branch, and links the change from the previous release’s commit. Without vcs.repository.url.full, Squasher links only when vcs.repository.name matches one GitHub repository linked to the project:
cloud.provider and deployment.id add the platform and its deployment id. On Vercel, the Vercel runtime attributes (vercel.sha, vercel.deployment_id, vercel.host) work too. When the telemetry names only the repository (vcs.repository.name), Squasher links it when exactly one GitHub repository connected to the project has that name.

Send the version with your telemetry

Add service.version to the resource attributes of each service. With the standard OpenTelemetry variables:
Use a value that changes with each deploy, for example a version number or a commit SHA.

Record a deploy

To confirm a release, record the deploy from your CI/CD pipeline with deployments.create. Use the same service name, version, and environment that your telemetry sends.
The key needs the deployments:write scope. See the Deployments API.

Serving interval

A release starts at the deploy time or at its first span or log, whichever is earlier. It ends when the next release of the same service and environment starts. The release that serves now is the current release. When you roll back to an older version, that release keeps its first start time.

Release health

Squasher compares each release with the release of the same service and environment that served before it:
  1. It takes the first 24 hours of the release. When the release served for less time, it takes the whole serving time, and at least 5 minutes.
  2. It takes the same length of time just before the release started, while the previous release served.
  3. It compares the error rate, the p50, p95, and p99 latency, and the requests per minute of the two windows.
Each window needs at least 50 requests. With fewer, the result is insufficient data. The comparison also lists the new issues of the service that were first seen in the release window.
The numbers cover the service over time, not one version. During a rolling deploy, the old and the new version serve at the same time, so the first minutes mix both versions.

Use services and releases from the CLI and MCP

Agents can call services.list, services.get, services.map, releases.list, and releases.get through MCP Code Mode. All five are read-only.

Next steps

Services API

Read services and the service map from a script.

Releases API

Read releases and their health comparison.

Send traces with OpenTelemetry

Send spans and logs with a service name and version.

Deployments API

Record deploys from any CI/CD pipeline.