APM 应用性能观测工具

发布时间: 更新时间: 总字数:581 阅读时间:2m 作者: IP上海 分享 网址

APM(Application Performance Monitoring,应用性能观测) 工具介绍

介绍

  • Google Dapper, a Large-Scale Distributed Systems Tracing Infrastructure 是 Google 为了解决由不同团队,不同语言,不同模块,部署在不同服务器,不同数据中心的所带来的软件复杂性(很难去分析,无法做定位),而开发的一个分布式跟踪系统
    • 其中 Jaeger、Zipkin 等基于 Dapper 实际
  • Distributed Tracing(分布式追踪,也称调用链跟踪) 在软件工程中是指捕获和记录有关软件程序执行的信息的过程(参考
    • 场景:多个微服务之间,调用链的复杂的情况
    • 作用:耗时分析、可视化错误等

常见的APM

  • Apache skywalking
    • Demo skywalking/skywalking
  • Elastic APM
  • Glowroot
  • Pinpoint
  • jaeger
  • Zipkin
    • Jaeger 兼容 Zipkin
  • uptrace/uptrace Open source APM: OpenTelemetry traces, metrics, and logs
  • 国内的产品
    • 鹰眼(阿里)
    • 点评 dianping/cat 作为服务端项目基础组件,已经在美团点评的基础架构中间件框架(MVC框架,RPC框架,数据库框架,缓存框架等,消息队列,配置系统等)深度集成,为美团点评各业务线提供系统丰富的性能指标、健康状况、实时告警等。
    • Hydra(京东)
    • traces(滴滴)

Jaeger vs Zipkin

  • 参考 May 23, 2018
  • jaeger 兼容的客户端语言和采样策略上较好,zipkin 传输层较强
  • jaeger 基于 go 语言编写的,在并发性能、对系统资源的消耗上也对基于 java 的 openzipkin 强
表头 表头 表头
JAEGER ZIPKIN
OpenTracing compatibility Yes Yes
OpenTracing-compatible clients Python Go Node Java C++ C# Ruby * PHP * Rust * Go Java Ruby * C++ Python (work in progress)
Storage support In-memory Cassandra Elasticsearch ScyllaDB (work in progress) In-memory MySQL Cassandra Elasticsearch
Sampling Dynamic sampling rate   (supports rate limiting and  probabilistic sampling strategies) Fixed sampling rate (supports probabilistic sampling strategy)
Span transport UDP HTTP HTTP Kafka Scribe AMQP
Docker ready Yes Yes
  • 社区活跃对比,jaeger 较活跃
$ curl 'https://api.github.com/repos/openzipkin/zipkin' 2>/dev/null | grep -E 'created_at|updated_at|stargazers_count|watchers_count|forks_count'
  "created_at": "2012-06-06T18:26:16Z",
  "updated_at": "2024-06-09T10:23:19Z",
  "stargazers_count": 16793,
  "watchers_count": 16793,
  "forks_count": 3073,
$ curl 'https://api.github.com/repos/jaegertracing/jaeger' 2>/dev/null | grep -E 'created_at|updated_at|stargazers_count|watchers_count|forks_count'
  "created_at": "2016-04-15T18:49:02Z",
  "updated_at": "2024-06-09T21:47:51Z",
  "stargazers_count": 19710,
  "watchers_count": 19710,
  "forks_count": 2349,
Home Archives Categories Tags Statistics
本文总阅读量 次 本站总访问量 次 本站总访客数