Beeline Migration

作者 honeycombiob169d7d1c76a無授權條款27 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫2 週前更新

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.

僅含說明DevOps & Cloud
AI 產生的概覽

指導從 Honeycomb Beelines 分兩階段遷移到 OpenTelemetry 埋點。

功能
此技能提供從已終止支援的 Honeycomb Beelines 遷移到 OpenTelemetry 埋點的分步指南。它說明兩階段策略:先讓所有服務支援 W3C 追蹤傳播,再逐個服務遷移到搭配 OTLP 匯出器的 OTel SDK。內容包含各語言的 W3C 設定片段、服務遷移檢查清單,以及涵蓋追蹤連結、服務命名與屬性對應的安全檢查清單。
適用情境
適用於以 OpenTelemetry 取代 Honeycomb Beelines、將 Beeline 升級為 OTel SDK,或規劃能維持分散式追蹤連貫的增量遷移。也適用於在 Beeline 服務中設定 W3C 追蹤傳播。
執行需求
不含指令碼,僅提供說明與參考檔案。遷移需要 OpenTelemetry SDK、OTLP 匯出器套件,以及 Honeycomb 憑證或端點設定。

Beeline to OpenTelemetry Migration

Step-by-step guide for migrating from Honeycomb Beelines (now End of Life) to OpenTelemetry instrumentation.

Status

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 Strategy

Migration follows a two-phase approach that allows incremental, service-by-service migration without breaking distributed traces.

Phase 1: Enable W3C Trace Propagation (All Services)

Before migrating any service to OTel, all services must support W3C trace headers. This enables Beeline and OTel services to share trace context.

  1. Upgrade each Beeline to the minimum version supporting W3C headers
  2. Configure each Beeline to use W3C propagation format
  3. Deploy all services with W3C enabled
  4. Verify: Traces still link correctly across services

Minimum Beeline versions for W3C support:

LanguageMinimum Version
Go1.4.0
Java1.7.0
Node.js3.2.2
Python2.18.0
Ruby2.8.0

Phase 2: Migrate Each Service to OTel (One at a Time)

After all services support W3C headers:

  1. Choose a service to migrate (start with leaf services — fewest dependencies)
  2. Replace Beeline SDK with OpenTelemetry SDK
  3. Configure OTLP exporter to point to Honeycomb
  4. Add auto-instrumentation libraries
  5. Replicate any custom Beeline instrumentation in OTel
  6. Deploy and verify traces still connect
  7. Repeat for next service

Key rule: Complete Phase 1 across ALL services before starting Phase 2 on ANY service.

W3C Propagation Configuration

Go Beeline

go
beeline.Init(beeline.Config{    HTTPPropagationHook: propagation.W3C,})

Python Beeline

python
beeline.init(    http_trace_propagation_hook=beeline.propagation.w3c.http_trace_propagation_hook,    http_trace_parser_hook=beeline.propagation.w3c.http_trace_parser_hook,)

Node.js Beeline

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

Service Migration Checklist

For each service being migrated from Beeline to OTel:

  • Beeline version supports W3C (Phase 1 complete)
  • Install OTel SDK and OTLP exporter packages
  • Configure OTLP endpoint and headers for Honeycomb
  • Set OTEL_SERVICE_NAME to match existing service name
  • Add auto-instrumentation libraries (HTTP, DB, etc.)
  • Port custom spans: Beeline startSpan() -> OTel tracer.start_span()
  • Port custom attributes: Beeline addField() -> OTel span.set_attribute()
  • Remove Beeline dependency
  • Deploy and verify: traces link across Beeline and OTel services
  • Verify: custom attributes appear in Honeycomb

Migration Safety Checklist

  • Complete Phase 1 across all services before starting Phase 2 — mixed propagation formats break trace linking across service boundaries
  • Keep 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 dataset
  • Audit all Beeline addField() calls before removing the Beeline SDK — each one needs a corresponding span.set_attribute() in OTel to preserve your query dimensions
  • Compare OTel auto-instrumentation field names against Beeline field names — OTel may use different attribute names (e.g., http.request.method vs request.method), and dashboards or SLIs referencing the old names will need updating

Additional Resources

Reference Files

  • ${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

Cross-References

  • For OTel SDK setup after migration, see the otel-instrumentation skill

來源與署名

來源:honeycombio/agent-skill位於honeycomb/skills/beeline-migration提交b169d7d

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架

更多來自 honeycombio/agent-skill 的技能

Verify Recent Trace

honeycombio

查詢 Honeycomb,找出近期測試產生的 trace 並回報結果。

DevOps & Cloud272 週前更新

Slos And Triggers

honeycombio

指導解讀 Honeycomb SLO 達標情形、錯誤預算消耗速率與觸發器狀態,並設計 SLO 與告警。

DevOps & Cloud272 週前更新

Production Investigation

honeycombio

在 Honeycomb 中調查正式環境問題並找出根因的結構化工作流程。

DevOps & Cloud272 週前更新

Observability Fundamentals

honeycombio

First principles behind observability — wide events, high cardinality, the core analysis loop, events vs metrics vs logs, and how instrumentation connects to debugging outcomes. Grounds recommendations in first principles rather than tool-specific how-to. Trigger phrases: "what is observability", "why observability", "why Honeycomb", "events vs metrics vs logs", "events vs metrics", "events vs logs", "metrics vs logs", "why wide events", "what is high cardinality", "core analysis loop", "observability vs monitoring", "what is dimensionality", "explain observability", or any conceptual question about observability or why Honeycomb's approach differs from traditional monitoring.

待分類272 週前更新

Metrics Queries

honeycombio

說明如何在 Honeycomb 中正確查詢 OpenTelemetry 指標資料集,涵蓋允許的操作、時間聚合與直方圖。

Data & Analytics272 週前更新

Create Honeycomb Board

honeycombio

透過 MCP 工具設計並建立包含查詢、SLO 與文字面板的 Honeycomb 看板(儀表板)。

DevOps & Cloud272 週前更新