System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) · Lección

Señales y convenciones semánticas

Aprenda cuáles son las tres señales de OpenTelemetry, cómo comparten recursos y contexto y por qué las convenciones semánticas hacen que la telemetría sea portable entre herramientas.

Lección 4 de 413 pasos

Señales y convenciones semánticas es una lección gratuita de System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) en CoddyKit. Esta es la lección 4 de 4. Puedes leer la lección completa abajo gratuitamente — luego la practicas en el navegador con un editor de código integrado y un tutor de IA 24/7. Forma parte de la ruta de aprendizaje de System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry), y tu progreso se sincroniza en la web y la app de CoddyKit. El curso de System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) incluye 4 lecciones en total.

Partes de esta lección aún no han sido traducidas y se muestran en inglés.

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 payment

Metrics

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 gauge

Logs

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.0

Shared 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.

Gratis para empezar

Aprende System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) con un tutor de IA — gratis

Escribe y ejecuta código real en tu navegador, obtén ayuda instantánea de un tutor de IA disponible 24/7 y continúa donde lo dejaste en la web o en la aplicación.

Cursos
12
Lecciones
48

Preguntas frecuentes

¿La lección «Señales y convenciones semánticas» es gratis?

Sí — el texto completo de «Señales y convenciones semánticas» es gratis para leer aquí en la web. Para practicarla de forma interactiva (editor de código integrado y tutor de IA 24/7) y desbloquear el resto del curso de System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry), actualiza a CoddyKit PRO. El curso de System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) incluye 4 lecciones en total.

¿Qué aprenderé en «Señales y convenciones semánticas»?

Aprenda cuáles son las tres señales de OpenTelemetry, cómo comparten recursos y contexto y por qué las convenciones semánticas hacen que la telemetría sea portable entre herramientas. Practicas System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) con código real que ejecutas directamente en el navegador, y un tutor de IA 24/7 responde tus preguntas mientras trabajas en la lección.

¿Necesito experiencia previa para empezar System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)?

No se requiere experiencia previa. System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) en CoddyKit está estructurado para principiantes hasta estudiantes avanzados, así que puedes empezar aquí o desde el inicio y avanzar a tu ritmo. Esta es la lección 4 de 4.

¿Cuánto tiempo toma la lección «Señales y convenciones semánticas»?

La mayoría de las lecciones de CoddyKit toman alrededor de 5–10 minutos. Cada una es compacta e interactiva, así que avanzas constantemente y retomas exactamente por donde dejaste en la web y la app.

¿Puedo escribir y ejecutar código en esta lección de System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)?

Sí. Cada lección de System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) incluye un editor de código integrado, así que escribes y ejecutas código real directamente en tu navegador y obtienes retroalimentación instantánea de IA — sin configuración local necesaria.

Todas las lecciones de este curso

  1. El estándar OpenTelemetry
  2. Collectors y exporters de OTel
  3. Instrumentación de aplicaciones con SDK de OTel
  4. Señales y convenciones semánticas
← Volver a System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)