Ryan McKinley ff6b8c5adc DataLinks: enable data links in Gauge, BarGauge and SingleStat2 panel (#18605) há 6 anos atrás
..
benchmarks 8e69d7731a moves benchmark script to devenv há 7 anos atrás
bulk-dashboards cf632c0f11 Fix bulk-dashboards path (#12978) há 7 anos atrás
bulk_alerting_dashboards fd5acdd857 target gfdev-prometheus datasource há 7 anos atrás
dev-dashboards ff6b8c5adc DataLinks: enable data links in Gauge, BarGauge and SingleStat2 panel (#18605) há 6 anos atrás
dev-dashboards-without-uid 8880829eda avoid infinite loop in the dashboard provisioner há 7 anos atrás
docker 1e5fc76601 LDAP: improve POSIX support (#18235) há 6 anos atrás
e2e-api-tests 8e5000fb31 moves files from /tests to more appropriate folders há 7 anos atrás
README.md b049b003f2 Build: allow dynamically change docker image (#18112) há 6 anos atrás
create_docker_compose.sh b049b003f2 Build: allow dynamically change docker image (#18112) há 6 anos atrás
dashboards.yaml fca5ee4bea Provisioning: Support FolderUid in Dashboard Provisioning Config (#16559) há 6 anos atrás
datasources.yaml eecd8d1064 Elasticsearch: Visualize logs in Explore (#17605) há 6 anos atrás
setup.sh 54f7920f0d Remove option r from ln command since its not working everywhere há 7 anos atrás

README.md

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

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