• DURATION
  • ISOLATION
  • BOTTLENECKS
  • HUMAN

How to calculate critical path duration with your agent

Connect your trace data once. From there, your agent handles the math to find bottlenecks and isolate latency.

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 the critical path and self-time in a trace?

Your agent identifies the longest sequence of dependent spans to determine the total critical path duration. It then subtracts child span time from parent spans to isolate the exact self-time for any specific part of the trace. You get a clear view of where the actual delay lives.

The results you get.

Where your trace data lands.

Your agent processes your OpenTelemetry data into these specific insights.

DURATION

Critical path totals

Your agent calculates the total time of the critical path. You see exactly how long the most time-consuming sequence took.

ISOLATION

Specific span self-time

Your agent strips away time spent in child spans. This leaves you with the true execution time for a single span.

BOTTLENECKS

Latency hotspots

Your agent flags which spans are actually driving the critical path duration. You find the specific points causing delays.

HUMAN

Manual code review

Your agent identifies the problematic spans. You then jump into your IDE to fix the logic or resource issues found.

The workflow

What your agent does when the trace arrives.

Your agent performs the math and logic that usually requires manual digging through trace trees.

  1. Path identification

    Your agent scans the trace structure to find the longest chain of dependent spans. This defines the critical path.

    analyze_trace_latency
  2. Time subtraction

    Your agent calculates self-time by subtracting the duration of all child spans from the parent span's total time.

    analyze_trace_latency
  3. Bottleneck detection

    Your agent compares span durations to find which specific nodes are responsible for the most latency.

    analyze_trace_latency
  4. Summary generation

    Your agent compiles the path duration and self-time data into a readable format for your review.

    analyze_trace_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 OpenTelemetry Trace Analyzer 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 trigger the analysis immediately.

Starting points

Swap the trace IDs or service names for your actual data.

OpenTelemetry Trace Analyzer Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_agOS3XqPfYKQCHw4us6xxbEWEsZ0GDWuybsYlRLe/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, OpenTelemetry Trace Analyzer capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "opentelemetry-trace-latency-analyzer-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_agOS3XqPfYKQCHw4us6xxbEWEsZ0GDWuybsYlRLe/mcp"
    }
  }
}
Copy into chat04
  • 01

    Calculate the critical path duration for trace ID 8f2a9b1c.

  • 02

    Find the self-time for the 'auth-service' span in this trace.

  • 03

    Which spans on the critical path are causing the most latency in trace 44d2e1?

  • 04

    Show me the total duration of the critical path for the checkout flow.

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

Start here

Connect OpenTelemetry Trace Latency Analyzer once, then ask.

One connection links your trace data to your AI client. The full capability list is on the Connector page.

Connect OpenTelemetry Trace Latency Analyzer to your agent

FAQ

How this task behaves.

  • 01

    Can your agent change my trace data?

    No. Your agent only reads the trace data to perform calculations. It cannot modify or delete your telemetry.

  • 02

    Does your agent automatically fix the slow code?

    No. Your agent identifies where the latency is, but you have to perform the actual code changes in your IDE.

  • 03

    Can I use this with any trace provider?

    Your agent works with any trace data that follows the OpenTelemetry standard.

  • 04

    Will it calculate the critical path for each trace automatically?

    No. You must explicitly ask your agent to perform the analysis for a specific trace or service.

  • 05

    Can your agent export these results to a database?

    No. Your agent provides the analysis within your chat interface. It does not have tools to write to external databases.

  • More questions about OpenTelemetry Trace Latency Analyzer? The Connector page answers them. See everything the OpenTelemetry Trace Latency Analyzer 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 OpenTelemetry Trace Analyzer 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.

    OpenTelemetry Trace Analyzer 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 OpenTelemetry Trace Analyzer 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.