OpenStack Ceilometer简介
Posted on 2013年 3 月 21 日 by Yansu — NoComments ↓Ceilometer项目创建时最初的目的是实现一个能为计费系统采集数据的框架。在G版的开发中,社区已经更新了他们的目标,新目标是希望Ceilometer成为OpenStack里数据采集(监控数据、计费数据)的唯一基础设施,采集到的数据提供给监控、计费、面板等项目使用。
Project Goal
For Grizzly, the new objective is The project aims to become the infrastructure to collect measurements within OpenStack so that no two agents would need to be written to collect the same data. It’s primary targets are monitoring and metering, but the frameworkshould be easily expandable to collect for other needs. To that effect, Ceilometer should be able to share collected data with a variety of consumers.
In the 0.1 (folsom) release its goal was just to deliver a unique point of contact for billing systems to aquire all meters they need to establish customer billing, across all current and futureOpenStack corecomponents.
Wiki地址:https://wiki.openstack.org/wiki/Ceilometer
代码地址:https://github.com/openstack/ceilometer
文档地址:http://docs.openstack.org/developer/ceilometer/
v1 delivered with Folsom with all functions required to collect base metering info and provide standard API access
v2 delivered with G as an incubated project with (subject to variation)
End-User API access to own metering information
Integration of information summary as an Horizon plugin
New agents for other OpenStack components (Quantum Engines? Heat? etc…)
Multi publisher to handle other usage for data collection
Individual frequency per meter
Plugin
Ceilometer实现的Plugin框架依赖setuptools的DynamicDiscovery of Services and Plugins实现。这是Ceilometer能进行扩展的基础。Ceilometer中有四种类型的Plugin:Poller,Publisher,Notification和Transformer。
Collector
Collector负责监听消息队列,将Publisher发布的消息(Meter Message)存储到DataStore。 DataStore
由MongoDB实现。 API
负责为其它项目提供数据,例如计费、面板等。
原文地址 http://alexyang.sinaapp.com/?p=300
agent
代理,运行在OpenStack架构中用来测量和发送监控结果到收集器的服务。 API server
Ceilometer的HTTP REST API服务 ceilometer
本项目名称,来源于云高计/云幂测量仪,测量云底的高度的仪器 central agent
中央代理,运行在OpenStack架构中中央管理节点上用来测量和发送监控结果到收集器的服务。 collector
收集器,运行在OpenStack架构中的服务,用来监控来自其他OpenStack组件和监控代理发送来的通知,并且将其存入数据库中。 compute agent
计算代理,运行再OpenStack架构中计算节点上的服务,用来测量和发送监控结果到搜集器中。 data store
数据存储,搜集数据的存储系统。 meter
计量值,被跟踪资源的测量值。一个实例有很多的计量值,比如实例运行时长、CPU使用时间、请求磁盘的数量等。在Ceilometer中有三种计量值: