This cookbook provides a complete installation and configuration of Grafana. This includes the ability to manage dashboards, datasources, organizations, plugins and users with Chef via Custom Resources.
This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.
- Chef Client 13+
This cookbook officially supports and is tested against the following platforms:
- Ubuntu >= 16.04
- Debian >= 8
- CentOS/Redhat >= 6
PRs are welcome to add support for additional platforms.
We supply many different configuration resources, these all rely on the base config resource being called
For any LDAP the base config resource is: grafana_config_ldap
For any core configuration resources, the base config resource is: grafana_config
NOTE: Inorder to write the above configuration resources to the disk use grafana_config_writer at the end.
- grafana_config
- grafana_config_alerting
- grafana_config_auth
- grafana_config_auth_azuread
- grafana_config_dashboards
- grafana_config_database
- grafana_config_dataproxy
- grafana_config_emails
- grafana_config_enterprise
- grafana_config_explore
- grafana_config_log
- grafana_config_ldap
- grafana_config_ldap_group_mappings
- grafana_config_ldap_servers
- grafana_config_metrics
- grafana_config_panels
- grafana_config_paths
- grafana_config_plugins
- grafana_config_quota
- grafana_config_remote_cache
- grafana_config_rendering
- grafana_config_security
- grafana_config_server
- grafana_config_session
- grafana_config_smtp
- grafana_config_snapshots
- grafana_config_external_image_storage_s3
- grafana_config_users
- grafana_config_writer
- grafana_cookie_name
- grafana_dashboard
- grafana_dashboard_template
- grafana_dashboards_backup
- grafana_datasource
- grafana_datasources_backup
- grafana_folder
- grafana_install
- grafana_organization
- grafana_plugin
- grafana_user
The default cookie name changed from Grafana 5.4.5 to 6.0.0. The name change was from grafana_sess
to grafana_session
. This cookbook now defaults to grafana_session
. This can be a breaking change, so please be aware of this. Please see the grafana_cookie_name
documentation for details
This project exists thanks to all the people who contribute.
Thank you to all our backers!
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.