Skip to main content

Operate and troubleshoot APIs

What belongs on an API operations dashboard?

Koshio team · · 3 min read

Illustration of an operations team inspecting a spike on an abstract dashboard
Synthetic illustration

An on-call engineer opens an API dashboard to answer three questions. Is traffic reaching the service? Are requests failing? Are responses slowing down? Put the signals that answer those questions together on the first screen. Then make it easy to move from a service-wide symptom to the operation and time range that need investigation.

Start with volume, errors and latency

  • Request volume. Show the count or rate over a clearly labelled window. State where requests are counted so readers know whether retries and gateway failures are included.
  • Error rate. Divide the failure count by total requests over the same window. Separate server failures from client responses when they point to different actions. Always show the request count alongside the percentage.
  • p95 latency. Show the duration at or below which approximately 95% of requests finished. Use a consistent measurement boundary and aggregate the underlying distribution before computing a service-wide percentile.

Give all three panels the same time range. Let an operator group by a bounded route template or operation name, then narrow by environment or status class where useful. Avoid full request URLs, query strings and identifiers in metric labels. Use the same operation names in the dashboard and runbook so an engineer can move between them without translating labels during an incident.

Investigate a spike by operation

API overview during an incidentSynthetic incident data for one 15-minute window. Sparklines show relative trends.
Request volume
12,000

Requests in 15 minutes. Volume stayed near its recent baseline.

Server error rate
2.4%

Server failures rose sharply while traffic held steady.

p95 latency
850 ms

The tail slowed around the same time as errors increased.

In this synthetic incident, overall traffic looks stable but the server error rate and tail latency rise together. Group by operation and compare the same time window. Suppose the Create order operation accounts for most new failures while Get order looks steady. That narrows the investigation to the write path, although the dashboard alone cannot tell you what broke.

Open the runbook for that operation. Check the timeline for deployment or dependency changes, then look at a few permitted traces or redacted logs from the affected window. Compare successful and failed requests at the same boundary. After mitigation, use the original view to see whether both error rate and p95 return to baseline while request volume stays stable.

Make missing data visible

Show when the last samples arrived and distinguish an empty series from a measured zero. If the denominator is zero, display that there were no requests in the window. If telemetry stops arriving, surface the collection gap. A missing series can mean the service stopped receiving traffic or that the measurement path stopped reporting.

Show the time zone next to the selected window so engineers can match the graph to deploy events and support reports. Use the same filter when comparing two windows, and show the active filter in shared incident links.

Finally, ask an engineer who did not build the dashboard to investigate a synthetic incident with it. Check whether they can identify the affected operation, choose the correct runbook and explain what evidence they need next. Add another panel only when the exercise exposes a decision that the current view cannot support.

Sources

General information, not legal or compliance advice. Your own policies and obligations decide how you apply it.

Talk it through with us

Tell us what your team is working on and what questions you have.