الإشارات والاصطلاحات الدلالية
تعلّم إشارات OpenTelemetry الثلاث، وكيف تتشارك الموارد والسياق، ولماذا تجعل الاصطلاحات الدلالية بيانات القياس قابلة للنقل بين الأدوات.
الإشارات والاصطلاحات الدلالية درس مجاني في System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) على CoddyKit. هذا هو الدرس 4 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) 4 دروس في المجموع.
بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.
The Three Signals
OpenTelemetry defines three signals of telemetry: traces, metrics, and logs. One specification and SDK produce all three in a consistent way.
Traces
Traces capture the path of a request across services as a tree of spans, answering where time went and what failed.
span: GET /checkout
span: query inventory
span: charge paymentMetrics
Metrics are numeric measurements aggregated over time: counters, gauges, and histograms that answer how much and how often.
http.server.duration histogram
http.server.active_requests gaugeLogs
Logs are timestamped records of discrete events. In OTel they can be correlated with traces by carrying the same trace and span IDs.
{ "body": "order placed", "trace_id": "a9f...c1" }The Resource
A Resource describes the entity producing telemetry, such as a service or host. It is attached to all three signals so they share identity.
resource:
service.name: checkout
service.version: 1.4.0Shared Context
All signals can carry the same context. A log and a metric exemplar can point back to the trace that produced them, enabling correlation.
What Are Semantic Conventions?
Semantic conventions are agreed names for common attributes. Everyone uses http.request.method instead of inventing their own key.
Why Conventions Matter
Standard names let any backend understand your data. Dashboards, alerts, and tools work out of the box because the keys are predictable.
- Portability across vendors
- Reusable dashboards
- Automatic correlation
Common Attribute Examples
Conventions cover HTTP, databases, messaging, and more.
http.request.method = "GET"
http.response.status_code = 200
db.system = "postgresql"Resource vs Span Attributes
Resource attributes describe the producer and rarely change. Span attributes describe a single operation and vary per request.
resource: service.name (static)
span: http.route, user.tier (per request)Signals Together
Combining the three signals with shared resources and conventions gives full observability: metrics show what is wrong, traces show where, and logs show why.
Quick Check
Identify the purpose of semantic conventions.
Recap
You learned the three OTel signals (traces, metrics, logs), how a shared Resource and context tie them together, and how semantic conventions standardize attribute names for portability and correlation across any backend.
الأسئلة الشائعة
هل درس «الإشارات والاصطلاحات الدلالية» مجاني؟
نعم — نص درس «الإشارات والاصطلاحات الدلالية» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)، انتقل إلى CoddyKit PRO. تتضمن دورة System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) 4 دروس في المجموع.
ماذا ستتعلم في «الإشارات والاصطلاحات الدلالية»؟
تعلّم إشارات OpenTelemetry الثلاث، وكيف تتشارك الموارد والسياق، ولماذا تجعل الاصطلاحات الدلالية بيانات القياس قابلة للنقل بين الأدوات. تتمرن على System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.
هل أحتاج إلى خبرة سابقة لأبدأ System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)؟
لا تُشترط خبرة سابقة. System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 4 من أصل 4.
كم من الوقت يستغرق درس «الإشارات والاصطلاحات الدلالية»؟
معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.
هل يمكنني كتابة وتشغيل أكواد في درس System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) هذا؟
نعم. كل درس في System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.
جميع الدروس في هذه الدورة
- معيار OpenTelemetry
- جامعات ومصدّرات OTel
- تزويد التطبيقات بأدوات OTel SDK
- الإشارات والاصطلاحات الدلالية