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

support the new scrape_config_files option, prom ~v2.45 #782

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

lukebigum
Copy link
Contributor

@lukebigum lukebigum commented Jun 21, 2024

Pull Request (PR) description

Adds some config to support loading scrape configs from disk, rather than be included in the main prometheus.yml file. This option came in at about Prom version 2.45 IIRC. Since it's so new, took steps to try make it not appear anywhere unless it was requested (it'll make old Prom fail to load).

Happy to take some direction on how to test it better.

@TheMeier
Copy link
Contributor

@lukebigum please update the REFERENCE.md (see https://voxpupuli.org/docs/how_to_run_tests/#referencemd-update)

@TheMeier TheMeier added this to the v15.1.0 milestone Jun 30, 2024
@TheMeier TheMeier added the enhancement New feature or request label Jun 30, 2024
@TheMeier TheMeier self-assigned this Jul 10, 2024
@lukebigum lukebigum force-pushed the scrape_config_files branch from d5b249d to 8d0a4d5 Compare July 11, 2024 09:28
@lukebigum lukebigum force-pushed the scrape_config_files branch 2 times, most recently from 70dcb26 to e541729 Compare July 11, 2024 11:19
@lukebigum
Copy link
Contributor Author

Finally figured out what the REFERENCE.md check was. Helps if I read the test output. All green on this one @TheMeier.

@TheMeier
Copy link
Contributor

Can you also please add a short test for this new functionality

@lukebigum lukebigum force-pushed the scrape_config_files branch from e541729 to ba31b9b Compare July 11, 2024 13:10
@lukebigum
Copy link
Contributor Author

... and some tests. :-)

@TheMeier
Copy link
Contributor

nice, thank you

@TheMeier TheMeier merged commit efcde35 into voxpupuli:master Jul 11, 2024
28 checks passed
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