Signale und semantische Konventionen
Lernen Sie die drei OpenTelemetry-Signale kennen, erfahren Sie, wie sie Ressourcen und Kontext gemeinsam nutzen, und verstehen Sie, warum semantische Konventionen Telemetrie zwischen Tools portierbar machen.
Signale und semantische Konventionen ist eine kostenlose System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)-Lektion auf CoddyKit. Dies ist Lektion 4 von 4. Du kannst die komplette Lektion unten kostenlos lesen – dann übst du sie direkt im Browser mit einem integrierten Code-Editor und einem KI-Tutor rund um die Uhr. Sie ist Teil des System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)-Lernpfads, und dein Fortschritt wird über Web und CoddyKit-App synchronisiert. Der System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)-Kurs umfasst insgesamt 4 Lektionen.
Teile dieser Lektion wurden noch nicht übersetzt und werden auf Englisch angezeigt.
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.
Häufig gestellte Fragen
Ist die Lektion „Signale und semantische Konventionen“ kostenlos?
Ja — der vollständige Text von „Signale und semantische Konventionen“ ist hier im Web kostenlos zu lesen. Um sie interaktiv zu üben (integrierter Code-Editor und 24/7 KI-Tutor) und den Rest des System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)-Kurses freizuschalten, upgrade auf CoddyKit PRO. Der System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)-Kurs umfasst insgesamt 4 Lektionen.
Was lerne ich in „Signale und semantische Konventionen“?
Lernen Sie die drei OpenTelemetry-Signale kennen, erfahren Sie, wie sie Ressourcen und Kontext gemeinsam nutzen, und verstehen Sie, warum semantische Konventionen Telemetrie zwischen Tools portierbar… Du übst System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) mit praktischem Code, den du direkt im Browser ausführst, und ein 24/7 KI-Tutor beantwortet deine Fragen während du die Lektion bearbeitest.
Brauche ich Erfahrung, um System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) zu starten?
Keine Vorkenntnisse erforderlich. System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) auf CoddyKit ist für Anfänger bis fortgeschrittene Lernende strukturiert, sodass du hier starten oder von Anfang an beginnen und in deinem eigenen Tempo voranschreiten kannst. Dies ist Lektion 4 von 4.
Wie lange dauert die Lektion „Signale und semantische Konventionen“?
Die meisten CoddyKit-Lektionen dauern etwa 5–10 Minuten. Jede ist kompakt und interaktiv, sodass du stetig Fortschritte machst und genau dort weitermachst, wo du aufgehört hast – im Web und in der App.
Kann ich in dieser System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)-Lektion Code schreiben und ausführen?
Ja. Jede System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)-Lektion enthält einen integrierten Code-Editor, sodass du echten Code direkt in deinem Browser schreibst und ausführst und sofort KI-Feedback erhältst — ohne lokale Einrichtung erforderlich.
Alle Lektionen in diesem Kurs
- Der OpenTelemetry-Standard
- OTel-Collector und Exporter
- Anwendungen mit OTel-SDKs instrumentieren
- Signale und semantische Konventionen