Files
nexus/wiki/sources/ctp-topic-67-cloud-native-observability-using-opentelemetry.md
2026-04-19 14:51:38 +08:00

50 lines
2.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "CTP Topic 67 Cloud Native Observability Using OpenTelemetry"
type: source
tags: [OpenTelemetry, Observability, Cloud-Native, EKS, AWS, CTP]
sources: []
last_updated: 2026-04-19
---
## Source File
- [[raw/Cloud & DevOps/Public-Cloud-Learning-Sessions/04_EKS/ctp-topic-67-cloud-native-observability-using-opentelemetry.md]]
## Summary
- 核心主题:在 Amazon EKS 上实现云原生可观测性,基于 AWS 提供的 OpenTelemetry 实践课程
- 问题域:云原生应用的可观测性实现,包括 Metrics、Logs、Traces 三大信号
- 方法/机制AWS Distro for OpenTelemetry (ADOT) 统一采集代理,支持多种部署模式
- 结论/价值:提供厂商中立的标准化可观测性方案,降低多工具集成复杂度
## Key Claims
- 可观测性是管理复杂系统的关键能力,构建可观测应用是开发者的责任
- 三大信号Traces、Metrics、Logs支持响应式和主动式故障排查
- ADOT 是经过安全加固的生产级方案,包含 AWS 自研组件和问题支持
- OpenTelemetry 提供厂商中立的仪器化库,简化代码 instrumentation
- ADOT 支持 sidecar、separate task、daemonset、high-availability replicas 等多种部署模式
## Key Quotes
> "Observability is essential for managing complexity as systems evolve." — Surav, AWS
> "Building observable applications is a developer responsibility." — Surav, AWS
## Key Concepts
- [[OpenTelemetry]]:厂商中立的遥测数据采集框架,提供统一数据格式和 11 种语言 SDK
- [[ADOT]]AWS Distro for OpenTelemetry经过安全加固的生产级发行版
- [[OpenTelemetry Collector]]:使用 receivers、processors、exporters 管理信号
- [[Trace]]:捕获应用调用栈中各层的处理时间
- [[Metrics]]:从应用层和基础设施层收集的量化指标
- [[Logs]]:应用运行日志,通过关联 ID 实现跨信号关联
## Key Entities
- [[AWS]]:云服务提供商, 提供 EKS、CloudWatch、X-Ray 等可观测性服务
- [[Amazon EKS]]AWS 弹性 Kubernetes 服务
## Connections
- [[OpenTelemetry]] ← is_basis_for ← [[ADOT]]
- [[ADOT]] ← deployed_on ← [[Amazon EKS]]
- [[ADOT]] ← integrates_with ← [[CloudWatch]]
- [[ADOT]] ← integrates_with ← [[X-Ray]]
## Contradictions
- 与 AWS CloudWatch/X-Ray 原生方案对比:
- 原生方案:集成简单但供应商锁定
- OpenTelemetry标准化的 vendor-agnostic 方案,可灵活切换后端