• graphite积累(二)


    安装graphite的时候发现,graphite安装分graphite-web,whisper,carbon。

    graphite-web顾名思义,是graphite的网站部分,使用Django框架,使用cairo来根据需要呈现图形

    whisper:数据库,用来储存时间序列数据

    carbon:监听时间序列数据

    graphite的工作流程是,carbon先把获取的数据写入数据库,然后webapp读取,最后显示图形。

    目录说明:

    bin  数据收集相关工具

    conf  数据储存相关配置文件

      carbon.conf  数据收集carbon进程涉及的配置

      dashboard.conf  Dashboard UI相关配置

      graphite.wagi  wsgi相关配置

      storage-schemas.conf  作用于数据库的图表定义

      whitelist.conf  定义允许存储的metrics白名单

      graphtemplates.conf  图形化展示数据时使用的模版

    examples  脚本试例

    lib  carbon和twisted库

    storages  数据文件储存目录

    webapp  数据前端涉及程序

    example

    通过脚本传递数据给graphite:

  • 相关阅读:
    python 变量作用域
    python 函数与模块
    python 程序控制结构
    python zip() map() filter()
    python 迭代和列表解析
    python 字典视图
    Matlab程序设计
    Matlab 基本绘图练习 包含极坐标
    Matlab 软件绘图
    Pandas 控制输出格式和精度
  • 原文地址:https://www.cnblogs.com/xinma/p/4167234.html
Copyright © 2020-2023  润新知