可视化系统监控工具 Cloudinsight Agent 正式开源

兰, 若 业界动态327,48417字数 1596阅读5分19秒阅读模式

很高兴地宣布 Cloudinsight Agent 在 BSD 开源协议下正式开源了。我们的工程师在开源前已将代码用 Golang 重写,更加清晰简洁,欢迎大家参与到 Cloudinsight Agent 的开发和迭代中来。

Cloudinsight

cloudinsight-agent开源

为什么要用 Golang 重写和开源

Cloudinsight是一个可视化系统监控工具,能够对数据指标进行聚合、分组、过滤、 管理、计算;并提供团队协作功能,共同管理数据和报警事件。而这些的关键,正是 Cloudinsight Agent。文章源自运维生存时间-https://www.ttlsa.com/news/cloudinsight-agent-opensource/

目前探针存在的问题:文章源自运维生存时间-https://www.ttlsa.com/news/cloudinsight-agent-opensource/

  • 各个服务的数据抓取存在强依赖关系,任何一个服务阻塞都可能导致探针进程挂掉。
  • 缺乏对 log 和 json 的支持,用户需要通过 sdk 解析相关数据。
  • 针对 自定义Plugin 的支持不够灵活,用户需要熟悉 Python,并按照探针定义好的接口上传数据。
  • 探针使用 Omnibus 进行打包部署,虽然能解决用户安装上的一些问题,但对于新人来说,上手确实不是件容易的事,况且这个项目本身也有一些 bug,经历过的人自然懂。

用 Golang 重写:文章源自运维生存时间-https://www.ttlsa.com/news/cloudinsight-agent-opensource/

  • 解决以上提到的种种问题。
  • 优化探针架构。
  • 提升探针性能。
  • 开源,接受社区的监督,让深度用户可以参与到探针的版本迭代中来。

现在 Golang 版探针还是 Beta 版,所以支持的平台服务还不多,但这正是我们将 Cloudinsight Agent 上的工作推向开源的第一步,也希望有更多的开发者参与进来,让项目能有更快的进展。文章源自运维生存时间-https://www.ttlsa.com/news/cloudinsight-agent-opensource/

项目计划

增加支持的平台和平台服务文章源自运维生存时间-https://www.ttlsa.com/news/cloudinsight-agent-opensource/

目前用 Golang 重写的 Cloudinsight Agent 仅在 Linux 上进行了测试,未来会逐渐将原有 Python 探针支持的平台和平台服务替换至 Golang 版本,包括但不限于:文章源自运维生存时间-https://www.ttlsa.com/news/cloudinsight-agent-opensource/

Cloudinsight

cloudinsight-agent开源

加入项目

$ mkdir -p $GOPATH/src/github.com/cloudinsight
$ cd $GOPATH/src/github.com/cloudinsight
$ git clone https://github.com/cloudinsight/cloudinsight-agent
$ cd cloudinsight-agent $ make build

使用

首次使用需设置 License Key,可在 https://cloud.oneapm.com/#/settings 中获取文章源自运维生存时间-https://www.ttlsa.com/news/cloudinsight-agent-opensource/

$ cp cloudinsight-agent.conf.example cloudinsight-agent.conf
$ vi cloudinsight-agent.conf
...
license_key = "*********************"

在前台中运行命令文章源自运维生存时间-https://www.ttlsa.com/news/cloudinsight-agent-opensource/

$ ./bin/cloudinsight-agent

致谢

从 15 年 8 月至今,Cloudinsight Agent 经过了 20 余次的迭代,从第一天的的 20 个用户发展到现在 5 万多的探针数,感谢长久以来支持 Cloudinsight 和提供宝贵建议的用户和开发者们,也再次感谢以下影响了我们的优秀的开源项目:文章源自运维生存时间-https://www.ttlsa.com/news/cloudinsight-agent-opensource/

- ddagent文章源自运维生存时间-https://www.ttlsa.com/news/cloudinsight-agent-opensource/

- telegraf文章源自运维生存时间-https://www.ttlsa.com/news/cloudinsight-agent-opensource/

- prometheus文章源自运维生存时间-https://www.ttlsa.com/news/cloudinsight-agent-opensource/

- mackerel文章源自运维生存时间-https://www.ttlsa.com/news/cloudinsight-agent-opensource/

在项目中有代码贡献的开发者,Cloudinsight 将送出一件限量 Tee 作为答谢。文章源自运维生存时间-https://www.ttlsa.com/news/cloudinsight-agent-opensource/

Cloudinsight文章源自运维生存时间-https://www.ttlsa.com/news/cloudinsight-agent-opensource/

Cloudinsight 官网:Cloudinsight.oneapm.com ") 欢迎访问了解文章源自运维生存时间-https://www.ttlsa.com/news/cloudinsight-agent-opensource/

Cloudinsight文章源自运维生存时间-https://www.ttlsa.com/news/cloudinsight-agent-opensource/

图:在 Cloudinsight 中用标签进行集群管理文章源自运维生存时间-https://www.ttlsa.com/news/cloudinsight-agent-opensource/ 文章源自运维生存时间-https://www.ttlsa.com/news/cloudinsight-agent-opensource/

weinxin
我的微信
微信公众号
扫一扫关注运维生存时间公众号,获取最新技术文章~
兰, 若
  • 本文由 投稿,于19/10/2016 20:00:07发表
  • 转载请务必保留本文链接:https://www.ttlsa.com/news/cloudinsight-agent-opensource/
评论  3  访客  3
    • 匿名
      匿名 9

      rwerq暗示法发送的

      • yanghongkjxy@163.com
        yanghongkjxy@163.com 1

        比较不错的解决方案

        • 匿名
          匿名 9

          已star!

        评论已关闭!