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 loading monitor configs from a directory #1316

Merged
merged 4 commits into from
Jan 1, 2024
Merged

Conversation

jamesoff
Copy link
Owner

@jamesoff jamesoff commented Jan 1, 2024

Add a monitors_dir option, which loads all .ini files from that directory.

Resolves #1107

@jamesoff jamesoff changed the title Support loading monitor configs from a directory (#1107) Support loading monitor configs from a directory Jan 1, 2024
Copy link

codecov bot commented Jan 1, 2024

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (6a64fa6) 73.64% compared to head (09a756a) 73.61%.

Files Patch % Lines
simplemonitor/simplemonitor.py 78.57% 3 Missing ⚠️
simplemonitor/util/__init__.py 90.90% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1316      +/-   ##
===========================================
- Coverage    73.64%   73.61%   -0.04%     
===========================================
  Files           44       44              
  Lines         4144     4150       +6     
===========================================
+ Hits          3052     3055       +3     
- Misses        1092     1095       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jamesoff jamesoff merged commit 38605af into develop Jan 1, 2024
38 of 39 checks passed
@jamesoff jamesoff deleted the feature/confdir branch January 1, 2024 15:27
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.

Support a config ".d" directory and load all the files in it
1 participant