Alauda Build of OpenTelemetry v2 概览
Alauda Build of OpenTelemetry v2 基于开源 OpenTelemetry 项目构建,提供了一种统一、标准化且厂商中立的方式,用于收集云原生应用的 telemetry 数据。该发行版为部署和管理 OpenTelemetry Collector 提供了全面支持,同时简化了 workload 的 instrumentation 流程。
OpenTelemetry Collector
OpenTelemetry Collector 是一个功能多样的组件,能够接收、处理并转发多种格式的 telemetry 数据。这使其成为 telemetry 处理以及确保不同 telemetry 系统之间互操作性的关键工具。Collector 为统一处理 metrics、traces 和 logs 提供了一个全面的解决方案。
Collector Features
OpenTelemetry Collector 提供以下关键能力:
- Multi-format support:接受来自不同来源、不同格式的 telemetry 数据
- Flexible processing:在转发之前转换并增强 telemetry 数据
- Multiple export destinations:将处理后的数据发送到多个后端系统
- Scalable architecture:支持 agent 和 gateway 两种部署模式
- Extensible design:通过 plugins 允许自定义 receivers、processors 和 exporters
- Auto-instrumentation:简化为应用添加可观测性的过程,因此开发者无需手动为代码添加 instrumentation 即可收集基础 telemetry。
Use Cases
OpenTelemetry Collector 适用于以下常见 telemetry 场景:
- Centralized telemetry collection:将来自多个服务和应用的 telemetry 数据聚合到单一 pipeline 中
- Protocol translation:在不同 telemetry 格式和协议之间进行转换,以确保兼容性
- Data enrichment:为 telemetry signals 添加资源属性和元数据等上下文信息
- Backend abstraction:将应用与特定的 observability backend 解耦,从而在工具选择上更具灵活性
- Traffic management:控制并优化 telemetry 数据流,以降低成本并提升性能
与 Distributed Tracing Platform 集成
Alauda Build of OpenTelemetry v2 可与 Alauda Build of Jaeger 无缝集成,从而为整个基础设施提供全面的可观测性。通过此集成,您可以同时收集、处理和可视化 traces 与 metrics,以获得完整的系统可见性。
限制
需要注意的是,OpenTelemetry 不保证 telemetry 数据的传递。该 framework 也不包含内置存储能力或查询功能。组织应根据自身的具体需求,实现合适的后端系统用于数据持久化和分析。