• LATENCY
  • EVENTS
  • ROOT CAUSE
  • HUMAN

How to debug LLM latency spikes with your agent

Connect New Relic AI to your agent to pinpoint exactly which model calls are slowing down your application.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I find out why my LLM calls are slow?

Your agent pulls latency metrics and event logs to find the exact calls causing delays. You get a breakdown of performance bottlenecks and the specific event data tied to them.

Investigation outcomes

Where your data lands.

Your agent organizes your observability data into actionable categories.

LATENCY

Identify slow calls

Your agent uses latency metrics to find outliers. You see which specific model requests are exceeding your thresholds.

EVENTS

Trace specific errors

Your agent pulls event data to show what happened during a spike. You get the context needed to understand the failure.

ROOT CAUSE

Pinpoint the bottleneck

Your agent correlates timing data with event logs. You find if the delay is in the model, the network, or the payload.

HUMAN

Manual investigation

Your agent flags issues that require a deep dive in the New Relic dashboard. You decide when to move from chat to the full UI.

The workflow

What your agent does when the latency spike arrives.

Your agent acts as a bridge between your chat interface and your New Relic telemetry.

  1. Scan for delays

    Your agent checks your recent telemetry to find spikes in response times.

    query_llm_latency
  2. Inspect the logs

    It pulls the specific event data associated with those slow timestamps.

    query_llm_events
  3. Correlate data

    Your agent matches latency numbers against the event details to find patterns.

    query_llm_latencyquery_llm_events
  4. Summarize findings

    Your agent presents a clear list of the offending calls and their impact.

    query_llm_latency

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute New Relic AI tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to begin your investigation.

Starting points

Replace the bracketed text with your specific service names or time ranges.

New Relic AI Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_oqdaAroeFoXBv9yPI4WsHZZZZZuzqhwVoSn1YCyq/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, New Relic AI capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "new-relic-ai-llm-observability-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_oqdaAroeFoXBv9yPI4WsHZZZZZuzqhwVoSn1YCyq/mcp"
    }
  }
}
Copy into chat04
  • 01

    Show me the LLM latency spikes for the production-api service from the last hour.

  • 02

    Which specific model calls in the 'chat-completion' module had the highest latency today?

  • 03

    Find the event data for the latency spike that happened at 10:15 AM.

  • 04

    Compare the latency metrics for the GPT-based calls against the Llama-based calls in my recent logs.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect New Relic AI once, then ask.

One connection gives your agent access to your observability data. Your credentials stay encrypted and secure.

Connect New Relic AI to your agent

FAQ

How this task behaves.

  • 01

    Can your agent fix the latency issues automatically?

    No. Your agent only reads latency and event data to tell you what is happening. You have to implement the fix in your code.

  • 02

    Can your agent delete old telemetry data?

    No. Your agent only has permission to query data, not to modify or delete anything in New Relic.

  • 03

    Does your agent need my New Relic login?

    No. You connect the MCP through Vinkius, which handles the connection securely.

  • 04

    Can it see all my New Relic data?

    No. It can only access data related to LLM latency and events through the provided tools.

  • 05

    How does it know which calls are slow?

    It uses the latency tool to scan for response times that exceed your normal baseline.

  • More questions about New Relic AI? The Connector page answers them. See everything the New Relic AI Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from New Relic AI to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    New Relic AI plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect New Relic AI to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.