Go to file
Pavel Zavora 1c6e055c3d fix(ui): sort namespaces by database and retention policy #5374 2020-08-03 15:38:14 +02:00
.circleci chore: pin go to latest minor version; make docker build process more robust 2019-11-21 15:37:02 -08:00
.github chore: pin go to latest minor version; make docker build process more robust 2019-11-21 15:37:02 -08:00
canned chore: add some sweet sweet tests for filestore dashboards 2020-02-07 14:03:24 -07:00
cmd fix: token option issue 2020-04-20 18:36:41 -06:00
dist fix(ui): add HTTP security headers (#5536) 2020-07-15 08:56:46 -07:00
docs chore: remove crufty docs 2020-01-21 13:57:09 -07:00
enterprise chore: tidy prior to kv refactor (#5342) 2020-01-09 08:49:42 -07:00
etc fix: syntax in build.py 2020-02-13 09:42:47 -07:00
filestore chore: add some sweet sweet tests for filestore dashboards 2020-02-07 14:03:24 -07:00
flux fix: pass insecure cert settings to flux client 2020-02-05 11:32:19 -07:00
id chore: switch uuid libraries; clean modules after switch 2020-04-13 14:58:57 -07:00
influx fix: use auth settings when pinging source 2020-03-25 16:55:03 -06:00
kapacitor chore: tidy prior to kv refactor (#5342) 2020-01-09 08:49:42 -07:00
kv fix: update logic to work properly with existing template variables 2020-02-18 13:34:25 -08:00
log feat: add etcd as backend store (#5352) 2020-01-21 11:05:00 -07:00
memdb chore: tidy and document filestore functionality 2020-01-21 13:57:09 -07:00
mocks feat: add migrate command to chronoctl 2020-02-03 20:43:44 -07:00
multistore chore: tidy and document filestore functionality 2020-01-21 13:57:09 -07:00
noop feat: add migrate command to chronoctl 2020-02-03 20:43:44 -07:00
oauth2 chore: revert oauth inactivity change 2020-04-24 14:16:59 -07:00
organizations feat: add migrate command to chronoctl 2020-02-03 20:43:44 -07:00
protoboards Fix dashboard typos (#5249) 2019-08-20 14:14:01 -04:00
roles chore: add a KV layer prior to adding an etcd implementation (#5349) 2020-01-21 09:26:23 -07:00
server chore: prepare for 1.8.5 release 2020-07-08 11:59:54 +02:00
snowflake chore: add comments to exported bits 2020-01-23 11:15:32 -07:00
ui fix(ui): sort namespaces by database and retention policy #5374 2020-08-03 15:38:14 +02:00
.eslintrc Upgrade prettier to 1.11.1 2018-03-21 13:41:48 -07:00
.gitattributes Resolve conflicts by taking both changes 2017-04-04 15:13:01 -07:00
.gitignore chore: tidy prior to kv refactor (#5342) 2020-01-09 08:49:42 -07:00
.nvmrc chore(node): add .nvmrc to match contributing.md 2020-06-15 08:22:39 -07:00
CHANGELOG.md chore: prepare for 1.8.5 release 2020-07-08 11:59:54 +02:00
CONTRIBUTING.md chore: update docs to be more clear about node and go versions 2020-02-13 10:50:22 -08:00
Dockerfile Update go and alpine versions (#4886) 2018-12-14 15:17:16 -08:00
LICENSE Update location of InfluxData in the LICENSE file 2017-03-09 10:46:43 -06:00
LICENSE_OF_DEPENDENCIES.md chore: switch uuid libraries; clean modules after switch 2020-04-13 14:58:57 -07:00
Makefile fix(build): fix up Makefile variable quoting for build (#5397) 2020-02-21 09:08:41 -07:00
README.md chore: update docs to be more clear about node and go versions 2020-02-13 10:50:22 -08:00
agpl-3.0.md Add AGPL-3.0 2016-11-10 18:33:19 -06:00
chronograf.go fix: update logic to work properly with existing template variables 2020-02-18 13:34:25 -08:00
go.mod fix: crash on windows when build by go 1.14 (#5511) 2020-06-15 08:21:32 -07:00
go.sum fix: crash on windows when build by go 1.14 (#5511) 2020-06-15 08:21:32 -07:00
kapacitor.go Fixes topic saving for kafka handler 2018-05-21 17:50:22 -07: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

Find the most recent version of Chronograf here.

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:latest

From Source

  • Chronograf works with go 1.13+, node 10.13.0 LTS, and yarn 1.7+.
  • Chronograf requires Kapacitor 1.5.x+ to create and store alerts.
  1. Install Go
  2. Install Node (version 10.13.0 LTS) and NPM
  3. Install yarn
  4. Setup your GOPATH
  5. Build the Chronograf package:
    go get github.com/influxdata/chronograf
    cd $GOPATH/src/github.com/influxdata/chronograf
    make
    
  6. Install the newly built Chronograf package:
    go install github.com/influxdata/chronograf/cmd/chronograf
    

Upgrading

In order to upgrade from a Chronograf older than 1.4.0 (<=1.3.10) to 1.8 or newer, you must first upgrade to any version between 1.4.0 and the newest 1.7.x version.

Compatibility

Chronograf 1.8 introduces a breaking change in the dashboards API (/chronograf/v1/dashboards) which may affect certain clients. The id previously was being returned as an integer. Since javascript can't cleanly handle numbers with more than 16 digits (console.log(12345678901234567890) yields 12345678901234567000), integer ids have been exposed as strings. As with other resource ids, they will remain stored internally as integers, so no database migration is required. If using .dashboard files to pre-populate available dashboards, those files should be updated and the id should be converted to a string value.

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.