# Services

Latency percentiles, error rate, throughput, and Apdex for every service that sends traces, with a detail page per service for its endpoints, operations, dependencies, and deploys.

The **Services** page lists every service that sent spans in the selected time range, with latency percentiles, error rate and throughput. Open a service to see its charts over time, its HTTP endpoints, its operations, the services and databases it calls, and its open error issues.

## What data it needs

Services are built from traces. Each distinct `service.name` resource attribute is one service. The metrics come from entry spans: root spans and spans with kind `Server` or `Consumer`.

- **Error rate** counts spans with status `Error`.
- **Environment** and **Namespace** read `deployment.environment` and `service.namespace`.
- **Commit SHA** and **Last deploy** read `vcs.ref.head.revision`.

See [OpenTelemetry conventions](/docs/concepts/otel-conventions#service-identity) for these attributes.

## The services list

The default time range is the last 12 hours.

The table has these columns: **Service**, **P50**, **P95**, **P99**, **Error Rate**, **Throughput** and **Last deploy**. **Error Rate** and **Throughput** include a sparkline. Rows are grouped by environment, or by namespace when your services set one. Switch grouping with **Group services by**.

<figure class="shot">
  <img src="/screenshots/docs/services-01-list.webp" alt="The Services list grouped by namespace and environment, with P50, P95 and P99 latency, error rate and throughput sparklines, and the last deploy for each service. A filter sidebar on the left lists health, environment, namespace and commit SHA." loading="lazy" />
  <figcaption>Services grouped by namespace and environment, each with latency percentiles, error rate, throughput and last deploy.</figcaption>
</figure>

A colored dot marks a service as degraded or unhealthy. Health comes from open alert incidents (**Alert firing**) and anomalies (**Anomaly**) on that service. A critical cause makes a service unhealthy. Any other cause makes it degraded. The footer counts services and how many are unhealthy or degraded.

### Filters

The sidebar filters by **Health**, **Environment**, **Namespace** and **Commit SHA**. Each filter can include or exclude a value.

Click a row to open the service, scoped to that row's environment.

## Service detail

The header has an environment switcher (**All environments** or one environment) and a **Create alert** button. The page has four tabs: **Overview**, **API**, **Operations** and **Dependencies**. A role limited to namespaces sees only **Overview**.

### Overview

The tab opens with the deploy that needs a look, if any (see [Deploys](#deploys)). Below it, a strip shows **Requests**, **Error rate**, **p95 latency** and **Apdex** in the latest complete time bucket, each with its value over the whole window underneath.

Four charts follow: **Latency**, **Throughput** (requests per second), **Apdex** and **Error rate**. Deploys appear as commit markers on every chart. Hover a marker to see the commit. A marker turns red or amber when that deploy was flagged.

<figure class="shot">
  <img src="/screenshots/docs/services-02-detail.webp" alt="The overview tab of the maple-api service: Latency, Throughput, Apdex and Error Rate charts over 12 hours with commit markers along the top, and a Top operations list below." loading="lazy" />
  <figcaption>A service's Overview tab. The dashed markers on each chart are deploys.</figcaption>
</figure>

**Apdex** scores requests from 0 to 1 against a 500 ms target (T):

- Satisfied: no error and duration under T.
- Tolerating: no error and duration from T up to 4T.
- Frustrated: slower than 4T, or an error.

Apdex = (satisfied + 0.5 × tolerating) / total. See [Apdex alerts](/docs/alerting/apdex-alerts) to alert on it.

Panels below the charts:

- **Open issues**: [error issues](/docs/errors/overview) for this service from the latest 90 days. An issue that first appeared after a deploy in the window is tagged **new since** that commit.
- **Recent deploys**: each deploy in the window with its commit, author and verdict. See [Deploys](#deploys).
- **Top operations**, with **View all** to open the **Operations** tab.
- **Uptime**: the [uptime checks](/docs/alerting/uptime-monitoring) attached to this service, each with its recent results and pass rate. **Open in Alerts** opens the **Uptime** tab. Hidden when no check watches the service.
- **Source maps**: the newest release you uploaded [source maps](/docs/errors/source-maps) for, with its **Files** count, when it was **Uploaded**, and when a map **Last mapped a stack**. The header links the GitHub repository when the commit resolved through the [GitHub integration](/docs/integrations/github). Hidden when the service has no source maps.
- **Footprint**, in three sections:
  - **Runs on**: where the service runs. Platform resources from connected integrations come first, then Kubernetes workloads with their pod count, CPU and memory.
  - **Talks to**: the services and databases it calls.
  - **Ingest this window**: logs, spans and metrics this service sent in the time range.

### API

HTTP endpoints served by this service, with **Req/s**, **Errors**, **p50**, **p95** and **p99**. Summary stats show the endpoint count, total requests per second, errors and the worst p99.

Requests that did not match a route are split into **Unrouted paths** and **Scanner probes**. Both are hidden until you click **Show anyway**.

**Filter routes…** searches the endpoints by route. The filter beside it shows **All**, **Rejecting > 5%** or **p95 > 100ms**.

Click an endpoint to open its details beside the table: requests and latency over the window, **Status codes**, the latency **Distribution**, **Top clients** by user agent, **Request body** sizes and the **Slowest requests**. **Traces** opens the endpoint's traces, and **Create alert** starts a rule for it. Step to the previous or next endpoint with the arrows in its header.

### Operations

Every span name the service handles, with **Calls /s**, **Errors**, **p50** and **p95**. Click a row to open matching traces.

### Dependencies

Everything this service calls, with **Calls /s**, **Errors** and **p95**. Each row has a type badge: **Service**, **Database**, **HTTP**, **Queue** or **RPC**. The header highlights the **Busiest**, **Most errors** and **Slowest p95** dependency. Click a row to open the traces for those calls.

Dependencies come from spans with kind `Client` or `Producer`. See [Service map](/docs/explore/service-map) for how Maple identifies the target of a call.

## Deploys

Maple detects a deploy when spans from a new `vcs.ref.head.revision` appear for a service. Each commit in each environment is its own deploy: a commit shipped to staging and later to production gets two verdicts. Deploys replace the former Releases pages, and old Releases links open the service page instead.

### Deploy verdicts

Maple compares a deploy's first 30 minutes with the 30 minutes before it, and gives it one verdict:

| Verdict        | Meaning                                                                                                   |
| -------------- | --------------------------------------------------------------------------------------------------------- |
| **Errors up**  | The error rate at least doubled and rose by at least half a percentage point (from zero, half a point is enough). |
| **Slower**     | p95 latency rose by at least a quarter and at least 10 ms.                                                |
| **Verifying**  | The 30 minutes are not up yet. The badge counts the minutes, for example **Verifying 12/30 min**.         |
| **Clean**      | No change worth flagging.                                                                                 |
| **Not judged** | Fewer than 50 spans on one side of the deploy, so there is too little traffic to compare, or its minutes have aged out of the rollup. |

Both sides need at least 50 spans before a deploy can be flagged. A deploy is flagged **Errors up** or **Slower** as soon as the change shows, before its 30 minutes are up.

The newest flagged deploy, or else one still verifying, appears in a banner at the top of the **Overview** tab, such as "Errors up since this deploy" with the before and after figures and how many open issues first appeared since. **What changed** opens its drawer.

**Recent deploys** lists flagged deploys first, then the newest. It shows eight rows, and the button below expands it to at most 50. Connect the [GitHub integration](/docs/integrations/github) to show each commit's message and author instead of only its SHA.

### The deploy drawer

Click a deploy in **Recent deploys**, or **What changed** in the banner, to open its drawer. It shows:

- The commit, its author, environment and verdict.
- **Requests**, **Error rate** and **p95 latency** after the deploy, each against the 30 minutes before it.
- **Operations it moved**: each busy operation after the deploy against the same operation before it, worst change first. Each is tagged **Errors up**, **Slower**, **Faster**, **New**, **Steady** or **Few before** (it ran too rarely before to compare). The counts cover every version serving after the deploy, not only this one.
- **Open issues first seen since** the deploy.
- **Also shipped to**: other services and environments the same commit reached, each with its own verdict. Click one to open that service with the deploy's drawer.

**Traces after the deploy** opens the [trace list](/docs/explore/traces) for this service and environment over the minutes after the deploy.

## Query services from an assistant

The [MCP server](/docs/reference/mcp) exposes the same data:

- `list_services`: throughput, error rate and P95 per service, filterable by environment.
- `diagnose_service`: health metrics, Apdex, top errors, and recent traces and logs for one service.
- `get_service_top_operations`: a service's operations ranked by a chosen metric (call count by default).

## Troubleshooting

- **"No services yet".** Maple has never received a span. Services come from traces, so set up an OpenTelemetry SDK first. See [Instrumentation](/docs/instrumentation).
- **"No services in this time range".** Maple has traces, but none in this window. Widen the range.
- **"No services match these filters".** Your filters excluded everything. Clear them.
- **A service is missing.** Only services with entry spans (root, `Server` or `Consumer`) get a row. A service that only emits `Client`, `Producer` or `Internal` spans with a parent does not.
- **A service appears under the wrong name.** Set `service.name` explicitly in your SDK. Without it, many SDKs report `unknown_service`.
- **"No HTTP endpoints in this window" on the API tab.** An endpoint needs a `Server` span that carries a route. Most HTTP framework instrumentations set `http.route`. See [HTTP attributes](/docs/concepts/otel-conventions#http-attributes).

## Next steps

- [Service map](/docs/explore/service-map): how services and databases connect.
- [Traces](/docs/explore/traces): the requests behind each number.
- [Apdex alerts](/docs/alerting/apdex-alerts): alert when user-facing latency degrades.
