opensearch-project/agent-health/setup-collector
Claude Code and agent skill by opensearch-project/agent-health
- community
Checking that the SKILL.md file is still in the repository.
Set up an OpenTelemetry collector or OSIS pipeline to route traces from an agent to OpenSearch for Agent Health consumption. Covers OSIS, OTel Collector, and direct export configurations.
Install
npx vskill@latest install opensearch-project/agent-health/setup-collectorSKILL.md
Set Up Trace Collection Pipeline
You are helping the user configure a pipeline to get their agent's OTel traces into OpenSearch where Agent Health can read them.
Architecture Options
Three pipeline options:
| Option | Best For | Complexity | |
|---|---|---|---|
| OSIS (OpenSearch Ingestion) | AWS-managed, production | Low (managed) | |
| OTel Collector | Self-hosted, flexible routing | Medium | |
| Direct export | Dev/testing only | Lowest |
Option 1: OSIS Pipeline (Recommended for AWS)
Prerequisites
- AWS account with OSIS access
- OpenSearch domain (managed or serverless)
Pipeline Configuration
Agent Configuration
Option 2: OTel Collector (Self-hosted)
docker-compose.yml
otel-config.yaml
Agent Configuration
Option 3: Direct Export (Dev Only)
Export directly to OpenSearch Data Prepper format. Not recommended for production (no batching, no retry).
Agent Health Configuration
Once traces are flowing to OpenSearch, configure Agent Health to read them:
Verification Checklist
- Agent sends spans: Check agent logs for "telemetry enabled" message
- Pipeline receives: Check OSIS/Collector metrics for incoming spans
- OpenSearch has data: Query
otel-v1-apm-span-*index - Agent Health sees traces: Open Traces tab, verify spans appear with correct categorization
Troubleshooting
| Issue | Check | |
|---|---|---|
| No spans arriving | Is OTEL_EXPORTER_OTLP_ENDPOINT correct? Is the agent calling provider.register()? | |
| Spans in OS but not in Agent Health | Check index pattern matches what Agent Health queries (otel-v1-apm-span-*) | |
| Auth errors | Check IAM role for OSIS, or username/password for basic auth | |
| Spans arrive but incomplete | Ensure provider.shutdown() is called on agent exit (flushes batch) |
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingobservio-sample-agent/pi-package/skills/setup-collector/SKILL.md
Popularity
- Repository stars
- 35
- Repository forks
- 28
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/opensearch-project/agent-health/setup-collector)