modulesync 5.3.0
Fixes #614
This PR adds the smartctl prometheus exporter (https://github.com/prometheus-community/smartctl_exporter)
The exporter is largely based on similar prometheus-community exporters, and has been tested on both Ubuntu and Darwin systems.
<!--
Thank you for contributing to this project!
-->
<!--
Replace this comment with a description of your pull request.
-->
<!--
Replace this comment with the list of issues or n/a.
Use format:
Fixes #123
Fixes #124
-->
<!--
Thank you for contributing to this project!
-->
<!--
Replace this comment with a description of your pull request.
-->
<!--
Replace this comment with the list of issues or n/a.
Use format:
Fixes #123
Fixes #124
-->
This implements support for installing and configuring the prometheus JMX exporter.
Fixes #635
<!--
Thank you for contributing to this project!
-->
Currently most exporters have weird permissions after being installed (e.g. 3434:3434 ownership). For the exporters installed via daemon, there is already a patch applied, which sets the owner and group to root:0 for the executables, which still leaves files like "LICENSE" etc. with the wrong ownerships. I am adding a patch for all files, replacing the old patch.
Fixes #111
This PR addresses Issue #680
Makes statsd exporter mappings optional (so you can provide your own config)
Hello, this PR changes the way cnfscrapeuri is being escaped in manifests/haproxy_exporter.pp to avoid malformed string like the one being described in Issue #600.
Fixes #600
<!--
Thank you for contributing to this project!
-->
Add envvars and envfile_path variable
This allows Username and password to be passed through the ESUSERNAME and ESPASSWORD environment variables.
Ref: https://github.com/prometheus-community/elasticsearch_exporter/commit/80e25faf48ff6283cfcb9e560e44b0f7b20976ab
Move the URL releases to their own directory under /opt to create the possibility for Puppet to remove old releases that are no longer used.
<!--
Thank you for contributing to this project!
-->
In order to achieve that Puppet can clean up the directory in which Prometheus and the exporters are located, I have created a subdirectory under /opt
. This allows Puppet to purge the directory which would lead to unwanted behavior with /opt
.
However, this would reinstall all exporters once, which would require one-time manual clean-up. Then you can have that automatically.
So that the change is minimally invasive, I have the whole thing activated via a variable that is deactivated by default.
Please let me know if anything is missing or if my approach does not fit.
Fixes #625
Hello, this PR aims to set the mode to the folder containing the scrape files that are themselves already set to this parameter.
The goal is to ensure that the folder has the correct permissions.
Signed-off-by: Arnaud SINAYS sinaysarnaud@gmail.com
<!--
Thank you for contributing to this project!
-->
The nginx exporter logs the following deprecation warning after startup.
nginx-prometheus-exporter: the flag format is deprecated and will be removed in a future release, please use the new format: --nginx.scrape-uri
This PR intends to fix the deprecated flag format and use the current flag format with double dashes.
No issue opened so far.
Make sure alertmanager group can reach the config on ubuntu.
<!--
Thank you for contributing to this project!
-->
<!--
Replace this comment with a description of your pull request.
-->
<!--
Replace this comment with the list of issues or n/a.
Use format:
Fixes #123
Fixes #124
-->
<!--
Thank you for contributing to this project!
-->
Prometheus v2 toyaml missing linewidth option breaks puppetdb queries by adding new lines.
E.g. using:
```
...
$puppetdbqueries = {
'someapp' => "inventory { resources { type = 'Package' and title = 'someapp' } and ( ${environmentquery} ) }",
'node' => "inventory { resources { type = 'Package' and title = 'nodeexporter' } and ( ${environment_query} ) }",
}
class { 'prometheus::server':
...
scrapeconfigs => [
{
'jobname' => 'someapp',
'puppetdbsdconfigs' => [
{
'includeparameters' => false,
'port' => 8161,
'query' => $puppetdbqueries['some_app'],
```
Without line_width -1, line breaks are added breaking the puppetdb queries.
n/a
make it possible to also remove resources created by prometheus::daemon. This can then be passed through by all classes that use prometheus::daemon.
<!--
Thank you for contributing to this project!
-->
<!--
Add bin_dir support to postfix-exporter
-->
<!--
n/a
-->