Alauda Build of OpenTelemetry v2 概述
Alauda Build of OpenTelemetry v2 基于开源 OpenTelemetry 项目构建,提供一种统一、标准化且与厂商无关的方式来收集云原生应用的 telemetry 数据。该发行版为 OpenTelemetry Collector 的部署和管理提供了全面支持,同时简化了 workload 的 instrumentation 过程。
目录
OpenTelemetry CollectorCollector FeaturesUse CasesIntegration with Distributed Tracing PlatformLimitationsOpenTelemetry 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: 通过插件支持自定义 receivers、processors 和 exporters
- Auto-instrumentation: 简化为应用添加可观测性的过程,使开发者无需手动对代码进行 instrumentation 即可收集基础 telemetry 数据。
Use Cases
OpenTelemetry Collector 可解决以下常见的 telemetry 场景:
- Centralized telemetry collection: 将来自多个服务和应用的 telemetry 数据聚合到单一 pipeline 中
- Protocol translation: 在不同 telemetry 格式和协议之间进行转换,以确保兼容性
- Data enrichment: 为 telemetry 信号添加上下文信息,例如 resource attributes 和元数据
- Backend abstraction: 将应用与特定的 observability backend 解耦,从而在工具选型上获得更大灵活性
- Traffic management: 控制并优化 telemetry 数据流,以降低成本并提升性能
Integration with Distributed Tracing Platform
Alauda Build of OpenTelemetry v2 可与 Alauda Build of Jaeger 无缝集成,从而为您的基础设施提供全面的可观测性。此集成使您能够在收集、处理和可视化 traces 的同时配合 metrics 使用,以实现完整的系统可见性。
Limitations
需要注意的是,OpenTelemetry 不对 telemetry 数据的传递提供任何保证。该 framework 也不包含内置的 storage 能力或 query 功能。组织应根据自身需求实现合适的后端系统,用于数据持久化和分析。