Giter Club home page Giter Club logo

fiery's Introduction

Ragnar Fiery分布式性能跟踪系统

项目简介

  • Fiery跟踪系统是基于内部Ragnar分布式跟踪设计做的嵌入式精简版
  • 此系统针对小容量的PHP系统提供分布式调用跟踪及性能监控服务(APM-Application Performance Management)
  • 提供分布式系统性能跟踪,依赖接口性能跟踪,系统故障去重合并等功能

功能组成

  • 系统埋点库(ragnarsdk)用于植入系统埋点库产生调用日志
  • 日志收集端(logpusher收集埋点库日志推送到服务端)
  • 服务端(日志存储,索引,web管理界面服务)

开源协议

  • Apache 2.0

系统安装


RagnarSDK埋点库

埋点库使用PHP制作,请参考ragnarsdk目录内 INSTALL.md 及 README.md

RagnarSDK埋点库-环境依赖:
  • PHP 5.5+
  • bcmath

服务端

  • 主要服务,用于记录、索引、展示所有相关日志及性能信息
服务端-系统要求
服务端-安装
  • 安装 Java 8 Runtime
  • 拷贝 ragnarserver-0.5.1-SNAPSHOT.jar 包到服务器
  • 创建系统日志目录:mkdir logs
  • 创建索引存储目录:mkdir index
  • 创建日志存储目录:mkdir db
  • 启动:nohup java -Xms3750m -Xmx3750m -XX:ReservedCodeCacheSize=240m -XX:+UseCompressedOops -jar ragnarserver-0.5.1-SNAPSHOT.jar -type server --server.port=9090 &
  • 启动成功后浏览器访问 http://服务器IP:9090/ragnar/ 即可看到相关界面
  • 注意:当前版本对性能统计数据没有做持久化, 重启会清零

日志收集服务

  • 安装 JDK8
  • 拷贝 ragnarserver-0.5.1-SNAPSHOT.jar 包到服务器
  • 启动:nohup java -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseCompressedOops -jar target/ragnarserver-0.5.1-SNAPSHOT.jar -type logpush -path 这里写ragnarsdk产生日志的目录地址 -host 主服务IP:主服务端口(9090) -outtime 7 &
  • 其他方式 nohup php logcollector/tail.php ragnarsdk日志目录 0 & (仅用于测试,服务器地址等信息需要在文件内更改)

todo

  • 增加bash脚本(start/restart/stop等)
  • 对性能统计数据做持久化
  • 增加对statsd的支持

联系我们

  • 微博广告 ADINF 团队 出品
  • QQ群: 318051466

fiery's People

Contributors

137-rick avatar suchasplus avatar

Watchers

James Cloos avatar  avatar

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.