Diamond
Diamond is a python daemon that collects system metrics and publishes them to Graphite (and others). It is capable of collecting cpu, memory, network, i/o, load and disk metrics. Additionally, it features an API for implementing custom collectors for gathering metrics from almost any source.
Diamond Diamond是Python的守护进程,它收集指标,并且将他们发布至Graphite或其它后端。 它能够收集CPU,内存,网络,I/O,负载和硬盘指标。除此,它拥有实现自定义收集器的API,该API几乎能 从任何资源中获取指标
Getting Started
Steps to getting started:
- Read the documentation
- Install via
pip install diamond
. The releases on GitHub are not recommended for use. Usepypi-install diamond
on Debian/Ubuntu systems with python-stdeb installed to build packages. - Copy the
diamond.conf.example
file todiamond.conf
. - Optional: Run
diamond-setup
to help set collectors indiamond.conf
. - Modify
diamond.conf
for your needs. - Run diamond with one of:
diamond
orinitctl start diamond
or/etc/init.d/diamond restart
.
Success Stories
- Diamond has successfully been deployed to a cluster of 1000 machines pushing 3 million points per minute.
- Diamond is deployed on Fabric's infrastructure, polling hundreds of metric sources and pushing millions of points per minute.
- Have a story? Please share!
Repos
Historically Diamond was a brightcove project and hosted at BrightcoveOS. However none of the active developers are brightcove employees and so the development has moved to python-diamond. We request that any new pull requests and issues be cut against python-diamond. We will keep BrightcoveOS updated and still honor issues/tickets cut on that repo.
Diamond Related Projects
Contact
- IRC #python-diamond on freenode. Webchat
- Mailing List diamond@librelist.com - Email the list and you will automatically subscribe. Archive