Skip to content

APM overview

Request rates, latency, errors, slow database calls, a service map and deployments for every service.

What APM shows

APM (application performance monitoring) looks at your services from the inside. Uptime checks tell you that something is slow or broken; APM tells you where and why. It is built from the OpenTelemetry traces your services send, so there is no proprietary agent to install.

The APM pages

APM pages in VitalRix
PageAnswers
OverviewHow is everything doing? Requests, latency percentiles, failures and their change, the slowest, busiest and failing endpoints and services, and a database summary.
ServicesWhich services report, their runtime and version, and their health: healthy, warning, critical, no traffic or inactive.
Service detailOne service in one environment: traffic, latency and errors over time, endpoints, instances, deployments, upstream and downstream services, databases and top issues.
EndpointsWhich routes are slow or failing, compared with their own last 7 days. Filter by method, failing or degraded; sort by requests, p95, p99 or error rate.
ErrorsExceptions grouped into issues, with trends, affected endpoints and versions, sampled stack traces and links to the traces.
DatabaseWhich queries take the most total time, their latency, and time spent waiting for a connection from the pool.
Service mapWhich services call which, and which databases they use, as observed in real traces.
InfrastructureCPU, memory and runtime metrics (event-loop delay, heap, JVM) next to the services that use them.

Every page can be narrowed to an environment and a time range of up to 31 days.

Definitions

These definitions are the same on every page, in the API and in alerts:

APM definitions
TermMeaning
RequestA request your service received: an incoming HTTP, RPC or message-consumer span.
Failed requestA request with an error status or an HTTP 5xx answer. HTTP 4xx answers are client errors, counted separately, not failures.
Error rateFailed requests divided by requests. It counts failed requests, not exceptions.
EndpointThe method and route, such as GET /orders/:id. IDs, UUIDs, tokens, dates and emails in paths are replaced, and query strings are never part of it.
Latency percentilesp50, p95 and p99 from merged histograms. They are never averages of averages.
Database timeTime your application waited for each query, including network and pool wait.
IssueOccurrences of the same exception (type, message without IDs or numbers, and first application stack frame) in one service.
Degraded endpointAn endpoint whose p95 is at least 1.5 times, and at least 50 ms, above its own 7-day baseline.

Errors and issues

  • A new issue starts as new and becomes ongoing after 24 hours.
  • Mark an issue resolved when it is fixed. If it happens again, it becomes ongoing and shows when it regressed.
  • Mark noise as ignored.
  • A failed request that recorded no exception becomes an HTTP 5xx issue, so silent failures still show up.

Deployments

Send service.version (a release tag or git commit) with your traces. The first time a version appears it is shown as a deployment, with latency and errors for up to an hour before and after. VitalRix flags a possible regression when p95 rises by 25% and 25 ms or more, or the error rate by 2 points. It shows that the change came after the deployment; it does not claim the deployment caused it.

Alerts on APM

Create a rule with the APM metric condition under Alerts › New rule. Narrow it to a service, an environment and even one endpoint.

APM alert metrics
MetricUse it for
Latency p95, p99Slow responses.
Error rate, failed requestsMore failures than normal.
Request countTraffic stopping, for example fewer than 1 request in 5 minutes.
Traffic changeA sudden drop or surge compared with the previous window.
Heartbeat ageA service that stopped sending telemetry.
Database p95Slow queries.

Good to know

  • Counts reflect what your services send. If your SDK samples 10% of requests, APM shows 10% of the traffic.
  • Secrets are removed before anything is stored: authorization headers, tokens, passwords, query-string values and SQL values. See Security and privacy.
  • For browsers, use Real user monitoring and Session replay. Never put an API key in browser code.

Read more: what is redacted.

Something unclear or missing? Open VitalRix and use the in-app setup guides, or read Troubleshooting.