Honeycomb Beelines(サービス終了)から OpenTelemetry 計測ライブラリへの移行に関する段階的なガイドです。 次のような場合に使用: 「Beelines から移行したい」「Beeline から OpenTelemetry にアップグレードしたい」「OTel に移行したい」「Beelines を置き換えたい」「Beeline のサービス終了」「Beeline EOL」「Beeline から OTel に切り替えたい」「Go/Python/Node/Java/Ruby の Beeline を移行したい」「W3C トレースヘッダー」「W3C プロパゲーション(トレース情報の伝播)」「OpenTelemetry への段階的な移行」、またはその他 Honeycomb Beelines から OpenTelemetry SDK への移行に関するあらゆるご質問。
Step-by-step guide for migrating from Honeycomb Beelines (End of Life) to OpenTelemetry instrumentation. Trigger phrases: "migrate from Beelines", "upgrade from Beeline to OpenTelemetry", "migrate to OTel", "replace Beelines", "Beeline end of life", "Beeline EOL", "switch from Beeline to OTel", "migrate Go Beeline", "migrate Python Beeline", "migrate Node Beeline", "migrate Java Beeline", "migrate Ruby Beeline", "W3C trace headers", "W3C propagation", "incremental migration to OpenTelemetry", or any request about migrating from Honeycomb Beelines to OpenTelemetry SDKs.
Honeycomb Beelinesサポート終了に伴う、OpenTelemetryインストルメンテーション(計測機能の実装)への移行ステップバイステップガイド
Honeycomb Beelinesはサポート終了となり、アーカイブ(保管)されました。すべての新しい計測機能の実装にはOpenTelemetryを使用してください。既存のBeelinesユーザーは、可能な限り速やかに移行してください。
2段階のアプローチに従うことで、分散トレース(複数サービスにまたがる処理の追跡)を壊さずに、サービス単位での段階的な移行が可能です。
任意のサービスをOpenTelemetryに移行する前に、すべてのサービスがW3C トレースヘッダー(通信データの最初に付与する識別情報)をサポートしている必要があります。これにより、BeelinesとOpenTelemetryのサービスがトレース情報を共有できるようになります。
W3Cサポートの最小Beelinesバージョン:
| 言語 | 最小バージョン |
|---|---|
| Go | 1.4.0 |
| Java | 1.7.0 |
| Node.js | 3.2.2 |
| Python | 2.18.0 |
| Ruby | 2.8.0 |
すべてのサービスがW3Cヘッダーをサポートした後:
重要ルール: フェーズ2を開始する前に、フェーズ1をすべてのサービスで完了させてください。
beeline.Init(beeline.Config{
HTTPPropagationHook: propagation.W3C,
})
beeline.init(
http_trace_propagation_hook=beeline.propagation.w3c.http_trace_propagation_hook,
http_trace_parser_hook=beeline.propagation.w3c.http_trace_parser_hook,
)
const beeline = require("honeycomb-beeline")({
httpTraceParserHook: beeline.w3c.httpTraceParserHook,
httpTracePropagationHook: beeline.w3c.httpTracePropagationHook,
});
JavaとRubyの設定については、${CLAUDE_PLUGIN_ROOT}/skills/beeline-migration/references/w3c-propagation.md をご覧ください。
BeelinesからOpenTelemetryに移行するサービスごとに確認してください:
OTEL_SERVICE_NAME を既存のサービス名と同じに設定しましたstartSpan() → OpenTelemetryの tracer.start_span()addField() → OpenTelemetryの span.set_attribute()OTEL_SERVICE_NAME をBeelinesのサービス名と完全に同じに保ってください — Honeycombはこれをデータセット(データ分類)の名前として使用し、変更するとデータが新しいデータセットに分割されますaddField() 呼び出しを監査してください — 各呼び出しについて、OpenTelemetryで対応する span.set_attribute() が必要です。こうすることで、クエリの検索軸を維持できますhttp.request.method vs request.method)。古い名前を参照するダッシュボードやSLI(サービスレベル指標)は更新が必要です${CLAUDE_PLUGIN_ROOT}/skills/beeline-migration/references/migration-steps-by-language.md — 言語ごとの詳細な移行コード${CLAUDE_PLUGIN_ROOT}/skills/beeline-migration/references/w3c-propagation.md — すべてのBeeline言語の完全なW3C設定Step-by-step guide for migrating from Honeycomb Beelines (now End of Life) to OpenTelemetry instrumentation.
Honeycomb Beelines have reached End of Life and are archived. All new instrumentation should use OpenTelemetry. Existing Beeline users should migrate as soon as practical.
Migration follows a two-phase approach that allows incremental, service-by-service migration without breaking distributed traces.
Before migrating any service to OTel, all services must support W3C trace headers. This enables Beeline and OTel services to share trace context.
Minimum Beeline versions for W3C support:
| Language | Minimum Version |
|---|---|
| Go | 1.4.0 |
| Java | 1.7.0 |
| Node.js | 3.2.2 |
| Python | 2.18.0 |
| Ruby | 2.8.0 |
After all services support W3C headers:
Key rule: Complete Phase 1 across ALL services before starting Phase 2 on ANY service.
beeline.Init(beeline.Config{
HTTPPropagationHook: propagation.W3C,
})
beeline.init(
http_trace_propagation_hook=beeline.propagation.w3c.http_trace_propagation_hook,
http_trace_parser_hook=beeline.propagation.w3c.http_trace_parser_hook,
)
const beeline = require("honeycomb-beeline")({
httpTraceParserHook: beeline.w3c.httpTraceParserHook,
httpTracePropagationHook: beeline.w3c.httpTracePropagationHook,
});
For Java and Ruby configurations, consult ${CLAUDE_PLUGIN_ROOT}/skills/beeline-migration/references/w3c-propagation.md.
For each service being migrated from Beeline to OTel:
OTEL_SERVICE_NAME to match existing service namestartSpan() -> OTel tracer.start_span()addField() -> OTel span.set_attribute()OTEL_SERVICE_NAME identical to the Beeline service name — Honeycomb uses this as the dataset name, and changing it splits your data into a new datasetaddField() calls before removing the Beeline SDK — each one needs a corresponding span.set_attribute() in OTel to preserve your query dimensionshttp.request.method vs request.method), and dashboards or SLIs referencing the old names will need updating${CLAUDE_PLUGIN_ROOT}/skills/beeline-migration/references/migration-steps-by-language.md — Detailed migration code for each language${CLAUDE_PLUGIN_ROOT}/skills/beeline-migration/references/w3c-propagation.md — Complete W3C configuration for all Beeline languages原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。