Giter Club home page Giter Club logo

zipkin-with-jaeger-on-aliyun-log-service's Introduction

Zipkin 日志服务集成

内容

集成原理

Jaeger on Aliyun Log Service 是基于 Jeager 开发的分布式追踪系统,支持将采集到的追踪数据持久化到日志服务中,并通过 Jaeger 的原生接口进行查询和展示。

Jaeger on Aliyun Log Service 包含 Agent、Collector 和 Query 等组件。其中 Collector 和 Zipkin 做了兼容,它暴露的9411端口可以接收 Zipkin libraries 发送过来的数据。

集成步骤

  • 开通日志服务。
  • 启动 jaeger-collector、jaeger-query。
  • 将采集到的数据配置发往 jaeger-collector。
  • 使用 jaeger UI 对追踪数据进行查询分析。

集成详细步骤

日志服务

登录日志服务控制台,创建用于存储追踪数据的 project、logstore。

启动 Jaeger on Aliyun Log Service

docker-compose -f aliyunlog-jaeger-docker-compose.yml up

注意:运行该命令之前请替换如下参数为真实值 ${PROJECT}、${ENDPOINT}、${ACCESS_KEY_ID}、${ACCESS_KEY_SECRET}、${SPAN_LOGSTORE}

采集

以 OpenZipkin Java libraries brave 为例,配置 endpoint 将数据发往 jaeger-collector。

访问 Jaeger UI

http://localhost:16686/search

参考资料

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.