Coder Social home page Coder Social logo

Comments (2)

rkul avatar rkul commented on July 17, 2024 3

Anomaly monitor is just query alert type of monitor.

resource "datadog_monitor" "transaction_processing_anomaly" {
  name = "Transaction processing anomaly"
  type = "query alert"
  query = "avg(last_4h):anomalies(sum:transactions{*}.as_count(), 'robust', 2, direction='both', alert_window='last_30m', interval=60, count_default_zero='false', seasonality='weekly') > 0.2"

  message = "Notify ${join(" ", var.alert_recipients)}"

  new_host_delay = "${var.new_host_delay}"
  notify_audit = "${var.notify_audit}"
  notify_no_data = "${var.notify_no_data}"
  no_data_timeframe = "${var.no_data_timeframe}"
  locked = "${var.locked}"
  include_tags = "${var.include_tags}"
  tags = "${local.system_tags}"
}

from terraform-provider-datadog.

epinault avatar epinault commented on July 17, 2024

Thanks! that makes sense now

from terraform-provider-datadog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.