35 lines
1.1 KiB
Markdown
35 lines
1.1 KiB
Markdown
---
|
||
title: "OpenTelemetry"
|
||
type: concept
|
||
tags:
|
||
- OpenTelemetry
|
||
- Observability
|
||
- Telemetry
|
||
- Cloud-Native
|
||
date: 2024-04-02
|
||
---
|
||
|
||
## Definition
|
||
OpenTelemetry(OTel)是厂商中立的遥测数据采集框架,提供统一的数据格式和跨语言 SDK,用于收集 Metrics、Logs、Traces 三种可观测性信号。
|
||
|
||
## Core Components
|
||
- **SDKs**:支持 11 种编程语言的自动和手动 instrumentation 库
|
||
- **Collector**:数据标准化和转发组件
|
||
- **Protocol (OTLP)**:统一的遥测数据格式
|
||
|
||
## Key Capabilities
|
||
- 厂商中立:不绑定特定后端监控系统
|
||
- 自动 instrumentation:自动捕获常见框架和库的遥测数据
|
||
- 统一数据格式:OTLP 标准化跨语言数据交换
|
||
- 可扩展架构:支持自定义处理器和导出器
|
||
|
||
## Related Concepts
|
||
- [[OpenTelemetry-Collector]]:数据收集和处理核心组件
|
||
- [[ADOT]]:AWS 发行版
|
||
- [[OTLP]]:OpenTelemetry Protocol 数据格式
|
||
- [[可观测性三大支柱]]:Metrics、Logs、Traces
|
||
|
||
## Use Cases
|
||
- 微服务架构的可观测性集成
|
||
- 跨云厂商的监控数据统一采集
|
||
- 统一日志、指标、追踪数据格式 |