This file is used to list changes made in each version of grafana.
- Add
enabled
property toconfig_unified_alerting
resource grafana docs - Add
force_migration
property toconfig
resource to allow unified alerting to be rolled back - Migrate install resource to use new default repo URLs
- Remove deep_sort on ldap group_mappings (#417)
- Correct
config_ldap_group_mapping
documentation file name
- Set grafana_config_database
database_name
to translate toname
Standardise files with files in sous-chefs/repo-management
- Swithc to using reuable workflows
- Remove delivery folder
- Fix resource_config_path for generic_oauth
- Remove redundant conflicting config_writer notice from README
- Automatic config Hash path creation
- Automatic resource property fetching
- Automatic config template resource generation
- Add service resource
- Add LDAP log filters to the main config file
- Split log resource into seperate resources
- Split auth resource into seperate resources
- Update for Grafana v8.0 configuration
- Config accumulators are now persistent (explicit delete action required to remove)
- Standardise files with files in sous-chefs/repo-management
- Enable
unified_mode
for all resources
All Grafana API resources will be removed in a future version of this cookbook. Other tools e.g. Terraform are better suited for interacting with the API.
grafana_dashboard
,grafana_dashboard_template
,grafana_dashboard_backup
- These use the old dashboard name API which was removed in the latest 8.0 release of Grafana
grafana_datasource
,grafana_datasource_backup
grafana_organization
grafana_user
- Standardise cookbook files
- Standardise cookbook files
- Added
allow_loading_unsigned_plugins
management
- Fixed docuemntation showing the incorrect action
- Fixed a bug where ldap and grafana had hard coded paths.
- Removed duplicate attribute (#389)
- Added support for cookie_samesite settings (#383)
- Bugfix for undefined port variable (#381)
- Added support for HTTPS endpoint
- Added support for endpoints with url_path_prefix
- Fixed url_path_prefix property definition in resources
- Added support for use of config_writer to only generate config file when grafana is not present on host
- Fixed tests to not require
chef_sleep
- Added support for centos-8
- Added support for debian-10
- Added support for amazonlinux-2
- Removes support for debian-8
- Added support to retrieve org id by name
- Added support for backing up datasources and dashboards to file
- Added support for custom plugin URLs
- Added support for creating dashboards from template file
- Fixes bug that didn't create folder when using action update and it did not exist yet
- Fixes bug that didn't create datasource when using action update and it did not exist yet
- Fixes bug where installing a lot of plugins would cause grafana systemd service to fail to start
- Removes unecessary restart on plugin install
- Add in support for
min_refresh_interval
configuration to dashboard config. - Adds support for Ubuntu 20.04
- resolved cookstyle error: resources/config_server.rb:25:59 refactor:
ChefCorrectness/LazyEvalNodeAttributeDefaults
- Removes support for Ubuntu 16.04
- Removes support for centos 6
- Removes support for amazonlinux 1
- Improved stability in flakey tests using chef_sleep
- Minimum chef version is now 15.5
- Add in support for configuring rendering service
- Fixes bug in dashboard library where request would return nil
- Add in support for Azure AD authentication https://grafana.com/docs/grafana/latest/auth/azuread/
- Add in support for
cookie_secure
configuration option to security config. - Add in support for
login_maximum_lifetime_days
config option to set the cookie lifetime in days
- Adding support for change to Grafana session cookie name. See README for details
- Bugfix: fix the value types in the ldap.toml file
- Add tests to make sure ldap.toml file is matching requirements
- Bugfix: fix the value types in the ldap.toml file
- Allow multiple LDAP mapping with the same group_dn
- Adds role mapping to generic oauth resource https://grafana.com/docs/grafana/latest/auth/generic-oauth/#role-mapping
- Bugfix for grafana_folder resource
- Add organization support to grafana_folder
- Migrate CI system to Github Actions
- Fix sensitive property of config_writer resource
- Generate Folder and folder permissions using Custom Resources
-
Changed
ldap_config_servers
host
property from name property to required property -
Changed
ldap_config_group_mappings
group_dn
property from name_property to required property -
Added
instance_name
to above resources as name property -
Changed ldap config template from @grafana['ldap'] to @LDAP
-
Changed
grafana_config
- Property
restart_on_upgrade
now expectstrue
orfalse
- Property
-
Changed
grafana_config_database
- Property
type
now expects a symbol - Property
ssl_mode
now expects a symbol or true/false
- Property
-
Changed
grafana_config_remote_cache
- Property
remote_cache_type
now expects a symbol
- Property
-
Changed
grafana_config_server
- Property
protocol
now expects a symbol
- Property
-
Changed
grafana_config_session
- Property
session_provider
now expects a symbol
- Property
-
Changed
grafana_config_users
- Property
default_theme
now expects a symbol
- Property
-
Removed the requirement to handle services outside of resources,
config_writer
now restarts when requested -
Removed config directory from all config resource
-
Removed config file from all config resource
-
Removed cookbook from all config resource
-
Removed source from all config resource
-
Added resource called config_writer to output the config file
-
Added sensitive flag on config_writer
-
Added additional tests around
grafana_user
withproxy
authentication -
Added additional tests around all api resources under the
configuration
kitchen tests
- Fix issue with wrong setting being configured in the log section
- Add option for
serve_from_sub_path
in grafana_config_server
- Resolves issue with service restarts using external service resources
- Resolved the latest cookstyle issues
- Removed misconfigured duplicate router_logging String property from config_server resource
- Now correct Grafana version can be specified for installing/upgrading on Debian based systems.
- Fixed type specification of group_search_dns to be Array instead of incorrect String previously.
- Cookstyle fixes around
long_description
and header formats
- Fixed
address
appearing asbasic_auth_password
for internal metrics
- After modifying config files, grafana-server is restarted
- Fixed session
provider
- Added remote-cache config support
- Allow custom database names
- After modifying plugins, grafana-server is restarted
- Added property for
enable_embedding
inconfig_security
- Api helper will now retry for
EADDRNOTAVAIL
- grafana_plugin now works
- Migrated to new circleci orb
- Depreciated testing on fedora and opensuse
- Aligned grafana_config_auth
login_cookie_name
default to rest of cookbook - Add API resource support for proxy_auth
- Added PATCH support to the org library
- Fixed misspelling of
oath
tooauth
- Added feature to enable AWS S3 based external image storage.
- Fixes several issues in LDAP resources and template.
- Added support for Amazon Linux 2
- Migrate existing LWRP to Custom Resources
- Create new config resources to be able to configure the grafana instance
- Created new ldap config resources
- Create install resource to install Grafana, does not do any configuration
- Update repo location to new grafana repos (#220)
- Add login_cookie_name property to config_auth resource
- Add root_url property to config_server resource
- Added documentation for all new resources
- Add support for amazon. Chef 13 and later identifies platform_family as 'amazon': https://docs.chef.io/deprecations_ohai_amazon_linux.html
- Update to Grafana 5.3.4
- Drop support for Ubuntu 14.04
- Add support for Ubuntu 18.04
- Require Chef 13 or later
- Remove use_inline_resources and why_run statements from LWRPs which are no longer necessary with Chef 13+
- Remove the dependency on apt/yum cookbooks since we can setup apt/yum repositories with Chef 13
- Switch package installs to multi-package installs to speed up Chef runs
- Remove the 'name' LWRP properties since Chef creates these automatically for us
- Switch testing to InSpec / Delivery local mode
- Add codeowners, contributing.md, and codeofconduct.md files
- Fix failures in the ChefSpecs and simplify the specs
- Remove ChefSpec matchers since these are autogenerated by ChefSpec now
- Sped up ChefSpec runtimes by enabling caching
- Drop support for Debian 7 since it goes EOL in a few weeks
- Add exception handling for JSON::ParserError #155 by @ton31337
- new attribute node[grafana][restart_on_upgrade] #164 by InformatiQ
- Switch to
nginx
cookbook to create the nginx site instead of manually templating out the file
- Switch to linter
cookstyle
- Fix serverspec tests #180
- Upgrade grafana version
- Fix env file
- Fix a bug in error message handling code #80
- Fix Grafana package checksums #79
- Update Grafana default version to 2.1.2
- Ensure we're displaying better messages in some edge cases with HTTP requests #76
- Update Grafana default version to 2.1.1
- Make sure upgrading via deb file don't fail on configuration conflict #74
- Ensure installing a new version trigger a server restart
- Add packages checksum to ensure expected file and prevent unecessary re-download (see warnings section below)
- Installation package file only if present and/or modified (@arifcse019) #73
- Fix start service making it just be restarted at the end of the configuration (@HelioCampos) #71
- Improve error messages during dashboard creation #64
- Update ServerSpec test to check
:stderr
for curl output
When using the default's file installation, we've added checksum for package files if you set the grafana version to something different than the default you will also need set the checksum for the package you're expecting to use:
# Example if your Grafana version is different from the cookbook default
node['grafana']['version'] = '2.1.0'
# For debian platform family
node['grafana']['file']['checksum']['deb'] = 'b824c8358ff07f76f0d9eb35e9441f6f9e591819ad8bc70db4b0c904a8e7130e'
# For rhel platform family
node['grafana']['file']['checksum']['rpm'] = '1b436b286bd464e65eeb2a9b393da0986569fe483e1053b01c092b2e590d8399'
- Major overhaul of the cookbook to support Grafana 2.x
- Ensure setting
node['grafana']['listen_address']
tonil
render a valid nginx config file (@lanyonm) #39
- Update
elasticsearch
git url inBerksfile
for elasticsearch to elastic rename (@lanyonm) #38 - Allow nginx to listen on all interface when
node['grafana']['webserver_listen']
isnil
orfalse
(@BackSlasher) #37 - Fix base64 encoding appending a newline in nginx config for basic auth (@BackSlasher) #36
- Update
Grafana
to1.9.1
(@osigida) #32 - Interpolate "version" and "type" attributes to build grafana file url (Bernhard Köhler) #31 and (Olivier Bazoud) #29
- Add support for lambdas in datasources. This change makes it possible to evaluate derived attributes correctly. (Bernhard Köhler) #30 and #25
- Add support for Centos#28
- Allow configuration of
default_route
via attributes (Miguel Landaeta) #26 - Add support for grafana admin password option (Andrew Goktepe) #23
- Update
Grafana
to1.8.1
- Update
Grafana
to1.8.0
- Check for the presence of
node['grafana']['es_role']
andnode['grafana']['graphite_role']
instead ofnode['grafana']['es_server']
andnode['grafana']['graphite_server']
to know if we should search and replacedefault['grafana']['es_server']
anddefault['grafana']['graphite_server']
(Jonathon W. Marshall) #22
- Fix attributes doc in README
- Do not use
template
resource'shelpers
method to bring back olderChef
compatibility.
- Update
Grafana
to1.8.0-rc1
- Add
default['grafana']['window_title_prefix']
anddefault['grafana']['search_max_results']
config attributes.
Grafana 1.8.0-rc1
upgraded toJQuery
to2.1.1
and thus dropped support forInternet Explorer 7 and 8
- Update attributes in README for better Supermarket display
- Update
foodcritic
andrubocop
(Tim Smith) #21 - Remove mention of
zipfile
in README and attributes (Thanks to Gref Fitzgerald) - Fix
default['grafana']['install_type']
documentation to have the correct possible values:git
andfile
(Fred Hatfull) #20 - Fix
default['grafana']['webserver']
documentation not to includeapache
as possible value. (osigida) #19
- Update default
Grafana
to1.7.0
. (Greg Fitzgerald) #18.
- Update
Grafana
to1.7.1-rc1
. It fixes a regression introduced when merging #16. Thanks to Greg Fitzgerald for reporting it.
- Allow attribute configuration for datasources (Grégoire Seux) #16
- Update
ark
dependency to>= 0.7.2
and deprecation warning by usingstrip_component
(Grégoire Seux) #15
- Support newer
nginx
cookbook by specifyingtemplate: false
when enabling thegrafana
site (Grégoire Seux) #15
- Update default attributes to install Grafana 1.6.1 (Greg Fitzgerald) #14
-
config.js
data forgraphite
andelasticsearch
changed back to use: -
window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/_graphite"
window.location.protocol+"//"+window.location.hostname+":"+window.location.port
The idea is to allow external access without
CORS
problems or credential leaks inconfig.js
. -
Value for
default['grafana']['install_path']
changed from/opt
to/srv/apps
(Greg Fitzgerald) #13 -
Default installation uses zip file instead of git (Greg Fitzgerald) #13
-
Major cleanup and additional tests (Greg Fitzgerald) #13
- Releasing to opscode community site Thanks to @gregf in #12
config.js
was unintentionally changed to use node info to configure graphite and elasticsearch index.- Value for
default['grafana']['grafana_index']
changed fromgrafana-dash
tografana-index
(Greg Fitzgerald) #11 - Update grafana to 1.6.0 (Greg Fitzgerald) #11
- Update config.js based on the one in 1.5.4
- Update to grafana 1.5.4
- Update to new download URL
- Add some basic specs, foodcritic, knife test and enable TravisCI
- Fix error with undefined grafana_user variable Thanks to @klamontagne
- Fix timezone value quoting in config.js (Anatoliy D.) #9
- Update grafana to 1.5.2 (Grégoire Seux) #7
- Don't set normal attribute
node['nginx']['default_site_enabled']
(Grégoire Seux) #5 - Remove
"use strict";
fromconfig.js
as it seems to not be present in grafana releases, thanks to @iiro for proposing it in #1 - Don't search when
node['grafana']['es_server']
ornode['grafana']['graphite_server']
is set and don't use normal attributes (Grégoire Seux) #3 - Refactor and separate install in two recipes:
install_git
andinstall_file
(Grégoire Seux) #2
- Update file release to 1.5.1
- Update file release to 1.5.0
- Initial release of grafana