instrument-with-sazabi
Ce qu’il fait
Cette skill configure une application pour que ses journaux et ses traces parviennent à Sazabi. Elle s'adresse aux développeurs qui veulent que leurs services soient visibles dans Sazabi sans placer de secrets dans le dépôt.
Quand l’utiliser
- ✓Quand vous voulez connecter une application ou un service à Sazabi.
- ✓Quand vous voulez ajouter la journalisation ou le traçage OpenTelemetry à un projet.
- ✓Quand Sazabi n'affiche aucune donnée pour un service et que vous devez en trouver la cause.
Lien du skill
https://github.com/ParadevAI/Paradev/blob/main/plugins/sazabi/skills/instrument-with-sazabi/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Connecte mon API Node à Sazabi avec OpenTelemetry et confirme que les premiers journaux arrivent.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent récupère l'adresse d'entrée auprès de Sazabi et la stocke dans une variable d'environnement, et non dans le code. Il configure le SDK OpenTelemetry officiel pour le langage de l'application, et confirme l'arrivée des premiers enregistrements avant de considérer le travail comme terminé.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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.
Questions fréquentes
L'adresse Sazabi finira-t-elle dans mon code ?
Non. La skill la stocke dans une variable d'environnement ou un coffre à secrets, et non dans le code versionné.
Quel SDK utilise-t-elle ?
Elle utilise le SDK OpenTelemetry officiel pour le langage sur lequel tourne votre application.
Comment savoir que cela fonctionne ?
La skill vérifie que les premiers enregistrements arrivent dans Sazabi avant de considérer la configuration comme terminée.
Détails
Description originale de l’auteur
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
Popularité
- Étoiles GitHub
- 16k
- Position au classement
- #10843
- Licence
- —
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
decide
16kVous guide pas à pas dans les décisions de conception ou de code, avec des options claires et une recommandation. Chaque réponse est enregistrée, puis un résumé final est fourni.
mobile-demo-film
16kTransforme les enregistrements d'écran de téléphone en vidéo de démonstration soignée, avec cartes de titre, cadre de téléphone et carte de fin. Idéal pour les démonstrations de fonctionnalités et les vidéos de lancement.
redesign
16kExamine un composant d'interface existant et propose des corrections visuelles concrètes pour l'espacement, le contraste, la hiérarchie et la mise en page. Elle peut aussi appliquer les modifications.
superset-settings
16kPermet à votre agent de consulter et de modifier les paramètres de l'application de bureau Paradev, comme le thème, les polices et les notifications, depuis la ligne de commande.
Skills similaires
openclaw-update
394kAide votre agent à mettre à jour une passerelle OpenClaw existante, en choisissant la méthode adaptée à son installation et en gardant votre session active.
diagnose-gateway
394kAide votre agent à trouver pourquoi votre passerelle OpenClaw échoue, en vérifiant les paramètres, les canaux et les ports sans rien modifier.
crabbox-apps
394kAide votre agent à ouvrir et exécuter une application sur une machine cloud temporaire, puis à afficher sa vue dans le panneau latéral de votre chat.