cd /news/developer-tools/one-npx-command-to-see-why-your-webs… · home › topics › developer-tools › article
[ARTICLE · art-144298] src=dev.to ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

One npx command to see why your website is slow (New Relic + Sentry on localhost)

A developer has released MetricFlow, an open-source local dashboard that runs via a single npx command and displays New Relic real-user performance metrics alongside Sentry JavaScript errors per page. The tool requires users to supply their own New Relic and Sentry API keys, keeps all data on the local machine, and optionally uses Gemini, Claude or OpenAI to generate prioritized fix suggestions. It is described as early, work-in-progress software requiring Node >=20.12.

by read2 min views1 publishedOct 3, 2026

I'm building MetricFlow, a performance dashboard for your website that runs on your own machine. It shows real-user metrics from New Relic and JavaScript errors from Sentry side by side, per page, and can suggest what to fix first.

That opens a dashboard at http://localhost:3000. There is no MetricFlow server and no account to create. Your keys stay on your machine.

Status: early, work in progress. Things will change, and feedback is very welcome.

Sample data, not real numbers.

#

What you get

Performance hub: every tracked page with its health (Healthy, Warning or Critical) and a detail view per page. #

Tool pages: New Relic numbers only, or Sentry errors only, per page. #

AI suggestions (optional): Gemini, Claude or OpenAI turns your numbers into a short "fix this first" list. Bring your own key.

#

Try it in four steps 1. Start it:npx @karan171996/metricflow . The first run shows "Connect your data". 2. Add your keys: a New Relic User API key and account ID, and a Sentry auth token, organization slug and project slug. Paste them on the Setup page or put them in a.env.local file. 3. Send data from your site: MetricFlow only reads. The/connect page gives you copy-paste snippets for the New Relic Browser agent and Sentry. 4. Check that data arrives: the same page shows a row per source that turns green when events come in. Then open the dashboard.

You need Node >=20.12. New Relic and Sentry both have free plans, which is enough to try it.

#

Good to know

  • It is early software. Expect rough edges.
  • It is a local tool, not a hosted service. It runs on your machine while you use it.
  • Everything runs with your own keys, and nothing is sent anywhere except to New Relic, Sentry and, if you turn it on, your chosen AI provider.

#

  Try it and tell me what you think

If you run it against your own site, I'd like to hear what was confusing in setup and which numbers you expected to see and didn't. Leave a comment below.
── more in #developer-tools 4 stories · sorted by recency
── more on @metricflow 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/one-npx-command-to-s…] indexed:0 read:2min 2026-10-03 · —