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

have a $service_name parameter for all prometheus-exporters #430

Merged

Conversation

unki
Copy link

@unki unki commented Feb 18, 2020

Currently there is a mixture of exporters having a $service_name parameter or not.
I've tried to make them all to look the same know.

@unki unki changed the title WIP: have a $service_name parameter for all prometheus-exporters have a $service_name parameter for all prometheus-exporters Feb 18, 2020
@unki unki force-pushed the add-service-name-parameter-to-all-exporters branch 2 times, most recently from 40e47f2 to d0b562c Compare February 20, 2020 20:17
@@ -63,6 +65,7 @@
String $log_level,
String $package_ensure,
String $package_name,
String $service_name,
Copy link
Member

Choose a reason for hiding this comment

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

for all $service_name parameters please use String[1] to prohibit empty empty strings

Copy link
Author

Choose a reason for hiding this comment

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

Sure, will adapt the PR. Shall I change it for $package_name too?

As far as I remember I always have just copied the package-name-line as base and adapted it for the service. So there might be a mixture of String and String[1] there too.

Copy link
Member

Choose a reason for hiding this comment

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

yes please :)

@unki unki force-pushed the add-service-name-parameter-to-all-exporters branch 2 times, most recently from c3becd8 to 303a043 Compare February 28, 2020 18:00
@bastelfreak
Copy link
Member

@unki please have a look at the failing travis jobs

@unki unki force-pushed the add-service-name-parameter-to-all-exporters branch from 303a043 to 14849dd Compare March 2, 2020 19:02
@unki
Copy link
Author

unki commented Mar 2, 2020

@unki please have a look at the failing travis jobs

ready to go now

@bastelfreak bastelfreak added the enhancement New feature or request label Mar 2, 2020
@bastelfreak
Copy link
Member

thanks for the work!

@bastelfreak bastelfreak merged commit 2565908 into voxpupuli:master Mar 2, 2020
Rovanion pushed a commit to Rovanion/puppet-prometheus that referenced this pull request May 5, 2021
…-to-all-exporters

have a $service_name parameter for all prometheus-exporters
@Elbandi
Copy link

Elbandi commented Jan 21, 2022

looks like, not all exporters have this $service_name as daemon name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants