influxdb/services/admin
Jonathan A. Sternberg ec57108520 Use proper uber-go/zap import path
It looks like the real import path to the project is go.uber.org/zap
instead of github.com/uber-go/zap since the example in the project
references that path.
2016-12-15 08:54:14 -06:00
..
assets Truncate the version string when linking to the documentation 2016-10-27 16:40:08 -05:00
statik Truncate the version string when linking to the documentation 2016-10-27 16:40:08 -05:00
README.md Move admin UI assets to the admin service directory 2016-02-16 17:12:39 -08:00
admin.go Move admin UI assets to the admin service directory 2016-02-16 17:12:39 -08:00
config.go Update help and remove unused config options from the configuration file 2016-06-21 14:06:05 -05:00
config_test.go rename influxdb/influxdb to influxdata/influxdb 2016-02-10 10:26:18 -07:00
service.go Use proper uber-go/zap import path 2016-12-15 08:54:14 -06:00
service_test.go rename influxdb/influxdb to influxdata/influxdb 2016-02-10 10:26:18 -07:00

README.md

InfluxDB Admin Interface

This is the built-in admin interface that ships with InfluxDB. The service is intended to have little overhead and minimal preprocessing steps.

How it works

Static assets, located in the assets directory, are embedded in the influxd binary and served from memory using a simple fileserver.

The admin UI itself uses React for the user interface to interact directly with the InfluxDB API, usually running on port 8086.

Building

The only step required to bundle the admin UI with InfluxDB is to create a compressed file system using statik as follows:

go get github.com/rakyll/statik  # make sure $GOPATH/bin is listed in your PATH
cd $GOPATH/src/github.com/influxdata/influxdb
go generate github.com/influxdata/influxdb/services/admin

The go generate ./... command will run statik to generate the statik/statik.go file. The generated go file will embed the admin interface assets into the InfluxDB binary.

This step should be run before submitting any pull requests which include modifications to admin interface assets.