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

feat: Rough in configuration files #15

Merged
merged 7 commits into from
Nov 8, 2024
Merged

feat: Rough in configuration files #15

merged 7 commits into from
Nov 8, 2024

Conversation

markstory
Copy link
Member

Rough in a yaml configuration file with environment overrides.

Using figment as it was used in uptime-checker and provides good ergonomics around merging configuration files with environment variables and writing tests for configuration parsing.

Refs #13

Rough in a yaml configuration file with environment overrides.

Using figment as it was used in uptime-checker and provides good
ergonomics around merging configuration files with environment variables
and writing tests for configuration parsing.

Refs #13
@markstory markstory requested a review from a team November 7, 2024 18:18
pub sentry_env: Option<String>,

/// The log level to filter logging to.
pub log_level: Option<LogLevel>,
Copy link
Member Author

Choose a reason for hiding this comment

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

We'll likely need logging formatters as well. I can connect that up when I build the log integration + sentry_sdk setup.

@john-z-yang
Copy link
Member

LGTM, let's apply the recommendation from clippy and I think it's good to go

@markstory markstory merged commit 57fed8c into main Nov 8, 2024
3 checks passed
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