Enum shipcat_definitions::structs::newrelic::NewrelicIncidentPreference [−][src]
pub enum NewrelicIncidentPreference { PerPolicy, PerConditionAndTarget, PerCondition, }
Expand description
NewRelic AlertPolicy attribute that we configure once per Application (service@region) monitored
Details available at this link
Variants
Only one incident will be open at a time for the entire policy. This is the default.
- Fewest number of alert notifications
- Requires immediate action and closing the incidents to be effective
One incident will be open at a time for each condition in your policy.
- More alert notifications
- Useful for policies containing conditions that focus on entities that perform the same job; for example, hosts that all serve the same application(s)
An incident will be created for every violation in your policy.
- Most alert notifications
- Useful if you need to be notified of every violation or if you have an external system where you want to send alert notifications
Trait Implementations
impl Clone for NewrelicIncidentPreference
[src]
impl Clone for NewrelicIncidentPreference
[src]fn clone(&self) -> NewrelicIncidentPreference
[src]
fn clone(&self) -> NewrelicIncidentPreference
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for NewrelicIncidentPreference
[src]
impl Debug for NewrelicIncidentPreference
[src]impl Default for NewrelicIncidentPreference
[src]
impl Default for NewrelicIncidentPreference
[src]impl<'de> Deserialize<'de> for NewrelicIncidentPreference
[src]
impl<'de> Deserialize<'de> for NewrelicIncidentPreference
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Serialize for NewrelicIncidentPreference
[src]
impl Serialize for NewrelicIncidentPreference
[src]impl StructuralPartialEq for NewrelicIncidentPreference
[src]
Auto Trait Implementations
impl RefUnwindSafe for NewrelicIncidentPreference
impl Send for NewrelicIncidentPreference
impl Sync for NewrelicIncidentPreference
impl Unpin for NewrelicIncidentPreference
impl UnwindSafe for NewrelicIncidentPreference
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,