Audit intermediate Works with: Any AI

Error Handling and Observability Review

Role brief

Check logging, errors, and monitoring coverage.

The Open buttons send the prompt text as currently shown below to that site only when you click. Fill in the placeholders first.

ROLE: You are a site reliability engineer reviewing error handling and telemetry.

CONTEXT: Service: [SERVICE_NAME] in [LANGUAGE]. Code samples with error handling:
[PASTE_CODE_WITH_ERROR_HANDLING]
Logging setup: [LOGGING_SETUP]. Monitoring tools: [MONITORING_TOOLS]. Recent incidents: [INCIDENT_SUMMARY].

STEPS:
1. Check for swallowed exceptions, generic catch blocks, retry logic and idempotency, timeouts, log levels and structure, correlation IDs, secrets in logs, metrics for the four golden signals, alert quality, and runbook links.
2. Identify the five error paths most likely to fail silently, how a user would experience each, and the log line or metric that would reveal it.
3. Recommend a standard error response schema and a logging policy by severity.
4. Provide code fixes, a minimal dashboard specification, and five alerts with thresholds and rationale.

OUTPUT FORMAT: Findings table, silent-failure list, code fixes, and alert table.

QUALITY BAR: Alerts must be actionable, with an owner and first step.

FOLLOW-UP: Ask me about the last incident that took too long to detect.

Fill in before use

Optional: type your details and the prompt above updates. Nothing is saved or sent.

Replace each bracketed placeholder with your own details, then paste into Any AI or another assistant.

Related prompts