Go to file
Michael Desa 8415e48165 Add commands to users & create superadmin
This PR introduces two new commands:

1. `list-users` which lists all users in boltdb
2. `add-superadmin` which can be user to promote existing users to
superadmins, or creates new users that are superadmins

Currently this work was done as a separate binary, but the intention is
to make it a part of the `chronograf` binary.

Connect https://github.com/influxdata/chronograf/issues/2744
2018-02-08 10:44:49 -05:00
.github Clarify changelog update requirement (#1525) 2017-05-22 12:59:43 -07:00
bolt Merge pull request #2703 from influxdata/feature/global-users 2018-02-06 14:30:08 -08:00
canned Move canned apps to the filestore directory 2017-12-18 17:31:45 -08:00
cmd Add commands to users & create superadmin 2018-02-08 10:44:49 -05:00
dist Update to fix go linter issues 2017-03-06 10:11:52 -06:00
docs Create backup of database when moving versions 2017-12-16 12:27:24 -08:00
enterprise Merge branch 'master' into multitenancy 2017-12-05 13:00:48 -08:00
etc Merge pull request #2761 from influxdata/feature/fix-init 2018-02-06 14:03:14 -08:00
filestore Add filestore impl of kapacitor and source stores 2017-12-19 13:14:00 -08:00
id Add id generator based on time 2017-12-18 17:31:45 -08:00
influx Fix template rendering to ignore template if not in query 2017-12-11 09:49:24 -06:00
integrations Merge pull request #2703 from influxdata/feature/global-users 2018-02-06 14:30:08 -08:00
kapacitor Merge branch 'master' into fix/kapa-idvar-no-groups 2018-01-25 15:45:33 -06:00
log Add structured logging to underlying http server 2017-03-06 15:16:45 -06:00
memdb Move MultiSourceStore to the multistore package 2017-12-18 17:31:45 -08:00
mocks Backup/Migrate/Initialize moved into Open 2017-12-18 12:06:17 -08:00
multistore Add organization multistore over bolt and filesystem 2017-12-19 10:13:46 -08:00
noop Wire up bolt db ConfigStore in Server 2017-12-13 10:46:08 -08:00
oauth2 Merge remote-tracking branch 'origin/master' into multitenancy 2017-12-05 11:43:23 -08:00
organizations Change Organization ID to string from uint64 2017-12-19 10:13:43 -08:00
roles Add wildcard role and validate users roles in CRUD 2018-01-12 12:27:55 -05:00
server Allow user to delete themselves 2018-02-07 09:46:08 -05:00
ui small fixes from PR review to pull request #2757 2018-02-07 15:24:32 -08:00
.bumpversion.cfg Update changelog for 1.4.0.1 2018-01-25 13:09:45 -08:00
.gitattributes Resolve conflicts by taking both changes 2017-04-04 15:13:01 -07:00
.gitignore Add comments to .gitignore 2017-12-16 13:56:22 -08:00
CHANGELOG.md Merge pull request #2757 from influxdata/bugfix/kapacitor-test-button-errors-SMTP 2018-02-07 15:21:23 -08:00
CONTRIBUTING.md Change some remaining npm mentions to yarn 2017-08-07 19:28:23 +00:00
Dockerfile Update Dockerfile to use VOLUMEs 2016-11-15 09:07:12 -06:00
Gopkg.lock Fix translation of pushover, http, tcp, log, exec alerts to tickscript 2017-12-12 18:20:38 -06:00
Gopkg.toml Fix translation of pushover, http, tcp, log, exec alerts to tickscript 2017-12-12 18:20:38 -06:00
LICENSE Update location of InfluxData in the LICENSE file 2017-03-09 10:46:43 -06:00
LICENSE_OF_DEPENDENCIES.md Add download.js license 2017-09-13 09:32:43 -07:00
Makefile Update Makefile to require go 1.8 for testing 2017-12-19 10:13:46 -08:00
README.md Update changelog for 1.4.0.1 2018-01-25 13:09:45 -08:00
agpl-3.0.md Add AGPL-3.0 2016-11-10 18:33:19 -06:00
chronograf.go Add legend to dashboard cells 2018-02-05 14:25:57 -06:00
circle.yml Update docker build container to use chronograf-20180206 2018-02-06 14:44:05 -06:00
kapacitor.go Rename AlertHandlers to AlertNodes 2017-11-30 16:16:44 -08:00

README.md

Chronograf

Chronograf is an open-source web application written in Go and React.js that provides the tools to visualize your monitoring data and easily create alerting and automation rules.

Features

Host List

  • List and sort hosts
  • View general CPU and load stats
  • View and access dashboard templates for configured apps

Dashboard Templates

Chronograf's pre-canned dashboards for the supported Telegraf input plugins. Currently, Chronograf offers dashboard templates for the following Telegraf input plugins:

Note: If a telegraf instance isn't running the system and cpu plugins the canned dashboards from that instance won't be generated.

Data Explorer

Chronograf's graphing tool that allows you to dig in and create personalized visualizations of your data.

  • Generate and edit InfluxQL statements with the query editor
  • Use Chronograf's query templates to easily explore your data
  • Create visualizations and view query results in tabular format

Dashboards

Create and edit customized dashboards. The dashboards support several visualization types including line graphs, stacked graphs, step plots, single statistic graphs, and line-single-statistic graphs.

Use Chronograf's template variables to easily adjust the data that appear in your graphs and gain deeper insight into your data.

Kapacitor UI

A UI for Kapacitor alert creation and alert tracking.

  • Simply generate threshold, relative, and deadman alerts
  • Preview data and alert boundaries while creating an alert
  • Configure alert destinations - Currently, Chronograf supports sending alerts to:
  • View all active alerts at a glance on the alerting dashboard
  • Enable and disable existing alert rules with the check of a box
  • Configure multiple Kapacitor instances per InfluxDB source

User and Query Management

Manage users, roles, permissions for OSS InfluxDB and InfluxData's Enterprise product. View actively running queries and stop expensive queries on the Query Management page.

TLS/HTTPS Support

See Chronograf with TLS for more information.

OAuth Login

See Chronograf with OAuth 2.0 for more information.

Advanced Routing

Change the default root path of the Chronograf server with the --basepath option.

Versions

The most recent version of Chronograf is v1.4.0.1.

Spotted a bug or have a feature request? Please open an issue!

Known Issues

The Chronograf team has identified and is working on the following issues:

  • Chronograf requires users to run Telegraf's CPU and system plugins to ensure that all Apps appear on the HOST LIST page.

Installation

Check out the INSTALLATION guide to get up and running with Chronograf with as little configuration and code as possible.

We recommend installing Chronograf 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 with systemd. For example, Ubuntu 15 or later.
  • $GOPATH/bin/chronograf if you have built Chronograf from source.

By default, chronograf runs on port 8888.

With Docker

To get started right away with Docker, you can pull down our latest release:

docker pull chronograf:1.4.0.1

From Source

  • Chronograf works with go 1.8.x, node 6.x/7.x, and yarn 0.18+.
  • Chronograf requires Kapacitor 1.2.x+ to create and store alerts.
  1. Install Go
  2. Install Node and NPM
  3. Install yarn
  4. Setup your GOPATH
  5. Run go get github.com/influxdata/chronograf
  6. Run cd $GOPATH/src/github.com/influxdata/chronograf
  7. Run make
  8. To install run go install github.com/influxdata/chronograf/cmd/chronograf

Documentation

Getting Started will get you up and running with Chronograf with as little configuration and code as possible. See our guides to get familiar with Chronograf's main features.

Documentation for Telegraf, InfluxDB, and Kapacitor are available at https://docs.influxdata.com/.

Chronograf uses swagger to document its REST interfaces. To reach the documentation, run the server and go to the /docs for example at http://localhost:8888/docs

The swagger JSON document is in server/swagger.json

Contributing

Please see the contributing guide for details on contributing to Chronograf.