b8e335fbee
Previously, the logic to enforce on default source relied on the public-facing CRUD methods already provided by SourcesStore. This was prone to deadlocks due to the possibility of acquiring a transaction within a transaction. This extracts the logic that was performed within the transactions of each CRUD action and makes the private methods that receive a *bolt.Tx. This allows the convenience methods that enforce default source to use this private API and provide the transaction from its caller. This ensures that there is only ever one transaction acquired by each expored CRUD method. |
||
---|---|---|
.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.