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 config: set file_sd_config.d mode #634

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

Conversation

Arnoways
Copy link

@Arnoways Arnoways commented Sep 5, 2022

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 [email protected]

@TheMeier TheMeier force-pushed the dev/arnoways/file_sd_config_perms branch from 6ad0c1c to 4d84f7f Compare December 30, 2024 10:16
@TheMeier TheMeier added the enhancement New feature or request label Dec 30, 2024
@TheMeier TheMeier added this to the v16.0.0 milestone Dec 30, 2024
Copy link
Contributor

@TheMeier TheMeier left a comment

Choose a reason for hiding this comment

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

The default for $prometheus::config_mode is 0640 that is not really suitable for this directory

@TheMeier TheMeier removed this from the v16.0.0 milestone Dec 30, 2024
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.

2 participants