instrumentation-planner-eng
Agent: Sr. Backend Developer
L3 senior backend developer (Nx) responsible for third-party integrations, instrumentation, building backend services, and security review.
Department ethos: ideal-engineering.md
Skill Description
Plans the logging, metrics, and tracing instrumentation required for service observability, defining what to measure, where to instrument, and how to alert before implementation begins.
When to Use
- A new service is entering development and needs an observability strategy from day one.
- An incident retrospective identifies gaps in logging, metrics, or tracing that delayed diagnosis.
- SLO definitions require new service-level indicators that are not currently measured.
- A service is being decomposed from a monolith and needs independent observability.
- The team is adopting a new observability stack and needs to re-plan instrumentation.
Workflow
- Map service boundaries: Identify all entry points, exit points, internal components, and external dependencies of the target service. Deliverable: service dependency diagram with instrumentation attachment points.
- Define SLIs and SLOs: Specify the service-level indicators (latency, error rate, throughput) and their target SLOs. Deliverable: SLI/SLO definition table.
- Plan structured logging: Determine log events, structured fields, log levels, and retention requirements for each component. Deliverable: logging specification per component.
- Design metrics: Define counters, histograms, and gauges with label schemas, aggregation windows, and alert thresholds. Deliverable: metric catalog with label cardinality estimates.
- Design trace spans: Map the distributed trace topology, define span names, attributes, and context propagation points. Deliverable: trace topology diagram with span definitions.
- Plan alerting rules: Define alert conditions, severity levels, runbook links, and escalation paths for each SLO. Deliverable: alerting rule specifications.
- Document the plan: Compile all specifications into an instrumentation plan document for the implementer. Deliverable: approved instrumentation plan.
Anti-Patterns
- Planning after launch. Designing observability after deployment means the first incident hits without visibility. Why: instrumentation built under incident pressure is reactive and incomplete.
- Metric sprawl without purpose. Planning metrics for every possible measurement without tying them to SLOs or debugging scenarios creates noise. Why: unused metrics waste storage and distract from signals that matter.
- Ignoring cardinality. Defining label schemas without estimating cardinality leads to metric backend failures at scale. Why: high-cardinality labels are the most common cause of monitoring infrastructure overload.
- Logging as the only strategy. Relying exclusively on logs without metrics or traces makes aggregate analysis and request-path debugging impractical. Why: each observability pillar answers different questions; logs alone cannot replace metrics dashboards or trace waterfalls.
Output
On success: Produces an instrumentation plan containing SLI/SLO definitions, a logging specification, a metric catalog, a trace topology diagram, and alerting rule specifications. Delivered to the instrumentation implementer for codification.
On failure: Report which service boundaries could not be mapped (e.g., undocumented dependencies, third-party black boxes), what partial plan was produced, and what information is needed to complete the plan.
Related Skills
1---2name: instrumentation-planner-eng3description: This skill plans the logging, metrics, and tracing instrumentation required for observability. Use when asked to design an observability strategy, define SLIs, or plan monitoring for a new service. Also consider when an incident reveals observability blind spots. Suggest when a new service enters development without an observability plan.4---56# instrumentation-planner-eng78## Agent: Sr. Backend Developer910L3 senior backend developer (Nx) responsible for third-party integrations, instrumentation, building backend services, and security review.1112Department ethos: [ideal-engineering.md](../../../../departments/engineering/ideal-engineering.md)1314## Skill Description1516Plans the logging, metrics, and tracing instrumentation required for service observability, defining what to measure, where to instrument, and how to alert before implementation begins.1718## When to Use1920- A new service is entering development and needs an observability strategy from day one.21- An incident retrospective identifies gaps in logging, metrics, or tracing that delayed diagnosis.22- SLO definitions require new service-level indicators that are not currently measured.23- A service is being decomposed from a monolith and needs independent observability.24- The team is adopting a new observability stack and needs to re-plan instrumentation.2526## Workflow27281. **Map service boundaries**: Identify all entry points, exit points, internal components, and external dependencies of the target service. Deliverable: service dependency diagram with instrumentation attachment points.292. **Define SLIs and SLOs**: Specify the service-level indicators (latency, error rate, throughput) and their target SLOs. Deliverable: SLI/SLO definition table.303. **Plan structured logging**: Determine log events, structured fields, log levels, and retention requirements for each component. Deliverable: logging specification per component.314. **Design metrics**: Define counters, histograms, and gauges with label schemas, aggregation windows, and alert thresholds. Deliverable: metric catalog with label cardinality estimates.325. **Design trace spans**: Map the distributed trace topology, define span names, attributes, and context propagation points. Deliverable: trace topology diagram with span definitions.336. **Plan alerting rules**: Define alert conditions, severity levels, runbook links, and escalation paths for each SLO. Deliverable: alerting rule specifications.347. **Document the plan**: Compile all specifications into an instrumentation plan document for the implementer. Deliverable: approved instrumentation plan.3536## Anti-Patterns3738- **Planning after launch.** Designing observability after deployment means the first incident hits without visibility. *Why*: instrumentation built under incident pressure is reactive and incomplete.39- **Metric sprawl without purpose.** Planning metrics for every possible measurement without tying them to SLOs or debugging scenarios creates noise. *Why*: unused metrics waste storage and distract from signals that matter.40- **Ignoring cardinality.** Defining label schemas without estimating cardinality leads to metric backend failures at scale. *Why*: high-cardinality labels are the most common cause of monitoring infrastructure overload.41- **Logging as the only strategy.** Relying exclusively on logs without metrics or traces makes aggregate analysis and request-path debugging impractical. *Why*: each observability pillar answers different questions; logs alone cannot replace metrics dashboards or trace waterfalls.4243## Output4445**On success**: Produces an instrumentation plan containing SLI/SLO definitions, a logging specification, a metric catalog, a trace topology diagram, and alerting rule specifications. Delivered to the instrumentation implementer for codification.4647**On failure**: Report which service boundaries could not be mapped (e.g., undocumented dependencies, third-party black boxes), what partial plan was produced, and what information is needed to complete the plan.4849## Related Skills5051- [`instrumentation-implementer`](../instrumentation-implementer/SKILL.md) -- implements the plan this skill produces.52- [`builder`](../builder/SKILL.md) -- builds the services that this plan targets for instrumentation.53- [`data-model-designer`](../../../engineering/database-expert/data-model-designer/SKILL.md) -- designs data models whose query performance may need observability coverage.