How Squasher finds services
A service is oneservice.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 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 thedb.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 theservice.version resource attribute. The environment comes from deployment.environment.name.
Each release has a source:
- Deploy record (
confirmed): a deployment record with the statusreadynames 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): onlyservice.versionnames the release.
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. Withoutvcs.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
Addservice.version to the resource attributes of each service. With the standard OpenTelemetry
variables:
Record a deploy
To confirm a release, record the deploy from your CI/CD pipeline withdeployments.create. Use
the same service name, version, and environment that your telemetry sends.
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:- 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.
- It takes the same length of time just before the release started, while the previous release served.
- It compares the error rate, the p50, p95, and p99 latency, and the requests per minute of the two windows.
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
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.