Skip to main content

Incidents

AI Root Cause Hints

See how Pingara uses an AI model to suggest possible incident causes from a check's performance metrics, and how to read the hints beside your own checks.

5 min readUpdated November 24, 2026

root-causeaihintsperformance-metrics

When an incident occurs, the first question is always "why?" Pingara feeds the incident's performance metrics to a large language model, which suggests possible causes for the failure. Treat these as a starting point for your own investigation, not a verified explanation. See Limitations below.

How It Works

Data Collection

Every HTTP check captures a detailed performance breakdown:

MetricWhat It Measures
DNS lookup timeTime to resolve hostname to IP address
TCP connect timeTime to establish a TCP connection
TLS handshake timeTime to negotiate SSL/TLS (HTTPS only)
Time to first byte (TTFB)Time until the server starts sending data
Total durationFull request/response cycle time
Response sizeSize of the response body
Status codeHTTP response code
Error typeCategory of failure (if any)

AI Analysis

Hints are generated when you ask for them, not automatically when an incident opens. Press Get AI root cause hints on an incident (see Viewing Root Cause Hints below) and Pingara feeds these metrics into an AI model, which looks for patterns and returns possible-cause suggestions. Along with the measurements and any error message, the model receives the address being monitored, without its query string, port or login details, and with any IP address in the address or the error message replaced by a placeholder. The same applies to AI-written incident summaries. It is not sent your email address or other account details.

Input to the AI:

{
  "url": "https://example.com",
  "dnsLookupTime": 2500,
  "tcpConnectTime": 50,
  "tlsHandshakeTime": 120,
  "httpStatusCode": 0,
  "responseTime": 30000,
  "errorMessage": "DNS lookup failed: NXDOMAIN"
}

AI output:

Root cause hints:
1. DNS resolution failure. The domain could not be resolved.
   Possible causes: expired domain, misconfigured DNS records,
   DNS provider outage.
2. Check your domain registrar to confirm the domain hasn't expired.
3. Verify DNS records are correctly configured with your provider.

Interpreting Performance Metrics

Understanding what each metric tells you is key to effective troubleshooting.

DNS Lookup Time

Normal: 10–50ms Elevated: 200ms+ Failed: Returned error

SymptomLikely Cause
Slow (200ms+)DNS server overloaded or geographically distant
Very slow (1000ms+)DNS provider experiencing issues
Failed (NXDOMAIN)Domain doesn't exist or DNS misconfigured
Failed (SERVFAIL)DNS server error
Failed (timeout)DNS server unreachable

Action: Check your DNS provider's status page. Consider using a faster DNS provider or adding redundant DNS servers.

TCP Connect Time

Normal: 10–100ms (depends on geographic distance) Elevated: 500ms+

SymptomLikely Cause
SlowNetwork congestion between probe and server
Connection refusedServer is up but not accepting connections on that port
TimeoutServer unreachable, firewall blocking, or host down

Action: Check server firewall rules, verify the service is listening on the expected port, and check for network issues between the probe region and your server.

TLS Handshake Time

Normal: 50–200ms Elevated: 500ms+

SymptomLikely Cause
SlowServer CPU bottleneck during key exchange
Failed (expired)SSL certificate has expired
Failed (invalid)Certificate doesn't match hostname
Failed (self-signed)Certificate not trusted

Action: Check certificate validity, ensure your server supports modern TLS protocols, and consider enabling TLS session resumption.

Time to First Byte (TTFB)

Normal: 100–500ms Elevated: 1000ms+

TTFB is the most telling metric for backend performance because it includes:

  • Server processing time
  • Database query execution
  • External API calls
  • Cache lookups
SymptomLikely Cause
Consistently slowBackend performance issue (slow queries, missing cache)
Intermittently slowResource contention, garbage collection pauses
Very slow (5000ms+)Server overloaded, deadlock, or infinite loop

Action: Profile your backend application. Check database query performance, caching effectiveness, and server resource utilization.

Total Duration

The sum of all phases. If total duration exceeds your configured timeout, the check fails with a timeout error.

Common Root Cause Patterns

Pattern 1: DNS Failure

DNS: Failed | TCP: N/A | TLS: N/A | TTFB: N/A
Error: DNS lookup failed

Likely cause: Domain expired, DNS records deleted, or DNS provider outage.

Pattern 2: Server Unreachable

DNS: 25ms | TCP: Timeout | TLS: N/A | TTFB: N/A
Error: Connection timeout

Likely cause: Server is down, firewall blocking traffic, or network outage.

Pattern 3: SSL Certificate Issue

DNS: 30ms | TCP: 45ms | TLS: Failed | TTFB: N/A
Error: SSL certificate expired

Likely cause: Certificate expired and wasn't renewed. Check your certificate management process.

Pattern 4: Application Error

DNS: 20ms | TCP: 35ms | TLS: 150ms | TTFB: 80ms
Status: 503 Service Unavailable

Likely cause: Application crashed, deployment in progress, or backend dependency failure.

Pattern 5: Performance Degradation

DNS: 25ms | TCP: 40ms | TLS: 130ms | TTFB: 4500ms
Status: 200 (but very slow)

Likely cause: Database bottleneck, cache miss storm, or resource exhaustion.

Viewing Root Cause Hints

On the incident page

The incident page doesn't show root cause hints. Its AI-written incident summary section holds a different AI feature: a summary with a timeline, probable causes and recommendations, created automatically when an incident recovers on its own or when you press Generate summary. Like hints, nothing verifies it, so check it against your own investigation.

From the dashboard

  1. On the dashboard, find the incident in Recent incidents and click it to expand the row
  2. Click Get AI root cause hints

Hints generated this way are saved to the incident, so they're visible to everyone in your organization and survive navigating away and coming back. You don't need to regenerate them to see them again. Once hints exist, the button becomes Refresh AI hints; clicking it replaces the saved hints with a new set rather than adding to them. Hint generation is limited to 30 requests per hour per organization.

When AI access to account data is switched off

An owner or admin can switch off AI access to the organization's account data in Settings → Organization. While it is off, you cannot generate root cause hints or an AI-written incident summary: the button on the incident page and the dashboard stays in place and explains that your organization has switched it off. Pingara also does not create the AI-written incident summary automatically when an incident resolves, and does not write one later for an incident that resolved while it was off. Switching it back on starts summaries for later incidents only. See Switch off AI access to account data.

If Ara, Pingara's AI assistant, is open on an incident's page, it can read that incident's AI-written incident summary and describe its likely causes, as suggestions with the date they were written. See Ask Ara about your account.

Limitations

  • AI analysis is a suggestion, not a verified explanation. Nothing checks the model's output against what actually happened, and it is wrong often enough that you should treat it that way
  • Works best with clear failure patterns (DNS failure, timeout, 5xx errors)
  • May be less specific for intermittent or complex multi-service failures
  • Requires sufficient check result data for meaningful analysis

Best Practices

Combine AI Hints with Manual Investigation

Use root cause hints as a starting point, then verify with your own monitoring tools, server logs, and infrastructure dashboards.

Track Patterns Over Time

If the same root cause appears repeatedly:

  • DNS failures → Consider switching DNS providers
  • TLS issues → Automate certificate renewal (e.g., Let's Encrypt)
  • TTFB spikes → Invest in backend performance optimization

Share Analysis with Your Team

Root cause hints are not part of the AI-written incident summary, which is written from the incident's checks and does not use saved hints. Share both with your engineering team during post-mortem reviews to drive infrastructure improvements.

Next Steps

Related Articles

Incidents9 min

Understanding Incidents

Learn how Pingara detects outages, opens incidents once regions confirm a failure, manages the incident lifecycle and resolves them automatically on recovery.

Monitors8 min

HTTP/HTTPS Monitoring

Guide to HTTP and HTTPS monitoring in Pingara: methods, expected status codes, custom headers, keyword checks, SSL certificate tracking and redirects.

Monitors6 min

Apdex Scoring

Understand Apdex scoring in Pingara: how it measures user satisfaction, how to set the T threshold, read scores and spot performance degradation.