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.
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.
| Page | Answers |
|---|---|
| Overview | How is everything doing? Requests, latency percentiles, failures and their change, plus the slowest and busiest endpoints and services. |
| Services | Which services report, their runtime and version, and their health: healthy, warning, critical, no traffic or inactive. |
| Service detail | One service in one environment: traffic, latency and errors over time, endpoints, instances, deployments, upstream and downstream services, databases and top issues. |
| Endpoints | Which 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. |
| Errors | Exceptions grouped into issues, with trends, affected endpoints and versions, sampled stack traces and links to the traces. |
| Database | Which queries take the most total time, their latency, and time spent waiting for a connection from the pool. |
| Service map | Which services call which, and which databases they use, as seen in real traces. |
| Infrastructure | CPU, memory and runtime metrics such as event-loop delay, heap and JVM next to the services that use them. |
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.
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.
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.
- 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.
- Choose a service name. Use your application's slug so traces link to the application.
- Set the environment variables on the server. Never put the key in browser code or a NEXT_PUBLIC variable.
- 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.
- 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.
- 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.
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/jsonFour resource attributes matter most.
| Attribute | Used for | Required |
|---|---|---|
| service.name | The service, and the link to an application with the same slug. | Yes |
| deployment.environment.name | Separating production, staging and development. | Recommended |
| service.version | Deployment markers and before and after comparisons. | Recommended |
| http.route | Clean endpoint names. Without it VitalRix derives them from the URL path. | Set by framework instrumentation |
Checkout got slower after Tuesday's release
The overview shows p95 up from 420 ms to 910 ms. A new version marker appears on Tuesday at 14:10 and VitalRix flags a possible regression. The endpoint page lists POST /orders as degraded. The slowest trace shows eleven identical SELECT calls in a loop: an N+1 query. Fix, deploy, and the next version marker shows p95 back near 450 ms.
One endpoint throws 5xx for 2 percent of requests
The Errors page groups the failures into one issue with a stack trace pointing to a null payment token. The affected-versions list shows it began with one release. You mark it resolved after the fix and see it stay quiet for a week.
The database is busy but nothing looks slow
The Database page ranks one statement by total time: 18 ms each, but called 600 times a minute. The pool wait chart is high too. Adding a cache for that lookup cuts total database time by more than half.
A service silently stops sending data
An alert rule on heartbeat age fires when the notifications service has not reported for five minutes. Latency rules cannot fire on silence, so this is the rule that catches a crashed worker.
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.
| Problem | Likely cause | Fix |
|---|---|---|
| 415 Unsupported Media Type | The exporter sends protobuf or gRPC. | Set the traces protocol to http/json, or send through the Collector with JSON encoding. |
| 401 or 403 | The key is wrong, revoked or cannot write traces. | Create a key with the Trace ingestion preset. |
| No service appears | The 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 app | ES modules are not patched without the hook. | Keep the register line for the instrumentation hook. |
| Endpoints look like /users/123 | No route attribute is sent. | Use framework instrumentation, which sets http.route. |
| A trace is marked incomplete | Some 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 Requests | Your organization exceeded its span budget. | Exporters retry. For very high traffic lower the sample rate. |
Logs, metrics and traces
Jump from a slow trace to the log lines of that request.
Error tracking
Issue grouping, regressions and links to traces.
OpenTelemetry
How VitalRix ingests OTLP and what to configure.
Infrastructure
Host CPU and memory next to the services on them.
SLOs
Error budgets from request success and latency.
Alerts and incidents
Rules on latency, error rate and silence.
| Term | Meaning |
|---|---|
| Trace | The record of one request through your system. |
| Span | One unit of work inside a trace, such as an HTTP handler or a database call. |
| Request | An incoming HTTP, RPC or message-consumer span received by a service. |
| Failed request | A request with an error status or an HTTP 5xx answer. 4xx is counted separately. |
| p95 and p99 | The latency that 95 or 99 percent of requests are faster than. |
| Endpoint | The method and normalized route, such as GET /orders/:id. |
| Issue | A group of the same exception in one service. |
| Degraded endpoint | An endpoint whose p95 is at least 1.5 times and 50 ms above its own 7-day baseline. |
| Self time | Time a span spent in its own work, excluding time waiting for children. |
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.