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周前更新