Release candidate

Eight calls. One would do.

WizeLens reads every request for the mistakes that slow real apps down. Queries and calls in a loop, the same query twice, slow queries, and pile-ups at the database. It ranks what it finds by the time it costs and says how to fix it. There is nothing to set up.

The WizeLens Insights page for RocketEase: 39 insights ranked by impact, with Excessive fetch requests open beside the list. Pattern GET api.linkedin.com/rest/organizations/{}, seen in 5 requests, 40 repeats, 8.03 s involved.
RocketEase · production
last 24 hours

Nobody asked for this list. WizeLens built it from RocketEase's own traffic and put the costliest problems first. The open one is a loop of calls to LinkedIn.

This is the loop it found.

The open insight, as one real request. Code like this passes review and every test, then costs more than a second on a real account.

One RocketEase trace, POST accounts/select, 2.36 s. After a few SQL queries it calls api.linkedin.com/rest/organizations eight times, each call starting when the one before it ends.
RocketEase · production
one request

Connecting a LinkedIn page. The request asks LinkedIn about each organization in turn, and each call waits for the one before it. The 8 calls take 1.37 s of the 2.36 s.

Why it matters

Every call pays the network and LinkedIn's own work, and the next call waits for it. More organizations make the request slower.

How to fix it

Ask for many ids in one call. Or cache the answers for the request. Or, if the calls cannot be merged, run them at the same time.

How to check

Open View example trace before and after the change. The 8 rows should become one, and new traces stop showing the insight.

What it looks for.

Plain rules with plain numbers. The same ones run in .NET, in Node, and on the hub and the cloud for Java, Python, and Go, so every service gives the same answer.

InsightWhen WizeLens flags itThe usual fix
N+1 queryThe same SQL statement runs 5 or more times in one trace, whatever its parameters.Load the rows with one query, using a join, IN (…), or your ORM's include.
N+1 HTTP call5 or more outgoing calls with the same method, host, and path shape. /orders/1 and /orders/2 count as the same.Add a batch endpoint, or ask for everything in one call.
Duplicate queryThe same statement with the same parameters runs 2 or more times in one trace.Keep the first result, or cache it for the request.
Slow queryOne query takes 100 ms or more.Read the query plan. Add an index, or ask for fewer rows.
Database wait3 or more slow queries that overlap in time. They count once, because they waited together.Look for locks, a full connection pool, or a busy database.
Render problemsA page renders a component too often, hydrates slowly, loads slow images, or shifts its layout.Send less JavaScript, give images a size, and keep props stable.

SET, BEGIN, COMMIT, and the other session statements never count. Change the 5 and the 100 for each project, or in code. The Insights docs have every setting.

Fixed means fixed.

On the hub and the cloud, an insight works like an error group. It stays closed until your code brings it back.

Mark fixed

Mark it fixed when the code changes. If the pattern comes back, the insight opens again as Regressed.

Dismiss

When a pattern is on purpose, hide it for 1 hour, 1 day, 1 week, or for good.

New in a release

Pick a service and a version to see only the insights that release brought in.

Assign and export

In the cloud, give an insight to someone on your team. Export the list as CSV.

When a whole service is off, it says why.

There is no threshold to set. WizeLens compares each hour with the same hour of the same weekday in the 4 weeks before. Services that go wrong together and call each other become one problem with one suspected cause. Plain statistics, with no AI inside.

The WizeLens Problems page for RocketEase: 1 ongoing problem, 24 in 7 days, 63 anomalies. The ongoing card reads p95 duration above normal on rocketease-worker and 3 more, 20 anomalies, with a new error as its suspected cause.
RocketEase · production
last 7 days

Google's mail servers began to answer RocketEase with 421 Try again later. The worker's p95 rose from a normal 0.9 s to 3.2 s. WizeLens put 20 anomalies on 4 services into one card and named the new error.

New release

A service began to send a new version just before the problem, and not in the week before.

New error

An error group that did not happen in the week before started with the problem.

Query

A query got slower, fails more, or runs far more often than normal.

Downstream service

A service the others call, and that calls none of them, is above normal too.

It shows up where you already look.

The same insights, from your browser while you build to your agent while you debug.

In the HUD

While you build, the corner of your page counts the insights of the request you just made.

On the trace

Each trace lists its own insights, so the pattern and its rows are on one page.

On the Insights page

Every insight, ranked by impact, with filters for service, release, area, and status.

In your AI tools

Claude and other agents ask for them over MCP, with find_n_plus_one and list_problems.

Find the N+1 in your own app.

Install the package, run your app, and open /_wizelens. Insights are on from the first request. Free and open source under MIT.