Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/guidewire-observability-and-incident-response

@0d57af8
Run it yourself

Operate a Guidewire Cloud API integration in production — define SLIs/SLOs for token availability, bind success rate, FNOL p99 latency; route alerts so the on-call gets paged for real outages and never for transient noise; triage 401 spikes, 409 storms, 429 saturation, scope drift, and Gosu OOM cascades from signal to recovery in 15 minutes or less. Use when designing a dashboard for a new integration, writing the on-call runbook, or running a post-incident review. Trigger with "guidewire observability", "guidewire slo", "guidewire on-call", "guidewire 401 spike", "guidewire 409 storm", "guidewire incident".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/guidewire-observability-and-incident-response

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesimplementation-guide.md

≈1.4k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Observability & Incident Response — Implementation Guide

Extended walkthrough and supplementary patterns for the SKILL.md.

RED method vs USE method

Two complementary instrumentation philosophies; use both, applied to different layers.

RED (Rate, Errors, Duration) — applied at the request layer (HTTP, message-queue consumer, business-event handler). For every request type, track:

  • Rate: requests per second
  • Errors: error rate (separated by class — caller error vs server error vs external)
  • Duration: latency distribution (p50, p95, p99)

USE (Utilization, Saturation, Errors) — applied at the resource layer (CPU, memory, threads, DB connections, JVM heap). For every resource, track:

  • Utilization: percentage of resource consumed
  • Saturation: queue depth or backlog
  • Errors: resource-level failures

A Guidewire integration's full instrumentation:

Layer Method Examples
Inbound HTTP / event consumer RED FNOL intake rate, error rate by class, p99 latency
Outbound Cloud API RED per-endpoint rate, status-class breakdown, duration
Token cache USE utilization (cache age), errors (refresh failures)
Database connection pool USE active vs total, queue depth, acquisition timeout count
JVM USE heap %, GC pause time, thread count

Multi-tenant SLO budgets

When tenants have different SLO targets, the alert thresholds must partition. A naive global alert pages when the tier-3 tenant misbehaves and the tier-1 tenant is fine.

- alert: GwAuthFastBurnTier1
  expr: |
    {tenant=~"acme|globex"} (1 - sli_token_availability) > (1 - 0.9995) * 14.4
- alert: GwAuthFastBurnTier3
  expr: |
    {tenant=~"smallco|microco"} (1 - sli_token_availability) > (1 - 0.99) * 14.4

Per-tenant on-call rotations can also apply: a tier-1 tenant's incidents page the platform team and the customer's TAM; a tier-3 incident pages only the platform team.

Chaos engineering for token-cache resilience

Once a quarter, kill the token cache mid-traffic and verify the integration recovers without manual intervention. The single-flight gate, the proactive refresh window, and the rate-of-Hub-calls metric should all behave correctly.

# Datadog: drop a synthetic token expiry
kubectl exec deployment/integration -- /control kill-token-cache
# Watch: no 429 from Hub, no 401 spike on Cloud API, p99 latency stable

If any of those fail, the auth layer has a bug; the chaos test caught what production traffic eventually would.

Distributed tracing across the workflow

Every Cloud API call should carry the originating correlation_id as a header (e.g., X-Correlation-Id or W3C traceparent). The integration's tracing backend then shows the full span from inbound user action through every Cloud API call to final response.

const traceparent = ctx.traceparent ?? generateTraceparent();
const res = await fetch(`${BASE}${path}`, {
  headers: { 
    Authorization: `Bearer ${await getToken()}`,
    "X-Correlation-Id": ctx.correlationId,
    traceparent,
  },
});

Without distributed tracing, debugging "why did this submission take 45 seconds" requires correlating timestamps by hand across three log streams. With tracing, it's one screen.

On-call rotation hygiene

Practice Why
Rotation length: 1 week shorter is too disruptive, longer accumulates fatigue
Hand-off doc: 5 minutes Friday what's outstanding, what's noisy, what's quiet
Quarterly tabletop incident practice the runbook before the real incident
Blameless PIR culture action items, not finger-pointing
On-call gets to drive their own action items the person paged twice has the most incentive to fix it

Cost-of-incident calculation

For prioritizing PIR action items, compute the rough cost of each incident class:

cost = (incidents/quarter) × (avg duration) × (impacted requests/min) × (cost per impacted request)

cost per impacted request includes customer-experience cost (broker abandons quote), regulatory cost (NAIC disclosure), and operational cost (engineer hours during incident). Action items below ~$10K/quarter cost rarely justify the engineering hours; above that, fix it now.

Incident communication template

**Incident**: [SEV-1] Guidewire integration auth failures
**Status**: Investigating | Identified | Mitigating | Monitoring | Resolved
**Impact**: <user-visible description>
**Affected tenants**: <list or "all">
**Started**: HH:MM UTC
**Last update**: HH:MM UTC
**Next update**: HH:MM UTC

<summary of what we know and what we're doing>

Update every 15 minutes during active incident; final post-resolution summary within 1 hour. Public-facing communication for customer-impacting incidents needs legal/comms review per the carrier's external-comms policy.

SLO review cadence

Cadence Activity
Weekly review burn rate of every SLI; investigate any SLI burning >50% of monthly budget
Monthly review action-item closure from PIRs; aged items get surfaced
Quarterly review SLI definitions — are we still measuring what users care about
Annually review SLO targets — are they too lax (we always meet) or too aggressive (constantly missing)

Related

  • SKILL.md — production patterns
  • references/API_REFERENCE.md — SLI queries, alert templates, runbook format, common-errors table
  • Sibling guidewire-install-auth — auth signals this skill consumes
  • Sibling guidewire-security-and-rbac — integration_audit table this skill queries

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides comprehensive instructions for Guidewire Cloud observability and incident response. It is well-documented and uses standard tools and practices for site reliability engineering. No malicious patterns were detected.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 months ago
What it can do
Reads files Edits files Runs commands
version
1.26.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
compatibility
Designed for Claude Code
All 7 allowed tools
ReadWriteEditBash(curl:*)Bash(jq:*)GrepGlob
Other metadata
tags
[
  "guidewire",
  "observability",
  "sli-slo",
  "incident-response",
  "on-call",
  "runbook"
]

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/guidewire-observability-and-incident-response