instrument-with-sazabi
하는 일
이 스킬은 앱의 로그와 추적이 Sazabi에 도착하도록 설정합니다. 저장소에 비밀 정보를 넣지 않고 서비스를 Sazabi에서 보고 싶은 개발자를 위한 스킬입니다.
사용하는 경우
- ✓앱이나 서비스를 Sazabi에 연결하고 싶을 때.
- ✓프로젝트에 OpenTelemetry 로깅이나 추적을 추가하고 싶은 경우.
- ✓Sazabi에 서비스의 데이터가 전혀 없어서 원인을 찾아야 할 때.
스킬 링크
https://github.com/ParadevAI/Paradev/blob/main/plugins/sazabi/skills/instrument-with-sazabi/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Node API를 OpenTelemetry로 Sazabi에 연결하고, 첫 로그가 도착하는지 확인해 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 Sazabi에서 수집 주소를 받아 코드가 아니라 환경 변수에 저장합니다. 앱 언어에 맞는 공식 OpenTelemetry SDK를 설정하고, 첫 기록이 도착했는지 확인한 뒤 작업을 완료로 봅니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Data in, proven
Sazabi can only answer questions about telemetry it receives. The job is to make the app export logs and traces over OpenTelemetry to the user's Sazabi project, with no secrets in the repo, and to show the first records arriving.
0. How the tools work
The Sazabi MCP server lists only two tools, search and execute. Browse
Sazabi's operations with search and namespace: "sazabi" (an empty query
without a namespace lists connected connectors, not Sazabi operations). Before
calling one, repeat search with namespace: "sazabi", the hit's full name as
the query, and includeInputSchema: true to load its arguments. Then run it
with execute as { name, arguments }, the name copied from the hit (for
example sazabi/logs.ask).
1. Get an intake URL
Run sazabi/logSources.list first; an OpenTelemetry source may already exist
for this project. If not, sazabi/logSources.create in manual mode for an
OpenTelemetry source returns the intake endpoint to point the sender at. The
intake URL embeds a write-only public key, so it needs no auth header, but it
still belongs in an environment variable or secret store, not in committed
code. Metrics go to the separate OpenTelemetry Metrics source, which has its
own intake path.
2. Wire the SDK
Use the official OpenTelemetry SDK for the runtime and initialize it before the app handles requests:
- Node.js:
@opentelemetry/sdk-node,@opentelemetry/auto-instrumentations-node,@opentelemetry/exporter-trace-otlp-proto,@opentelemetry/exporter-logs-otlp-protoand@opentelemetry/sdk-logs. Auto-instrumentation exports traces but not logs, so add aBatchLogRecordProcessorwith anOTLPLogExporter, and bridge the app's existing logger (pino, winston) instead of replacing it. - Python:
opentelemetry-distroandopentelemetry-exporter-otlp-proto-http, thenopentelemetry-bootstrap -a install, and enable the logging handler. - Other runtimes: the standard OTLP/HTTP exporter for that SDK.
Configure through the standard environment variables, set in the process that runs the app (not only at build time or in CI):
OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
OTEL_EXPORTER_OTLP_ENDPOINT=<intake URL>
OTEL_SERVICE_NAME=<service name>
Set OTEL_SERVICE_NAME and deployment.environment so every record says
which service and environment it came from. Add the variable names to
.env.example or the deploy config, with the value left to the user.
3. Prove it
Run the app (or deploy it), make a request, then ask Sazabi with
sazabi/logs.ask: "how many records from service <name> in the last 15
minutes". Records usually show up within a minute or two. If none arrive,
check that the variables are set in the running process, that the URL has its
https:// scheme, and the app's output for SDK initialization errors.
4. Hand off
Commit on a branch and open a pull request. Say which signals are flowing (logs, traces), which service name to search for, and which variables the user must set in each environment.
Anti-patterns
- Committing the intake URL. It is a write key; keep it in configuration.
- Traces only. Most debugging starts from log lines; export both.
- Calling it done before a record arrives. Configuration that has never delivered a record is a guess.
자주 묻는 질문
Sazabi 주소가 제 코드에 들어가나요?
아니요. 스킬은 커밋된 코드가 아니라 환경 변수나 비밀 정보 저장소에 저장합니다.
어떤 SDK를 쓰나요?
앱이 실행되는 언어에 맞는 공식 OpenTelemetry SDK를 씁니다.
작동하는지 어떻게 아나요?
설정을 끝냈다고 보기 전에, 첫 기록이 Sazabi에 도착했는지 확인합니다.
상세 정보
작성자의 원본 설명
Get an application's logs and traces into Sazabi with OpenTelemetry — pick the SDK for the runtime, export over OTLP/HTTP to a Sazabi intake URL kept in an environment variable, and prove data arrives before calling it done. Use when the user wants to connect an app or service to Sazabi, add OpenTelemetry, set up logging or tracing, or asks why Sazabi shows no data for a service.
repo: ParadevAI/Paradev
인기도
- GitHub 스타
- 16k
- 순위
- #10843
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
decide
16k설계나 코드 결정을 하나씩 짚어 가며, 명확한 선택지와 추천을 보여 줍니다. 각 답변은 기록되고, 마지막에 요약이 제공됩니다.
mobile-demo-film
16k휴대폰 화면 녹화를 제목 카드와 휴대폰 프레임이 있는 데모 영상으로 바꿉니다. 기능 시연과 출시 클립에 좋습니다.
redesign
16k기존 인터페이스 구성 요소를 검토해 간격, 대비, 계층, 레이아웃에 대한 구체적인 시각 개선안을 제안합니다. 변경도 적용할 수 있습니다.
superset-settings
16k에이전트가 테마, 글꼴, 알림 같은 Paradev 데스크톱 앱의 설정을 명령줄에서 보고 바꾸도록 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.