forked from python-diamond/Diamond
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Group certain pages and fix up MkDocs config
- Loading branch information
1 parent
020a265
commit 4b87b1f
Showing
14 changed files
with
38 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,39 @@ | ||
[](https://travis-ci.org/python-diamond/Diamond) | ||
About | ||
===== | ||
|
||
Diamond is a python daemon that collects system metrics and publishes them to | ||
[Graphite](https://github.com/python-diamond/Diamond/wiki/handler-GraphiteHandler) | ||
(and [others](https://github.com/python-diamond/Diamond/wiki/Handlers)). 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 | ||
|
||
The documentation can be found on our [wiki](https://github.com/python-diamond/Diamond/wiki). For your | ||
convenience the wiki is setup as a submodule of this checkout. You can get it via running | ||
[](https://travis-ci.org/python-diamond/Diamond) | ||
|
||
git submodule init | ||
git submodule update | ||
Diamond is a python daemon that collects system metrics and publishes them to [Graphite](handlers/GraphiteHandler) (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. | ||
|
||
Getting Started | ||
===== | ||
## Getting Started | ||
|
||
Steps to getting started: | ||
|
||
* Read the [documentation on the Wiki](https://github.com/python-diamond/Diamond/wiki) | ||
* Read the [documentation](http://diamond.readthedocs.org) | ||
* Install via "pip install diamond". The releases on github are not recommended for use. Use | ||
"pypi-install diamond" on Debian/Ubuntu systems with python-stdeb installed to build packages. | ||
* Copy the "diamond.conf.example" file to "diamond.conf". | ||
* Optional: Run "diamond-setup" to help set collectors in "diamond.conf". | ||
* Modify "diamond.conf" for your needs. | ||
* Run diamond with one of: "diamond" or "initctl start diamond" or "/etc/init.d/diamond restart". | ||
|
||
Success Stories | ||
===== | ||
## Success Stories | ||
|
||
* Diamond has successfully been deployed to a cluster of 1000 machines pushing [3 million points per minute](https://answers.launchpad.net/graphite/+question/178969). | ||
* Have a story? Please share! | ||
|
||
Repos | ||
===== | ||
## Repos | ||
|
||
Historically Diamond was a brightcove project and hosted at [BrightcoveOS](https://github.com/brightcoveos/Diamond). | ||
However none of the active developers are brightcove employees and so the development | ||
has moved to [python-diamond](https://github.com/python-diamond/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 | ||
===== | ||
* [Related Projects](https://github.com/python-diamond/Diamond/wiki/Related-Projects) | ||
## Diamond Related Projects | ||
* [Related Projects](Related-Projects) | ||
|
||
Contact | ||
===== | ||
## Contact | ||
* IRC [#python-diamond](irc://chat.freenode.net:6667/%23python-diamond) on [freenode](http://www.freenode.net). [Webchat](http://webchat.freenode.net/?channels=python-diamond) | ||
* Mailing List [[email protected]](mailto:[email protected]) - Email the list and you will automatically subscribe. [Archive](http://librelist.com/browser/diamond/) |
11 changes: 7 additions & 4 deletions
11
docs/Coding-Standards.md → docs/Development/Coding-Standards.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
# Coding Standards | ||
|
||
## Current | ||
## General | ||
|
||
* Collector default configuration should be in the get_default_config method of the class | ||
* All collectors should verify before doing. For example, if the collector requires the existence of a file, check to verify that it exists and is readable before opening. | ||
* Unit tests are highly recommended | ||
* PEP-8 | ||
* Documentation should be done docstr style at the start of the collector. This is how we generate the wiki | ||
* use small high-resolution units as default (such as bits or bytes). this gives you most options afterwards. note that graphite will show k/M/G etc prefixes by default if needed. | ||
* The use of positional arguments for functions is strongly discouraged. | ||
|
||
## Collectors | ||
|
||
* Collector default configuration should be in the get_default_config method of the class | ||
* All collectors should verify before doing. For example, if the collector requires the existence of a file, check to verify that it exists and is readable before opening. | ||
* use small high-resolution units as default (such as bits or bytes). this gives you most options afterwards. note that graphite will show k/M/G etc prefixes by default if needed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
Diamond Related Projects | ||
===== | ||
# Related Projects | ||
|
||
## Integrations | ||
|
||
* [puppet-diamond](https://github.com/vimeo/puppet-diamond) - diamond module for puppet | ||
* [chef-diamond](https://github.com/CBarraford/diamond_cookbook) - diamond cookbook for chef (Reported Broken) | ||
* [chef-diamond](https://github.com/damm/diamond) - Alternative diamond cookbook for chef (Reported Broken) | ||
* [graph-explorer](https://github.com/Dieterbe/graph-explorer) - graphite dashboard that comes with templates for diamond plugins | ||
* [graph-index](https://github.com/huoxy/graph-index) - index of graphs for diamond | ||
* [graph-index](https://github.com/huoxy/graph-index) - index of graphs for diamond |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../README.md |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
site_name: Diamond | ||
repo_url: https://github.com/python-diamond/diamond | ||
include_next_prev: false | ||
theme: mkdocs |