All Projects β†’ kurochan β†’ datadog_monitor2terraform

kurochan / datadog_monitor2terraform

Licence: MIT license
Import DataDog monitor rule and generate Terraform resource configuration

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to datadog monitor2terraform

dd-trace-php
[DEPRECATED] Use https://github.com/dataDog/dd-trace-php instead
Stars: ✭ 18 (+28.57%)
Mutual labels:  datadog
datadog-anomaly-detector
🐢 Anomaly detection system for Datadog multiple metrics
Stars: ✭ 19 (+35.71%)
Mutual labels:  datadog
datadog-to-terraform
Converts Datadog resource JSON into Terraform alarm code.
Stars: ✭ 191 (+1264.29%)
Mutual labels:  datadog
statsd.cr
A statsd client library for Crystal.
Stars: ✭ 32 (+128.57%)
Mutual labels:  datadog
terraform-aws-datadog-integration
Terraform module to configure Datadog AWS integration
Stars: ✭ 26 (+85.71%)
Mutual labels:  datadog
datadog-trace-agent
Datadog Trace Agent archive (pre-6.10.0)
Stars: ✭ 70 (+400%)
Mutual labels:  datadog
datalogger
DataLogger foi projetado para ser uma biblioteca simples de log com suporte a vΓ‘rios providers.
Stars: ✭ 46 (+228.57%)
Mutual labels:  datadog
passenger-datadog-monitor
Golang application for reporting Phusion Passenger stats to DataDog via statsD
Stars: ✭ 15 (+7.14%)
Mutual labels:  datadog
yake
A Rake-like DSL for writing AWS Lambda handlers
Stars: ✭ 146 (+942.86%)
Mutual labels:  datadog
datadog-api-client-python
Python client for the Datadog API
Stars: ✭ 44 (+214.29%)
Mutual labels:  datadog
dd-go-opentracing
[WIP] OpenTracing Tracer implementation for Datadog in Go
Stars: ✭ 22 (+57.14%)
Mutual labels:  datadog
vault-consul-monitoring
Sample project to explore monitoring Vault and Consul with telegraf/influxdb/grafana
Stars: ✭ 52 (+271.43%)
Mutual labels:  datadog
SwiftDog
This is an (un)official swift library of the datadog API! Many more features to come, but right now it supports sending metrics and events!
Stars: ✭ 26 (+85.71%)
Mutual labels:  datadog
natchez-extras
Integrations between Natchez, Doobie, HTTP4s, Log4cats and Datadog. Formerly called effect-utils.
Stars: ✭ 24 (+71.43%)
Mutual labels:  datadog
nebulous
The Kubefirst Open Source Platform
Stars: ✭ 122 (+771.43%)
Mutual labels:  datadog
datadog-tracer-js
[DEPRECATED] OpenTracing tracer implementation for Datadog in JavaScript.
Stars: ✭ 39 (+178.57%)
Mutual labels:  datadog
terraform-aws-datadog-forwarders
Terraform module which creates resources on AWS to forward logs/metrics to Datadog πŸ‡ΊπŸ‡¦
Stars: ✭ 30 (+114.29%)
Mutual labels:  datadog
heroku-datadog-drain-golang
Funnel metrics from multiple Heroku apps into DataDog using statsd.
Stars: ✭ 34 (+142.86%)
Mutual labels:  datadog
datadog-actions-metrics
Send GitHub Actions metrics to Datadog
Stars: ✭ 27 (+92.86%)
Mutual labels:  datadog
watchdog
DEPRECATED -- Github Bot for Datadog codification
Stars: ✭ 26 (+85.71%)
Mutual labels:  datadog

datadog_monitor2terraform

Import DataDog monitor rule and generate Terraform resource configuration

Setup

$ git clone https://github.com/kurochan/datadog_monitor2terraform
$ bundle install

Usage

$ ruby ./monitor-import.rb [monitor_name] [monitor_id]

example

$ export DATADOG_API_KEY='datadogapikeydatadogapikey'
$ export DATADOG_APP_KEY='datadogappkeydatadogappkeydatadogappkey'

$ ruby ./monitor-import.rb dynamodb_user_error_count 112233

resource "datadog_monitor" "dynamodb_user_error_count" {
  name               = "DynamoDB UserError count is above the Threshold !!"
  type               = "metric alert"
  message            = <<EOF
@slack-metric-alert DynamoDB UserError count is above the Threshold !!
EOF
  query = "sum(last_5m):sum:aws.dynamodb.user_errors{*} > 10"
  thresholds {
    warning = 5.0
    critical = 10.0
  }
  notify_no_data = false
  no_data_timeframe = 2
  renotify_interval = 0
  timeout_h = 0
  require_full_window = true
  notify_audit = false
  tags = []
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].