netra-integration-patterns
Netra Integration Patterns
Use this skill to choose a practical integration pattern and implement it with low-risk defaults.
Supported Scenarios
- RAG pipelines with vector DB + LLM instrumentation.
- FastAPI request handlers with context and guardrails.
- Multi-agent orchestration with workflow/agent decorators.
- Batch processing with per-item custom spans.
- Streaming responses with active span lifecycle through iteration.
Procedure
- Choose the closest scenario pattern.
- Initialize Netra once at startup with required instruments.
- Apply decorators to workflow boundaries.
- Add request context and security pipeline where needed.
- Add custom spans only for external boundaries not already covered.
- Validate traces for hierarchy and error visibility.
More from keyvaluesoftwaresystems/netra-skills
netra-best-practices
Code-first Netra best-practices playbook covering setup, instrumentation, context tracking, custom spans/metrics, integration patterns, evaluation, simulation, and troubleshooting.
34netra-mcp-usage
Netra MCP trace-debugging workflow focused on query_traces, get_trace_by_id, and get_session_details, including exact input parameters, filter schema, operators, sorting, and pagination patterns.
19netra-simulation-setup
Set up Netra multi-turn simulations with scenario definitions, personas, fact checkers, evaluator configuration, and test-run analysis. Use to validate agent behavior before production.
4netra-evaluation-setup
Set up high-quality Netra evaluations with datasets, evaluator design, variable mapping, and repeatable test runs. Use for regression detection and quality benchmarking.
4netra-decorator-instrumentation
Create custom Netra tracing instrumentation using decorators. Use when choosing between auto-instrumentation, decorators, and manual tracing in Python or TypeScript, with clear semantic span design.
3netra-setup
Install and initialize the Netra SDK with environment-safe defaults, instrument selection, and shutdown handling.
2