0c86241c5b
* webpack poc, this is not going to work for plugins, dam * tech: webpack and systemjs for plugins starting to work * tech: webpack and systemjs combo starting to work * tech: webpack + karma tests progress * tech: webpack + karma progress * tech: working on tests * tech: webpack * tech: webpack + karma, all tests pass * tech: webpack + karma, all tests pass * tech: webpack all tests pass * webpack: getting closer * tech: webpack progress * webpack: further build refinements * webpack: ng annotate fixes * webpack: optimized build fix * tech: minor fix for elasticsearch * tech: webpack + ace editor * tech: restored lodash move mixin compatability * tech: added enzyme react test and upgraded to react v16 * tech: package version fix * tech: added testdata to built in bundle * webpack: sass progress * tech: prod & dev build is working for the sass * tech: clean up unused grunt stuff and moved to scripts folder * tech: added vendor and manifest chunks, updated readme and docs * tech: webpack finishing touches |
||
---|---|---|
.github | ||
.hooks | ||
conf | ||
docker | ||
docs | ||
emails | ||
examples | ||
packaging | ||
pkg | ||
public | ||
scripts | ||
tests | ||
vendor | ||
.bra.toml | ||
.editorconfig | ||
.gitignore | ||
.jscs.json | ||
.jshintrc | ||
appveyor.yml | ||
build.go | ||
CHANGELOG.md | ||
circle.yml | ||
CODE_OF_CONDUCT.md | ||
Gruntfile.js | ||
karma.conf.js | ||
latest.json | ||
LICENSE.md | ||
Makefile | ||
NOTICE.md | ||
package.json | ||
README.md | ||
ROADMAP.md | ||
tsconfig.json | ||
tslint.json | ||
yarn.lock |
Grafana
Website | Twitter | Community & Forum
Grafana is an open source, feature rich metrics dashboard and graph editor for Graphite, Elasticsearch, OpenTSDB, Prometheus and InfluxDB.
Installation
Head to docs.grafana.org and download the latest release.
If you have any problems please read the troubleshooting guide.
Documentation & Support
Be sure to read the getting started guide and the other feature guides.
Run from master
If you want to build a package yourself, or contribute. Here is a guide for how to do that. You can always find the latest master builds here
Dependencies
- Go 1.9
- NodeJS LTS
Building the backend
go get github.com/grafana/grafana
cd ~/go/src/github.com/grafana/grafana
go run build.go setup
go run build.go build
Building frontend assets
To build less to css for the frontend you will need a recent version of node (v6+), npm (v2.5.0) and grunt (v0.4.5). Run the following:
npm install -g yarn
yarn install --pure-lockfile
npm run build
To rebuild frontend assets (typesript, sass etc) as you change them start the watcher via.
npm run watch
Run tests
npm run test
Run tests in watch mode
npm run test-watch
Recompile backend on source change
To rebuild on source change.
go get github.com/Unknwon/bra
bra run
Open grafana in your browser (default: http://localhost:3000
) and login with admin user (default: user/pass = admin/admin
).
Dev config
Create a custom.ini in the conf directory to override default configuration options. You only need to add the options you want to override. Config files are applied in the order of:
- grafana.ini
- custom.ini
Contribute
If you have any idea for an improvement or found a bug do not hesitate to open an issue. And if you have time clone this repo and submit a pull request and help me make Grafana the kickass metrics & devops dashboard we all dream about!
License
Grafana is distributed under Apache 2.0 License. Work in progress Grafana 2.0 (with included Grafana backend)