मुख्य सामग्री पर जाएँ
Skillpedia
डिप्लॉय और क्लाउड (DevOps)16k · #10843

instrument-with-sazabi

यह क्या करती है

यह स्किल किसी ऐप को ऐसे सेट करती है कि उसके logs और traces Sazabi तक पहुँचें। यह उन डेवलपर्स के लिए है जो बिना गुप्त जानकारी repository में डाले अपनी सेवाएँ Sazabi में देखना चाहते हैं।

कब इस्तेमाल करें

  • ✓जब आप कोई ऐप या सेवा Sazabi से जोड़ना चाहते हैं।
  • ✓जब आप किसी प्रोजेक्ट में OpenTelemetry logging या tracing जोड़ना चाहते हैं।
  • ✓जब Sazabi किसी सेवा का डेटा न दिखाए और आपको कारण जानना हो।

Skill का लिंक

https://github.com/ParadevAI/Paradev/blob/main/plugins/sazabi/skills/instrument-with-sazabi/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/ParadevAI/Paradev/blob/main/plugins/sazabi/skills/instrument-with-sazabi/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरी Node API को OpenTelemetry से Sazabi से जोड़िए, और पक्का कीजिए कि पहले logs पहुँच रहे हैं।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट Sazabi से intake पता लेता है और उसे कोड में नहीं, environment variable में रखता है। वह ऐप की भाषा के लिए आधिकारिक 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-proto and @opentelemetry/sdk-logs. Auto-instrumentation exports traces but not logs, so add a BatchLogRecordProcessor with an OTLPLogExporter, and bridge the app's existing logger (pino, winston) instead of replacing it.
  • Python: opentelemetry-distro and opentelemetry-exporter-otlp-proto-http, then opentelemetry-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 का पता मेरे कोड में आएगा?

नहीं। स्किल उसे environment variable या secret store में रखती है, commit किए गए कोड में नहीं।

यह कौन-सा 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
लाइसेंस
—
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

decide

16k

डिज़ाइन या कोड के फ़ैसले एक-एक करके, साफ़ विकल्पों और सुझाव के साथ आपसे तय करवाती है। हर जवाब दर्ज होता है और अंत में सारांश मिलता है।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

mobile-demo-film

16k

फ़ोन स्क्रीन रिकॉर्डिंग को शीर्षक कार्ड, फ़ोन फ़्रेम और अंत कार्ड के साथ सुंदर डेमो वीडियो में बदलती है। फ़ीचर डेमो और लॉन्च क्लिप के लिए अच्छी।

वीडियो और ऑडियोवीडियो एडिटिंग

redesign

16k

मौजूदा इंटरफ़ेस कॉम्पोनेंट की समीक्षा करती है और स्पेसिंग, कंट्रास्ट, क्रम और लेआउट के ठोस विज़ुअल सुधार सुझाती है। बदलाव लागू भी कर सकती है।

डिज़ाइनइंटरफ़ेस (UI/UX)

superset-settings

16k

आपके एजेंट को Paradev डेस्कटॉप ऐप की सेटिंग्स, जैसे थीम, फ़ॉन्ट और सूचनाएँ, कमांड लाइन से देखने और बदलने देती है।

अन्यविविध

मिलती-जुलती skills