instrument-with-sazabi
O que ela faz
Esta skill configura um app para que seus logs e traces cheguem ao Sazabi. É para desenvolvedores que querem seus serviços visíveis no Sazabi sem colocar segredos no repositório.
Quando usar
- ✓Quando você quer conectar um app ou serviço ao Sazabi.
- ✓Quando você quer adicionar logs ou rastreamento com OpenTelemetry a um projeto.
- ✓Quando o Sazabi não mostra dados de um serviço e você precisa descobrir por quê.
Link da skill
https://github.com/ParadevAI/Paradev/blob/main/plugins/sazabi/skills/instrument-with-sazabi/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Conecte minha API Node ao Sazabi com OpenTelemetry e confirme que os primeiros logs chegam.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente obtém o endereço de ingestão do Sazabi e o guarda em uma variável de ambiente, não no código. Configura o SDK oficial do OpenTelemetry para a linguagem do app e confirma que os primeiros registros chegam antes de dar o trabalho por concluído.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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.
Perguntas frequentes
O endereço do Sazabi vai parar no meu código?
Não. A skill o guarda em uma variável de ambiente ou em um cofre de segredos, não em código versionado.
Qual SDK ele usa?
Ele usa o SDK oficial do OpenTelemetry para a linguagem em que o seu app roda.
Como saber se funciona?
A skill verifica se os primeiros registros chegam ao Sazabi antes de considerar a configuração concluída.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 16 mil
- Posição no ranking
- #10843
- Licença
- —
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
decide
16 milGuia você por decisões de design ou de código uma de cada vez, com opções claras e uma recomendação. Cada resposta é registrada, e um resumo final é entregue.
mobile-demo-film
16 milTransforma gravações de tela de celular em um vídeo de demonstração bem acabado, com cartões de título, moldura de celular e cartão final. Bom para demonstrações de recursos e vídeos de lançamento.
redesign
16 milRevisa um componente de interface existente e sugere correções visuais concretas de espaçamento, contraste, hierarquia e layout. Também pode aplicar as mudanças.
superset-settings
16 milPermite que seu agente veja e altere as configurações do app desktop Paradev, como tema, fontes e notificações, pela linha de comando.
Skills parecidas
openclaw-update
394 milAjuda seu agente a atualizar um OpenClaw Gateway existente, escolhendo o método que combina com a instalação e mantendo sua sessão funcionando.
diagnose-gateway
394 milAjuda seu agente a descobrir por que seu OpenClaw Gateway está falhando, verificando configurações, canais e portas sem alterar nada.
crabbox-apps
394 milAjuda seu agente a abrir e executar um app em uma máquina temporária na nuvem e depois mostrar a visualização dele no painel lateral do seu chat.