Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added redis_exporter module #45

Closed
wants to merge 1 commit into from

Conversation

vide
Copy link

@vide vide commented Jun 29, 2017

It installs https://github.com/oliver006/redis_exporter which
seems to be the most used redis exporter for Prometheus.
It uses prometheus::daemon although I had to redefine the archive
extraction code in the exporter class due to packaging differences.

It installs https://github.com/oliver006/redis_exporter which
seems to be the most used redis exporter for Prometheus.
It uses prometheus::daemon although I had to redefine the archive
extraction code in the exporter class due to packaging differences.
@vide vide force-pushed the redis_exporter branch from 95515a4 to e77d6f1 Compare June 29, 2017 12:37
# [*version*]
# The binary release version
class prometheus::redis_exporter (
$addr = $::prometheus::params::redis_exporter_redis_address,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add puppet4 datatypes to the parameters?

$release = "v${version}"

$real_download_url = pick($download_url, "${download_url_base}/download/${release}/${package_name}-${release}.${os}-${arch}.${download_extension}")
validate_bool($purge_config_dir)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can drop these validate_* calls, they're deprecated and replaced by datatypes

@bastelfreak
Copy link
Member

ping @vide

@vide
Copy link
Author

vide commented Sep 26, 2017

Sorry @bastelfreak still on 3.8 at work so I have to setup Puppet 4 to write and test the code, and currently have very little spare time :(

yackushevas added a commit to yackushevas/puppet-prometheus that referenced this pull request Feb 12, 2018
clone from voxpupuli#45
(added puppet4 datatypes and drop validate_* calls)
@bastelfreak
Copy link
Member

Duplicated by #157

@allangood
Copy link

Hi @vide and @bastelfreak ,

I've created this PR #224 to use "redis.file" parameter as default for this exporter.

Hope this could helps!
Regards.

@bastelfreak bastelfreak added enhancement New feature or request needs-rebase labels May 20, 2019
@bastelfreak
Copy link
Member

Hi,
I'm going to close this PR due to inactivity. Please reopen and rebase it, if you're still interested in it.

cegeka-jenkins pushed a commit to cegeka/puppet-prometheus that referenced this pull request Aug 28, 2019
clone from voxpupuli#45
(added puppet4 datatypes and drop validate_* calls)
Rovanion pushed a commit to Rovanion/puppet-prometheus that referenced this pull request May 5, 2021
clone from voxpupuli#45
(added puppet4 datatypes and drop validate_* calls)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-rebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants