Merge pull request #376 from rwaffen/master
Add service restart on package change
Merge pull request #384 from bastelfreak/ubuntu
drop Ubuntu 14.04 support
Accept Sensitive mysqld_exporter cnf_password
Also convert template to `epp`.
Move mysqld_exporter cnf_* defaults into class
Group them together and use puppet-strings tags to document them. Previously, it was inconsistent with `cnf_socket` default in the class, but all others in hiera. This also meant it was not possible to group them together in the parameter list without getting a puppet-lint warning about optional parameters coming before required ones.
Merge pull request #386 from alexjfisher/sensitive_password
Accept `Sensitive` mysqld_exporter `cnf_password`
Merge pull request #387 from alexjfisher/fix_redis_exporter
Support redis_exporter version >= 1.0.0
Add scrape_job_labels parameter to exporters
Allow users to override the default `alias` label which is set on the exported scrape_jobs.
Merge pull request #388 from alexjfisher/scrape_job_labels
Add `scrape_job_labels` parameter to exporters
Add failing acceptance test for service restart
In systemd, the service is currently not being restarted after configuration changes. See GH-382 The acceptance test in this commit reconfigures prometheus with the admin API enabled and then attempts to access it. See https://prometheus.io/docs/prometheus/latest/querying/api/#tsdb-admin-apis
Fix systemd unit file not notifying the service
The [unreliable](https://puppet.com/docs/puppet/5.5/lang_defaults.html#behavior) resource default ``` File{ notify => Class['prometheus::run_service'] } ``` is replaced by a `$notify` variable that is set on the relevant file resources *and* `systemd::unit_file`. Some care was needed to make sure the reload behaviour wasn't broken. ie If the configuration change is just a new scrape job that is collected, the service should only be reloaded, not restarted. Fixes #382
Merge pull request #390 from alexjfisher/issue_382
Fix prometheus not restarting after config changes on systemd based systems
Update default redis_exporter version
This wasn't done in the last major release due to time constraints and `prometheus::redis_exporter` needing changes to support versions >= 1.0.0
Merge pull request #391 from alexjfisher/update_default_redis
Update default redis_exporter version to 1.3.4
Workaround 6.11.0 systemd regression
This commit is a workaround for https://tickets.puppetlabs.com/browse/PUP-10149 It can probably be reverted once 6.11.1 is out.
Merge pull request #393 from alexjfisher/puppet_6_11_0_workaround
Workaround 6.11.0 systemd regression
Merge pull request #392 from bastelfreak/prom
Update default Prometheus version from 2.11.1 to 2.14.0
Revert "Workaround 6.11.0 systemd regression"
This reverts commit 943735d.