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

[prometheus-exporters] Refactor systemd configuration #223

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

witekest
Copy link
Contributor

  • Unify configuration files for systemd services across distros.
  • Set Environment= instead of EnvironmentFile= for Apache exporter.
  • Use drop-id configuration file for Apache exporter.

@witekest witekest requested a review from ycedres August 22, 2024 15:31
@@ -0,0 +1,3 @@
[Service]
EnvironmentFile=
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason you want to keep this empty option in the config file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it is to set it empty in case the option is set elsewhere. I don't want to use the EnvironmentFile= anymore unless there is a clear need for hiding the value.

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

Successfully merging this pull request may close these issues.

2 participants