493befbdc7
Whenver sources are present, there should be exactly one default source. Prior to this commit, it was possible to add the first source as a non-default source and circumvent this invariant. This unfortunately requires a bit of special-casing logic in s.Add and requires a query to fetch the number of sources currently persisted. Tests have been added to cover this as well as deleting the final source, to ensure that there aren't any odd indexing panics that might result from trying to find another candidate default source when deleting. |
||
---|---|---|
.github | ||
bolt | ||
canned | ||
cmd/chronograf | ||
dist | ||
docs | ||
etc | ||
influx | ||
jwt | ||
kapacitor | ||
layouts | ||
log | ||
server | ||
ui | ||
uuid | ||
.gitignore | ||
CONTRIBUTING.md | ||
Dockerfile | ||
Godeps | ||
Makefile | ||
README.md | ||
chronograf.go | ||
circle.yml |
README.md
Chronograf
An Open-Source UI for Monitoring and Alerting your Infrastructure
Chronograf is an open-source web application written in go and react.js that is designed to simply and easily visualize your monitoring data and provide tools to create alerting and automation rules.
Features
- High level infrastructure view and search
- Application specific monitoring for:
- System stats
- InfluxDB
- Docker Containers
- Kuberentes
- Redis
- NSQ
- MySQL
- PostgreSQL
- Kapacitor alert creation and tracking
Installation
We recommend installing Chrongraf using one of the pre-built packages. Then start Chronograf using:
service chronograf start
if you have installed Chronograf using an official Debian or RPM package.systemctl start chronograf
if you have installed Chronograf using an official Debian or RPM package, and are running a distro withsystemd
. For example, Ubuntu 15 or later.$GOPATH/bin/chronograf
if you have built Chronograf from source.
Builds
- Chronograf works with go 1.7.3, npm 3.10.7 and node v6.6.0. Additional version support of these projects will be implemented soon, but these are the only supported versions to date.
- Chronograf requires Kapacitor 1.1 to create and store alerts.
- To build assets and the go server, run
make
. - To run server either
./chronograf --port 8888
ormake run
Getting Started
See the getting started guide for setup instructions for chronograf and the other components of the TICK stack
Contributing
Please see the contributing guide for details on contributing to Chronograf.