[Grafana](https://grafana.com) [![Circle CI](https://circleci.com/gh/grafana/grafana.svg?style=svg)](https://circleci.com/gh/grafana/grafana) [![Go Report Card](https://goreportcard.com/badge/github.com/grafana/grafana)](https://goreportcard.com/report/github.com/grafana/grafana) [![codecov](https://codecov.io/gh/grafana/grafana/branch/master/graph/badge.svg)](https://codecov.io/gh/grafana/grafana)
================
[Website](https://grafana.com) |
[Twitter](https://twitter.com/grafana) |
[Community & Forum](https://community.grafana.com)
Grafana is an open source, feature rich metrics dashboard and graph editor for
Graphite, Elasticsearch, OpenTSDB, Prometheus and InfluxDB.
![](http://docs.grafana.org/assets/img/features/dashboard_ex1.png)
## Installation
Head to [docs.grafana.org](http://docs.grafana.org/installation/) and [download](https://grafana.com/get)
the latest release.
If you have any problems please read the [troubleshooting guide](http://docs.grafana.org/installation/troubleshooting/).
## Documentation & Support
Be sure to read the [getting started guide](http://docs.grafana.org/guides/gettingstarted/) 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](https://grafana.com/grafana/download)
### Dependencies
- Go (Latest Stable)
- NodeJS LTS
### Building the backend
```bash
go get github.com/grafana/grafana
cd $GOPATH/src/github.com/grafana/grafana
go run build.go setup
go run build.go build
```
### Building frontend assets
For this you need nodejs (v.6+).
To build the assets, rebuild on file change, and serve them by Grafana's webserver (http://localhost:3000):
```bash
npm install -g yarn
yarn install --pure-lockfile
yarn watch
```
Build the assets, rebuild on file change with Hot Module Replacement (HMR), and serve them by webpack-dev-server (http://localhost:3333):
```bash
yarn start
# OR set a theme
env GRAFANA_THEME=light yarn start
```
Note: HMR for Angular is not supported. If you edit files in the Angular part of the app, the whole page will reload.
Run tests
```bash
yarn jest
```
### Recompile backend on source change
To rebuild on source change.
```bash
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`).
### Building a Docker image
There are two different ways to build a Grafana docker image. If you're machine is setup for Grafana development and you run linux/amd64 you can build just the image. Otherwise, there is the option to build Grafana completely within Docker.
Run the image you have built using: `docker run --rm -p 3000:3000 grafana/grafana:dev`
#### Building on linux/amd64 (fast)
1. Build the frontend `go run build.go build-frontend`
2. Build the docker image `make build-docker-dev`
The resulting image will be tagged as `grafana/grafana:dev`
#### Building anywhere (slower)
Choose this option to build on platforms other than linux/amd64 and/or not have to setup the Grafana development environment.
1. `make build-docker-full` or `docker build -t grafana/grafana:dev .`
The resulting image will be tagged as `grafana/grafana:dev`
### 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:
1. grafana.ini
1. custom.ini
In your custom.ini uncomment (remove the leading `;`) sign. And set `app_mode = development`.
### Running tests
#### Frontend
Execute all frontend tests
```bash
yarn test
```
Writing & watching frontend tests
- Start watcher: `yarn jest`
- Jest will run all test files that end with the name ".test.ts"
#### Backend
```bash
# Run Golang tests using sqlite3 as database (default)
go test ./pkg/...
# Run Golang tests using mysql as database - convenient to use /docker/blocks/mysql_tests
GRAFANA_TEST_DB=mysql go test ./pkg/...
# Run Golang tests using postgres as database - convenient to use /docker/blocks/postgres_tests
GRAFANA_TEST_DB=postgres go test ./pkg/...
```
## 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!
## Plugin development
Checkout the [Plugin Development Guide](http://docs.grafana.org/plugins/developing/development/) and checkout the [PLUGIN_DEV.md](https://github.com/grafana/grafana/blob/master/PLUGIN_DEV.md) file for changes in Grafana that relate to
plugin development.
## License
Grafana is distributed under [Apache 2.0 License](https://github.com/grafana/grafana/blob/master/LICENSE.md).
没有合适的资源?快使用搜索试试~ 我知道了~
grafana-5.4.3-win-amd64.zip
共1421个文件
ts:566个
tsx:178个
html:149个
需积分: 9 26 下载量 180 浏览量
2019-02-24
11:31:04
上传
评论
收藏 47.59MB ZIP 举报
温馨提示
一款神奇的数据库处理图像化的小工具,此处为64位window版本
资源推荐
资源详情
资源评论
收起资源包目录
grafana-5.4.3-win-amd64.zip (1421个子文件)
grafana.dark.469095018b321ef1da7c.css 291KB
grafana.light.469095018b321ef1da7c.css 291KB
spectrum.css 13KB
timepicker.css 12KB
fontawesome-webfont.eot 162KB
grafana-icons.eot 29KB
grafana-server.exe 36.25MB
grafana-cli.exe 19.73MB
phantomjs.exe 17.73MB
load_big.gif 3KB
load.gif 723B
alert_notification.html 30KB
alert_notification_example.html 27KB
new_user_invite.html 20KB
invited_to_org.html 20KB
signup_started.html 19KB
welcome_on_signup.html 19KB
reset_password.html 18KB
index.html 15KB
index-template.html 14KB
editor.html 12KB
column_options.html 10KB
query.editor.html 9KB
alert_tab.html 9KB
ds_http_settings.html 8KB
query.editor.html 7KB
query.editor.html 7KB
editor.html 7KB
dashboard_import.html 7KB
shareModal.html 7KB
tab_display.html 7KB
config.html 6KB
bucket_agg.html 6KB
axes_editor.html 6KB
query.editor.html 6KB
metric_agg.html 6KB
editor.html 5KB
manage_dashboards.html 5KB
config.html 5KB
config.html 5KB
login.html 5KB
settings.html 5KB
editor.html 5KB
metrics_tab.html 5KB
history.html 4KB
display_editor.html 4KB
config.html 4KB
playlist.html 4KB
axes_editor.html 4KB
query.editor.html 4KB
editor.html 4KB
timepicker.html 3KB
query.editor.html 3KB
notification_edit.html 3KB
query.parameter.html 3KB
thresholds_form.html 3KB
edit_user.html 3KB
time_regions_form.html 3KB
config.html 3KB
dashnav.html 3KB
ds_edit.html 3KB
query.editor.html 3KB
tab_legend.html 3KB
query.editor.html 3KB
profile.html 3KB
plugin_edit.html 3KB
search.html 3KB
users.html 3KB
playlists.html 2KB
mappings.html 2KB
editor.html 2KB
query.aggregation.html 2KB
query.editor.html 2KB
search_results.html 2KB
config.html 2KB
module.html 2KB
signup_step2.html 2KB
annotations.editor.html 2KB
query_editor_row.html 2KB
reset_password.html 2KB
annotations.editor.html 2KB
notifications_list.html 2KB
config.html 2KB
valueSelectDropdown.html 2KB
error.html 2KB
error-template.html 2KB
module.html 2KB
annotations.editor.html 2KB
query.filter.html 2KB
annotations.editor.html 2KB
editor.html 2KB
panelgeneral.html 2KB
inspector.html 2KB
error.html 2KB
signup_invited.html 2KB
submenu.html 2KB
annotations.editor.html 2KB
annotations.editor.html 2KB
config.html 2KB
module.html 1KB
共 1421 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15
资源评论
血如铅汞气凝霜
- 粉丝: 4
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- week6.1.7z
- 移动机器人自主路径规划之RRTStar算法MATLAB实现代码
- 基于Python+OpenCV+FFmpeg实现自动识别电影剪辑+分析剪辑主题颜色+源码+文档(毕业设计&课程设计&项目开发)
- 基于python的二手商品交易平台 python+django开发的供需平台
- 微信小程序源码 侧滑布局小程序 (源码下载 +内附使用说明)
- heima-JUC-资料
- coreg_FSL.sh
- ROS+YOLOV8+SLAM智能小车导航实战(四、激光雷达+SLAM建图)
- 什么是决策树,有哪些适用场景?
- 基于python开发的口红色号识别程序+源码+开发文档+源码解析(毕业设计&课程设计&项目开发)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功