Agent skill

instrumentation-planning

Plan backend observability using RED + USE + 4 Golden Signals + JTBD

Stars 1
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/nexus-labs-automation/backend-observability/tree/main/skills/instrumentation-planning

SKILL.md

Instrumentation Planning

"What job is this telemetry helping someone accomplish?"

Every metric/span should answer a job. If you can't name the job, don't add the telemetry.

Framework Selection

Service Type Use
HTTP/gRPC APIs RED (Rate, Errors, Duration)
Resources (pools, memory) USE (Utilization, Saturation, Errors)
Comprehensive SRE 4 Golden Signals

Prioritization Tiers

Tier What Examples
T0: Foundation Must have Service tags, HTTP middleware, error tracking, health checks
T1: Performance Should have RED per endpoint, DB tracing, external service spans, context propagation
T2: Resources Should have USE for pools, memory/GC, queue depth
T3: Business Nice to have JTBD tags, user tier, feature flags
T4: Resilience Nice to have Circuit breaker state, retry counts, timeouts

JTBD Context

Link observability to user value:

Job Success Failure Friction
"Place order" Order created <2s Order error Retries >0, duration >5s
"Process payment" Payment success Declined Gateway timeout

Anti-Patterns

  • Measure everything → Noise, cost, no signal
  • High-cardinality labels → User IDs explode storage
  • 100% sampling → Unnecessary overhead
  • Missing context → Can't debug without job/step

Output

Present prioritized instrumentation plan organized by tier, with specific metrics and implementation order.

References

Load based on need:

  • references/methodology/red-methodology.md
  • references/methodology/use-methodology.md
  • references/methodology/four-golden-signals.md
  • references/methodology/jtbd-for-backend.md

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results