otel-expert
取得 OpenTelemetry 實作指引
在 OpenTelemetry 語義慣例、收集器配置或檢測模式方面遇到困難?此技能從內建的 OTel 文件中提供即時解答,協助您實作適當的追蹤、跨度、指標和日誌,無需搜尋多份文件。
تنزيل ZIP المهارة
رفع في Claude
اذهب إلى Settings → Capabilities → Skills → Upload skill
فعّل وابدأ الاستخدام
اختبرها
استخدام "otel-expert". What attributes should I use for HTTP server spans?
النتيجة المتوقعة:
For HTTP server spans, use these semantic convention attributes:
| Attribute | Type | Description |
|-----------|------|-------------|
| http.request.method | string | HTTP request method (GET, POST, etc) |
| url.path | string | URL path portion |
| http.response.status_code | int | HTTP status code |
| server.address | string | Server host name |
| server.port | int | Server port number |
Source: docs/semantic-conventions/http.md
استخدام "otel-expert". How do I create custom spans in .NET?
النتيجة المتوقعة:
Create an ActivitySource and use it to create spans:
var activitySource = new ActivitySource("MyApp.Service");
using var activity = activitySource.StartActivity("ProcessOrder");
activity?.SetTag("order.id", orderId);
activity?.SetTag("customer.id", customerId);
Source: docs/instrumentation/dotnet.md
التدقيق الأمني
آمنThis skill is a documentation helper that provides OpenTelemetry guidance from bundled docs. Static analysis flagged 17 patterns but all are false positives: hash fields in metadata, empty JSON arrays, and documentation examples with template variables. No actual security risks detected.
درجة الجودة
ماذا يمكنك بناءه
後端開發人員新增分散式追蹤
一位 .NET 開發人員需要使用適當的跨度屬性和活動來源,按照 OpenTelemetry 語義慣例來檢測其微服務。
平台工程師配置 OTel 收集器
一位 DevOps 工程師需要在 OpenTelemetry 收集器中配置處理器和匯出器,以將遙測數據路由到其可觀測性平台。
SRE 實作可觀測性標準
一個 SRE 團隊正在為其組織建立遙測標準,需要快速參考指標、日誌和追蹤屬性慣例。
جرّب هذه الموجهات
What semantic convention attributes should I use for HTTP server spans?
How do I configure a batch processor in the OpenTelemetry collector?
Show me how to create custom spans with ActivitySource in .NET 10
What are the OTLP exporter configuration options and how do I set compression?
أفضل الممارسات
- 始終先檢查 INDEX.md 以找到與您問題相關的文件檔案
- 在引用文件之前,先查看 SYNC-REPORT.md 中有關內建文件的任何驗證警告
- 使用最新穩定版本的語義慣例屬性,以避免已棄用的模式
تجنب
- 不要假設供應商特定的匯出器配置適用於標準 OTLP
- 不要在未檢查當前規範的情況下使用已棄用的語義慣例屬性
- 在從可能過時的文件提供解答時,不要跳過檢查 SYNC-REPORT.md 警告
الأسئلة المتكررة
此技能內建了哪些文件?
這是否適用於 .NET 以外的程式語言?
內建文件的時效性如何?
此技能能否協助我配置供應商特定的匯出器?
此技能使用哪些工具?
如何找到特定的語義慣例屬性?
تفاصيل المطور
المؤلف
ANcpLuaالترخيص
MIT
المستودع
https://github.com/ANcpLua/ancplua-claude-plugins/tree/main/plugins/otelwiki/skills/otel-expertمرجع
main
بنية الملفات
📄 SKILL.md