grafana/devenv
Alcides Viamontes E cff2be0d66 elasticsearch: add 7.x version support (#16646)
Adds a new version option 7.0+ (70 internally).
Version 7.0+ doesn't include document types in index mappings 
so support for handling this have been added.
Version 7.0+ returns number of hits in a different way so 
support for handling this have been added.
Version 7.0+ doesn't support sending 
max_concurrent_shard_requests in multisearch header so 
support for sending this in query string have been added.
Update elastic6 docker block and dashboards (devenv) to use 
6.7.1 images, filebeat index name is now filebeat-YYYY.MM.DD 
and dashboard include correct tags and links.
Add elastic7 docker block and provisioning (devenv).
Updates documentation regarding new version.

Closes #15622
2019-04-25 09:41:13 +02:00
..
benchmarks/ab moves benchmark script to devenv 2018-09-17 11:17:23 +02:00
bulk_alerting_dashboards target gfdev-prometheus datasource 2018-09-24 10:59:39 +02:00
bulk-dashboards Fix bulk-dashboards path (#12978) 2018-08-20 19:21:31 +02:00
dev-dashboards elasticsearch: add 7.x version support (#16646) 2019-04-25 09:41:13 +02:00
dev-dashboards-without-uid avoid infinite loop in the dashboard provisioner 2019-01-14 16:38:39 +01:00
docker elasticsearch: add 7.x version support (#16646) 2019-04-25 09:41:13 +02:00
e2e-api-tests moves files from /tests to more appropriate folders 2018-09-17 10:10:20 +02:00
create_docker_compose.sh moves docker/ to devenv/docker 2018-09-17 11:10:03 +02:00
dashboards.yaml Provisioning: Support FolderUid in Dashboard Provisioning Config (#16559) 2019-04-24 08:57:42 +02:00
datasources.yaml elasticsearch: add 7.x version support (#16646) 2019-04-25 09:41:13 +02:00
README.md docs(dev): Update docs about devenv dir (#16208) 2019-03-25 21:14:24 +01:00
setup.sh Remove option r from ln command since its not working everywhere 2018-09-25 14:02:55 +02:00

This folder contains useful scripts and configuration for...

  • Configuring dev datasources in Grafana
  • Configuring dev & test scenarios dashboards.
  • Creating docker-compose file with DBs and fake data.

Dev dashboards and data sources

./setup.sh

After restarting grafana server there should now be a number of datasources named gdev-<type> provisioned as well as a dashboard folder named gdev dashboards. This folder contains dashboard & panel features tests dashboards.

Dev dashboards

Please update these dashboards or make new ones as new panels & dashboards features are developed or new bugs are found. The dashboards are located in the devenv/dev-dashboards folder.

docker-compose with databases

./create_docker_compose.sh influxdb prometheus2 elastic5
docker-compose up

This command will create a docker compose file with specified databases configured and ready to run. Each database has a prepared image with some fake data ready to use. For available databases see docker/blocks directory. Mind that for some databases there are multiple images, for example there is prometheus_mac specifically for Macs or different version.