System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) · レッスン

シグナルとセマンティック規約

OpenTelemetryの3つのシグナル、それらがリソースとコンテキストを共有する方法、セマンティック規約によってテレメトリをツール間で持ち運べる理由を学びます。

レッスン 4/413 ステップ

「シグナルとセマンティック規約」はCoddyKit上の無料System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)レッスンです。 これはレッスン4/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これは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 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.

無料で開始

AI チューターと学ぶ System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) — 無料

ブラウザでリアルコードを書いて実行し、24/7 の AI チューターから瞬時にサポートを受け、ウェブまたはアプリで続きから学習できます。

コース
12
レッスン
48

よくある質問

「シグナルとセマンティック規約」レッスンは無料ですか?

はい。「シグナルとセマンティック規約」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)コースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)コースには全4レッスンが含まれています。

「シグナルとセマンティック規約」で何を学びますか?

OpenTelemetryの3つのシグナル、それらがリソースとコンテキストを共有する方法、セマンティック規約によってテレメトリをツール間で持ち運べる理由を学びます。 ブラウザで直接実行するハンズオンコードでSystem Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)を演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。

System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)を始めるのに経験は必要ですか?

事前経験は必要ありません。CoddyKitのSystem Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)は初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン4/4です。

「シグナルとセマンティック規約」レッスンにはどのくらい時間がかかりますか?

ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。

このSystem Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)レッスンでコードを書いて実行できますか?

はい。すべてのSystem Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)レッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。

このコースのすべてのレッスン

  1. OpenTelemetry標準
  2. OTelコレクターとエクスポーター
  3. OTel SDKによるアプリケーションの計装
  4. シグナルとセマンティック規約
← System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)に戻る