Galaxy
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

grafana

Source Code Build Status License: MIT

Setup Grafana observability platform.


Default Variables

grafana_admin_password

Default value

grafana_admin_password: secure

grafana_admin_user

Default value

grafana_admin_user: admin

grafana_auth_providers

Default value

grafana_auth_providers: []

grafana_bind_ip

Default value

grafana_bind_ip: 127.0.0.1

grafana_bind_port

Default value

grafana_bind_port: 61000

grafana_cache_provider

Either redis, memcached' or database`.

Default value

grafana_cache_provider: database

grafana_cache_provider_config

Cache connection string options:

  • database: use Grafana’s primary database
  • redis: Redis connection URI e.g. addr=127.0.0.1:6379,pool_size=100,db=0,ssl=false
  • memcache: Memcache connection URI e.g. 127.0.0.1:11211

Default value

grafana_cache_provider_config: _unset_

grafana_data_dir

Default value

grafana_data_dir: /var/lib/grafana

grafana_datasource_files

Default value

grafana_datasource_files:
  - grafana/datasources/*.yml.j2

grafana_db_name

Default value

grafana_db_name: grafana

grafana_db_password

Default value

grafana_db_password: secure

grafana_db_port

Default value

grafana_db_port: 5432

grafana_db_server

Default value

grafana_db_server: localhost

grafana_db_ssl_mode

Default value

grafana_db_ssl_mode: disable

grafana_db_type

Database provider to use. Available options are mysql, ‘postgres’ and sqlite3. Extended configuration options are only applies to non-sqlite provider.

Default value

grafana_db_type: sqlite3

grafana_db_user

Default value

grafana_db_user: pggrafana

grafana_instance_name

Default value

grafana_instance_name: grafana

grafana_listen_address

Default value

grafana_listen_address: http://localhost

grafana_log_dir

Default value

grafana_log_dir: /var/log/grafana

grafana_log_level

Default value

grafana_log_level: info

grafana_log_mode

Default value

grafana_log_mode:
  - console
  - file

grafana_log_providers

Default value

grafana_log_providers: []

grafana_login_form_enabled

Default value

grafana_login_form_enabled: true

grafana_logout_menu_enabled

Default value

grafana_logout_menu_enabled: true

grafana_packages_extra

Default value

grafana_packages_extra: []

grafana_plugin_dir

Default value

grafana_plugin_dir: '{{ grafana_data_dir }}/plugins'

grafana_secret_key

Should be replaced by your own secret.

Default value

grafana_secret_key: 1234567ABCDEFG

grafana_smtp_from

Default value

grafana_smtp_from: grafana@localhost

grafana_smtp_from_name

Default value

grafana_smtp_from_name: Grafana

grafana_smtp_host

Default value

grafana_smtp_host: _unset_

grafana_smtp_password

Default value

grafana_smtp_password: _unset_

grafana_smtp_port

Default value

grafana_smtp_port: 587

grafana_smtp_username

Default value

grafana_smtp_username: _unset_

Dependencies

None.