1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
use super::metadata::SlackChannel;

/// Monitoring section covering Sentry configurations
///
/// ```yaml
/// sentry:
///   slack: C12ABYZ78
///   silent: true
/// ```
#[derive(Debug, Default, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Sentry {
    pub slack: SlackChannel,
    pub silent: bool,
}