mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 15:08:03 +08:00

If notifications are enabled in the config, Adds a eventHandler accepting Notification{} payloads to the internal Bus. The eventHandler then marshals the payload into json and sends it to a rabbitmq topic exchange using the Notification.Priority+Noticiation.EventType as the routing key. eg. INFO.account.created Currently, notifications are only being emitted for INFO.account.created INFO.account.updated INFO.user.created INFO.user.updated
Basic import of json dashboards is working, needs more work to handle updates, and continous watching, #22
Work in progress Grafana 2.0 (with included Grafana backend)
building and running
Before trying to build make sure the grafana frontend git submodule is loaded.
By clone recursive
git clone --recursive <this_repo>
In case of after clone
git submodule update --init
Building
go run build.go setup (only needed once to install godep)
go run build.go build
For quicker builds:
godep restore (will pull down all golang lib dependecies in your current GOPATH)
go build -o ./bin/grafana .
To build less to css for frontend:
cd grafana
npm install
npm install -g grunt-cli
grunt
To rebuild on source change:
go get github.com/Unknwon/bra
bra run
Description
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
alertinganalyticsbusiness-intelligencedashboarddata-visualizationelasticsearchgografanahacktoberfestinfluxdbmetricsmonitoringmysqlpostgresprometheus
Readme
AGPL-3.0
2.9 GiB
Languages
TypeScript
54.4%
Go
42.4%
CUE
0.7%
Rich Text Format
0.5%
HTML
0.5%
Other
1.3%