Brenda Harjala c9e566b156 Docs: Minor edits to the README and several md files (#19238) 6 år sedan
..
benchmarks 8e69d7731a moves benchmark script to devenv 7 år sedan
bulk-dashboards cf632c0f11 Fix bulk-dashboards path (#12978) 7 år sedan
bulk_alerting_dashboards fd5acdd857 target gfdev-prometheus datasource 7 år sedan
dev-dashboards fd21e0ba14 DataLinks: enable access to labels & field names (#18918) 6 år sedan
dev-dashboards-without-uid 8880829eda avoid infinite loop in the dashboard provisioner 7 år sedan
docker c9e566b156 Docs: Minor edits to the README and several md files (#19238) 6 år sedan
e2e-api-tests 8e5000fb31 moves files from /tests to more appropriate folders 7 år sedan
README.md c9e566b156 Docs: Minor edits to the README and several md files (#19238) 6 år sedan
create_docker_compose.sh b049b003f2 Build: allow dynamically change docker image (#18112) 6 år sedan
dashboards.yaml fca5ee4bea Provisioning: Support FolderUid in Dashboard Provisioning Config (#16559) 6 år sedan
datasources.yaml eecd8d1064 Elasticsearch: Visualize logs in Explore (#17605) 6 år sedan
setup.sh 54f7920f0d Remove option r from ln command since its not working everywhere 7 år sedan

README.md

This folder contains useful scripts and configuration for...

  • Configuring dev data sources 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 data sources 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

make devenv sources=influxdb,prometheus2,elastic5

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.

Some of the blocks support dynamic change of the image version used in docker file. The signature looks like this - make devenv sources=postgres,openldap name-of-block_version=9.2 -

make devenv sources=postgres,openldap postgres_version=9.2