datadog_query/monitor

Types

pub type Comparator {
  Gt
  Gte
  Lt
  Lte
}

Constructors

  • Gt
  • Gte
  • Lt
  • Lte
pub type EvaluationWindow {
  Last1m
  Last5m
  Last10m
  Last15m
  Last30m
  Last1h
  Last2h
  Last4h
  Last1d
}

Constructors

  • Last1m
  • Last5m
  • Last10m
  • Last15m
  • Last30m
  • Last1h
  • Last2h
  • Last4h
  • Last1d
pub type Monitor {
  Monitor(
    aggregator: query.Aggregator,
    window: EvaluationWindow,
    query: query.Query,
    comparator: Comparator,
    threshold: Float,
  )
}

Constructors

Values

pub fn comparator_to_string(comparator: Comparator) -> String
pub fn to_string(monitor: Monitor) -> String
pub fn window_to_string(window: EvaluationWindow) -> String
Search Document