Skip to content

VitalRix

See why your app is slow, not just that it is

VitalRix APM turns OpenTelemetry traces into request rates, latency percentiles, error issues, slow database calls and a live service map. No proprietary agent.

12 min read18 sectionsUpdated

On this page

Uptime says something is wrong. APM says where.

An uptime check can tell you the checkout page took four seconds. It cannot tell you that 3.4 of those seconds were one unindexed query inside the orders service, called nine times per request. For that you need to look at your services from the inside.

APM in VitalRix is built from traces: the record of one request as it moves through your code, your database and your other services. Aggregate thousands of traces and you get request rates, latency percentiles and error rates for every service and every route. Open one trace and you see the exact request and the exact call that was slow.

Because the data is plain OpenTelemetry, there is nothing proprietary to install and nothing to rip out later. If you already use OpenTelemetry you change an endpoint and an API key.

Overview: requests, error rate, p95 and average latency, and the full latency distribution.

Start from the overview

The overview answers one question: how is everything doing right now compared with before? It shows requests, failed requests and their rate, latency percentiles and their change against the previous period. Below that you find the slowest, busiest and most error-prone endpoints and services, and a database summary. Every APM page can be narrowed to an environment and any time range up to 31 days.

The pages of APM

PageAnswers
OverviewHow is everything doing? Requests, latency percentiles, failures and their change, plus the slowest and busiest endpoints and services.
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 seven 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 seen in real traces.
InfrastructureCPU, memory and runtime metrics such as event-loop delay, heap and JVM next to the services that use them.
The service catalog: environment, health, request rate and p95 per service.

A catalog of every service

The Services page lists each service that has sent data, with its environment, runtime, version and a health label: healthy, warning, critical, no traffic or inactive. No traffic means the service reported but received no requests. Inactive means it stopped reporting.

Name each service after its application's slug and VitalRix links services to applications automatically, so an incident on your shop shows the shop's services.

Find the slow endpoint in seconds

Paths are normalized so that /users/123 and /users/456 become one endpoint, GET /users/:id. IDs, UUIDs, tokens, dates and emails are replaced, and query strings are never part of the name.

Sort by p95, p99 or error rate. An endpoint is flagged degraded when its p95 is at least 1.5 times, and at least 50 ms, above its own 7-day baseline. That means a route that has always been slow is not flagged, and a route that just got slower is, whatever its absolute number.

Each endpoint opens to its slowest and failed requests, so you go from "checkout is slow" to the request in two clicks.

Endpoints grouped by route with p50, p95 and p99 latency and error counts.
One request across the API gateway and a backend service, down to each database call.

From a chart to a single request

Every point on an APM chart leads to real traces. The waterfall shows each span indented under the span that called it, placed at the time it started. Self time shows how long a span worked on its own rather than waiting for its children, and a per-service breakdown shows where the total went. Select a span to read its attributes: HTTP method and status, database statement shape, errors and more.

If some spans never arrived, because they were sampled out or not yet exported, the trace is marked incomplete and the missing parents are listed, so you know the picture is partial rather than wrong.

Catch slow queries before users do

Database calls are grouped by statement shape, and the page ranks which ones cost the most total time. A query that takes 30 ms but runs 400 times per request outranks one that takes 300 ms once. Time spent waiting for a connection from the pool is shown separately from query time, so you can tell a slow query from a saturated pool.

Query values are never stored. Passwords, tokens, query-string values and SQL literals are removed before anything reaches storage.

Database calls: volume, p95 latency and slow calls over time.
A service map drawn from calls that actually happened.

See how services depend on each other

The service map is drawn only from relationships seen in real traces, so it cannot go stale the way a hand-drawn diagram does. Thicker lines mean more traffic and red marks failures. Databases appear as nodes. Click a service to open its detail page and check its upstream and downstream neighbours before blaming it for a problem that started elsewhere.

Errors become issues, not noise

Exceptions are grouped into issues: occurrences of the same exception type, the same message with IDs and numbers removed, and the same first application stack frame, in one service. You get trends, affected endpoints and versions, sampled stack traces and a link to the trace of each occurrence.

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

Error rate counts failed requests divided by requests. HTTP 4xx responses are client errors and are counted separately, not as failures.

  • Throughput and latency

    Requests per second and p50, p75, p90, p95 and p99 latency, compared with the previous period. Percentiles come from merged histograms, never averages of averages.

  • Deployments

    The first time a service.version value appears, it is shown as a deployment with latency and errors for up to an hour either side.

  • APM alerts

    Alert on p95 or p99 latency, error rate, failed requests, request count, traffic change, heartbeat age or database p95.

  • Privacy built in

    Authorization headers, tokens, passwords, query-string values and SQL values are removed before storage.

Releases and regressions

Send service.version, a release tag or a git commit, with your traces. The first time a version appears it is marked as a deployment, with latency and errors up to an hour before and after. VitalRix flags a possible regression when p95 rises by 25 percent and at least 25 ms, or when the error rate rises by two points. It shows that the change came after the deployment. It does not claim the deployment caused it, which is the honest thing a chart can say.

Connect your first service

VitalRix accepts OTLP over HTTP with JSON. Node.js and Next.js have copy-paste setups. Python, Java, Go, .NET, Ruby, PHP and others use the OpenTelemetry SDK or agent for their language and send to an OpenTelemetry Collector that you run next to your services. The Collector converts protobuf or gRPC to JSON, batches and retries.

  1. Create an API key. Go to Settings, then API keys, and choose the Trace ingestion preset. It can only write traces. Use one key per environment.
  2. Choose a service name. Use your application's slug so traces link to the application.
  3. Set the environment variables on the server. Never put the key in browser code or a NEXT_PUBLIC variable.
  4. Instrument the service. For Node.js, create an instrumentation file and start your app with node --import ./instrumentation.mjs server.js. For Next.js, add instrumentation.ts at the project root. HTTP, Express, PostgreSQL and outgoing fetch calls are traced automatically.
  5. Send a test span. Open APM, then Setup. It creates the key, fills your service name into each snippet, sends a test span and confirms live when your first data arrives.
  6. Make a few requests. Within a minute the service appears under APM, then Services, and its requests under Traces.

If you already use OpenTelemetry, point your exporter at VitalRix with the three standard variables below. Nothing else changes.

Standard OpenTelemetry variablesbash
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=https://api.vitalrix.com/api/v1/traces/otlp/v1/traces
OTEL_EXPORTER_OTLP_TRACES_HEADERS=x-api-key=pk_your_key
OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=http/json

Four resource attributes matter most.

AttributeUsed forRequired
service.nameThe service, and the link to an application with the same slug.Yes
deployment.environment.nameSeparating production, staging and development.Recommended
service.versionDeployment markers and before and after comparisons.Recommended
http.routeClean endpoint names. Without it VitalRix derives them from the URL path.Set by framework instrumentation

Four problems APM solves

The numbers below are examples to show the method, not benchmarks.

Best practices

  • Start at 100 percent sampling

    APM counts what you send. Lower TRACE_SAMPLE_RATE only for very high traffic, and remember a 10 percent sample shows 10 percent of the traffic.

  • Use the parent-based sampler everywhere

    A request that is sampled stays sampled across all services, so traces are whole instead of incomplete.

  • Always send service.version

    Deployment markers and regression flags depend on it. A git short hash is enough.

  • Name services after application slugs

    It links services, logs and incidents to the right application without manual mapping.

  • Alert on silence as well as slowness

    Add a request-count or heartbeat-age rule so a stopped service is noticed.

  • Keep keys on the server

    Use a write-traces-only key, one per environment, and rotate by creating a new key before revoking the old one.

Limits and what to know

  • Requests with errors are always kept by VitalRix, even when it stores only a share of the rest.
  • Each request can carry up to 10,000 spans and 5 MB. Over your organization's rate limit VitalRix answers 429 with Retry-After, and OpenTelemetry exporters retry by themselves.
  • Protocol. OTLP over HTTP with JSON only. SDKs that send protobuf or gRPC should go through the Collector.
  • The organization comes from the key. A request can never write into another organization.
  • Browsers. Use real user monitoring and session replay for browser data. Never put an API key in browser code.
  • Plan. APM is billed per host on paid plans and the free tier allows a small number of hosts. See pricing for current terms.

Troubleshooting

ProblemLikely causeFix
415 Unsupported Media TypeThe exporter sends protobuf or gRPC.Set the traces protocol to http/json, or send through the Collector with JSON encoding.
401 or 403The key is wrong, revoked or cannot write traces.Create a key with the Trace ingestion preset.
No service appearsThe SDK starts after your app, or the process exits before exporting.Load the instrumentation first and shut the SDK down on exit.
Express routes missing in a Node ES module appES modules are not patched without the hook.Keep the register line for the instrumentation hook.
Endpoints look like /users/123No route attribute is sent.Use framework instrumentation, which sets http.route.
A trace is marked incompleteSome spans were sampled out or are not exported yet.Use the parent-based sampler in every service and wait a few seconds.
429 Too Many RequestsYour organization exceeded its span budget.Exporters retry. For very high traffic lower the sample rate.

Glossary

TermMeaning
TraceThe record of one request through your system.
SpanOne unit of work inside a trace, such as an HTTP handler or a database call.
RequestAn incoming HTTP, RPC or message-consumer span received by a service.
Failed requestA request with an error status or an HTTP 5xx answer. 4xx is counted separately.
p95 and p99The latency that 95 or 99 percent of requests are faster than.
EndpointThe method and normalized route, such as GET /orders/:id.
IssueA group of the same exception in one service.
Degraded endpointAn endpoint whose p95 is at least 1.5 times and 50 ms above its own 7-day baseline.
Self timeTime a span spent in its own work, excluding time waiting for children.

Frequently asked questions

Do I need to install an agent?

No proprietary agent. APM uses the standard OpenTelemetry SDK for your language. Node.js and Next.js have copy-paste setups, and other languages send through an OpenTelemetry Collector.

Which languages are supported?

Any language with an OpenTelemetry SDK. Python, Java, Go, .NET, Ruby and PHP send through the Collector, which converts to the JSON form VitalRix accepts.

Will it slow my application down?

Spans are batched and the exporter queue is bounded, so requests never wait for it. You can also lower the sample rate for very busy services.

What does it store about my queries?

The shape of the statement, never the values. SQL literals, query-string values, tokens, passwords and authorization headers are removed before storage.

How are endpoints named?

From the http.route attribute when your framework sets it. Otherwise VitalRix derives the route from the path, replacing IDs, UUIDs, tokens, dates and emails.

Why do my numbers look lower than my real traffic?

APM counts what your services send. If your SDK samples 10 percent of requests, APM shows 10 percent of the traffic.

Is a regression flag proof the release broke things?

No. It shows that p95 or error rate moved after the deployment. It does not claim causation.

How do I separate production from staging?

Send deployment.environment.name and use one API key per environment. Every APM page can be filtered by environment.

Can I alert on APM metrics?

Yes. Create a rule with the APM metric condition and narrow it to a service, an environment or one endpoint.

How long can I look back?

Every APM page accepts a time range of up to 31 days.

Can I send traces from the browser?

No. Keys must stay on the server. For browsers use real user monitoring and session replay with a public site key that can only send data.

What happens if I send too much?

Over your organization rate limit VitalRix answers 429 with Retry-After, and OpenTelemetry exporters retry automatically.

Find the slow part of your app today

Create a free account, send your first trace and see your services in a few minutes.